ModulesΒΆ
- snapm package
- Module contents
SelectionSelection.__firstlineno__Selection.__init__()Selection.__repr__()Selection.__static_attributes__Selection.__str__()Selection.all_attrsSelection.basenameSelection.check_valid_selection()Selection.from_cmd_args()Selection.indexSelection.is_null()Selection.is_single()Selection.mount_pointSelection.mount_pointsSelection.nameSelection.nr_snapshotsSelection.originSelection.sched_autoindexSelection.sched_calendarspecSelection.sched_default_size_policySelection.sched_enabledSelection.sched_gc_paramsSelection.sched_gc_typeSelection.sched_nameSelection.sched_runningSelection.sched_sourcesSelection.schedule_attrsSelection.snapshot_attrsSelection.snapshot_nameSelection.snapshot_set_attrsSelection.snapshot_uuidSelection.timestampSelection.uuid
SizePolicySizePolicyTypeSnapStatusSnapmArgumentErrorSnapmBusyErrorSnapmCalloutErrorSnapmErrorSnapmExistsErrorSnapmInvalidIdentifierErrorSnapmLimitErrorSnapmNoProviderErrorSnapmNoSpaceErrorSnapmNotFoundErrorSnapmParseErrorSnapmPathErrorSnapmPluginErrorSnapmRecursionErrorSnapmSizePolicyErrorSnapmStateErrorSnapmSystemErrorSnapmTimerErrorSnapshotSnapshot.__firstlineno__Snapshot.__init__()Snapshot.__static_attributes__Snapshot.__str__()Snapshot.activate()Snapshot.as_dict()Snapshot.autoactivateSnapshot.check_resize()Snapshot.check_revert()Snapshot.deactivate()Snapshot.delete()Snapshot.devpathSnapshot.freeSnapshot.indexSnapshot.invalidate_cache()Snapshot.json()Snapshot.mount_pointSnapshot.mountedSnapshot.nameSnapshot.originSnapshot.origin_mountedSnapshot.origin_optionsSnapshot.rename()Snapshot.resize()Snapshot.revert()Snapshot.sizeSnapshot.snapset_basenameSnapshot.snapset_nameSnapshot.snapshot_mountedSnapshot.snapshot_setSnapshot.sourceSnapshot.statusSnapshot.timeSnapshot.timestampSnapshot.to_dict()Snapshot.uuid
SnapshotSetSnapshotSet.__firstlineno__SnapshotSet.__init__()SnapshotSet.__static_attributes__SnapshotSet.__str__()SnapshotSet.activate()SnapshotSet.as_dict()SnapshotSet.autoactivateSnapshotSet.basenameSnapshotSet.datetimeSnapshotSet.deactivate()SnapshotSet.delete()SnapshotSet.devicesSnapshotSet.indexSnapshotSet.json()SnapshotSet.mount_pointsSnapshotSet.mountedSnapshotSet.nameSnapshotSet.nr_snapshotsSnapshotSet.origin_mountedSnapshotSet.rename()SnapshotSet.resize()SnapshotSet.revert()SnapshotSet.snapshot_by_mount_point()SnapshotSet.snapshot_by_source()SnapshotSet.snapshot_mountedSnapshotSet.snapshotsSnapshotSet.sourcesSnapshotSet.statusSnapshotSet.timeSnapshotSet.timestampSnapshotSet.to_dict()SnapshotSet.uuid
SubsystemFilterbool_to_yes_no()get_debug_mask()is_size_policy()parse_size_with_units()set_debug_mask()size_fmt()
- Submodules
- snapm.manager module
CalendarSpecGcPolicyGcPolicy.__eq__()GcPolicy.__firstlineno__GcPolicy.__hash__GcPolicy.__init__()GcPolicy.__repr__()GcPolicy.__static_attributes__GcPolicy.__str__()GcPolicy.disable()GcPolicy.enable()GcPolicy.enabledGcPolicy.evaluate()GcPolicy.from_cmd_args()GcPolicy.from_dict()GcPolicy.from_json()GcPolicy.has_paramsGcPolicy.json()GcPolicy.nameGcPolicy.paramsGcPolicy.runningGcPolicy.start()GcPolicy.stop()GcPolicy.to_dict()GcPolicy.type
GcPolicyTypeManagerManager.__firstlineno__Manager.__init__()Manager.__static_attributes__Manager._check_recursion()Manager._find_and_verify_plugins()Manager._find_next_index()Manager._load_plugin_config()Manager._set_autoactivate()Manager._snapset_from_name_or_uuid()Manager._validate_snapset_name()Manager.activate_snapshot_set()Manager.activate_snapshot_sets()Manager.by_nameManager.by_uuidManager.create_snapshot_set()Manager.create_snapshot_set_boot_entry()Manager.create_snapshot_set_revert_entry()Manager.deactivate_snapshot_set()Manager.deactivate_snapshot_sets()Manager.delete_snapshot_set()Manager.delete_snapshot_sets()Manager.discover_snapshot_sets()Manager.find_snapshot_sets()Manager.find_snapshots()Manager.pluginsManager.rename_snapshot_set()Manager.resize_snapshot_set()Manager.revert_snapshot_set()Manager.revert_snapshot_sets()Manager.set_autoactivate()Manager.snapshot_setsManager.split_snapshot_set()
ScheduleSchedule.__eq__()Schedule.__firstlineno__Schedule.__hash__Schedule.__init__()Schedule.__repr__()Schedule.__static_attributes__Schedule.__str__()Schedule.autoindexSchedule.bootSchedule.calendarspecSchedule.default_size_policySchedule.delete_config()Schedule.disable()Schedule.enable()Schedule.enabledSchedule.from_dict()Schedule.from_file()Schedule.gc()Schedule.gc_policySchedule.json()Schedule.nameSchedule.next_elapseSchedule.revertSchedule.runningSchedule.sourcesSchedule.start()Schedule.stop()Schedule.to_dict()Schedule.write_config()
- snapm.manager._boot module
BootCacheBootEntryCacheFstabREVERT_ARGSNAPSET_ARG_DBUS_MACHINE_ID_DEV_PREFIX_MACHINE_ID_OS_RELEASE_build_snapset_mount_list()_build_swap_list()_create_boom_boot_entry()_create_default_os_profile()_delete_boot_entry()_find_snapset_root()_get_machine_id()_get_uts_release()check_boom_config()create_snapset_boot_entry()create_snapset_revert_entry()delete_snapset_boot_entry()delete_snapset_revert_entry()get_device_path()
- snapm.manager._calendar module
- snapm.manager._schedule module
GcPolicyGcPolicy.__eq__()GcPolicy.__firstlineno__GcPolicy.__hash__GcPolicy.__init__()GcPolicy.__repr__()GcPolicy.__static_attributes__GcPolicy.__str__()GcPolicy.disable()GcPolicy.enable()GcPolicy.enabledGcPolicy.evaluate()GcPolicy.from_cmd_args()GcPolicy.from_dict()GcPolicy.from_json()GcPolicy.has_paramsGcPolicy.json()GcPolicy.nameGcPolicy.paramsGcPolicy.runningGcPolicy.start()GcPolicy.stop()GcPolicy.to_dict()GcPolicy.type
GcPolicyParamsGcPolicyTypeScheduleSchedule.__eq__()Schedule.__firstlineno__Schedule.__hash__Schedule.__init__()Schedule.__repr__()Schedule.__static_attributes__Schedule.__str__()Schedule.autoindexSchedule.bootSchedule.calendarspecSchedule.default_size_policySchedule.delete_config()Schedule.disable()Schedule.enable()Schedule.enabledSchedule.from_dict()Schedule.from_file()Schedule.gc()Schedule.gc_policySchedule.json()Schedule.nameSchedule.next_elapseSchedule.revertSchedule.runningSchedule.sourcesSchedule.start()Schedule.stop()Schedule.to_dict()Schedule.write_config()
- snapm.manager._timers module
- snapm.command module
PR_PLUGINPR_SCHEDULEPR_SNAPSETPR_SNAPSHOTReportObj_activate_cmd()_add_autoactivate_args()_add_create_args()_add_identifier_args()_add_json_arg()_add_plugin_subparser()_add_policy_args()_add_report_args()_add_schedule_config_arg()_add_schedule_subparser()_add_snapset_subparser()_add_snapshot_subparser()_autoactivate_cmd()_create_cmd()_deactivate_cmd()_delete_cmd()_do_print_type()_expand_fields()_generic_list_cmd()_list_cmd()_log_debug_command()_plugin_list_cmd()_prune_cmd()_rename_cmd()_report_obj_types_report_opts_from_args()_resize_cmd()_revert_cmd()_schedule_create_cmd()_schedule_delete_cmd()_schedule_disable_cmd()_schedule_edit_cmd()_schedule_enable_cmd()_schedule_gc_cmd()_schedule_list_cmd()_schedule_show_cmd()_show_cmd()_snapshot_activate_cmd()_snapshot_autoactivate_cmd()_snapshot_deactivate_cmd()_snapshot_list_cmd()_snapshot_show_cmd()_split_cmd()_str_indent()create_schedule()create_snapset()delete_schedule()delete_snapset()disable_schedule()edit_schedule()enable_schedule()gc_schedule()main()print_plugins()print_schedules()print_snapsets()print_snapshots()prune_snapset()rename_snapset()resize_snapset()revert_snapset()set_debug()setup_logging()show_schedules()show_snapsets()show_snapshots()shutdown_logging()split_snapset()
- snapm.report module
- snapm.manager.plugins module
PluginPlugin.__firstlineno__Plugin.__init__()Plugin.__static_attributes__Plugin._log_debug()Plugin._log_error()Plugin._log_info()Plugin._log_warn()Plugin.activate_snapshot()Plugin.can_snapshot()Plugin.check_create_snapshot()Plugin.check_resize_snapshot()Plugin.check_revert_snapshot()Plugin.create_snapshot()Plugin.deactivate_snapshot()Plugin.delete_snapshot()Plugin.discover_snapshots()Plugin.end_transaction()Plugin.info()Plugin.namePlugin.origin_from_mount_point()Plugin.rename_snapshot()Plugin.resize_snapshot()Plugin.revert_snapshot()Plugin.set_autoactivate()Plugin.snapshot_classPlugin.start_transaction()Plugin.version
decode_mount_point()device_from_mount_point()encode_mount_point()format_snapshot_name()mount_point_space_used()parse_snapshot_name()
- Module contents