The karbor.services.protection.checkpoint
Module¶
-
class
karbor.services.protection.checkpoint.
Checkpoint
(checkpoint_section, indices_section, bank_lease, checkpoint_id)¶ Bases:
object
-
SUPPORTED_VERSIONS
= [‘0.9’]¶
-
VERSION
= ‘0.9’¶
-
checkpoint_section
¶
-
commit
()¶
-
classmethod
create_in_section
(checkpoints_section, indices_section, bank_lease, owner_id, plan, checkpoint_id=None, checkpoint_properties=None)¶
-
created_at
¶
-
delete
()¶
-
classmethod
get_by_section
(checkpoints_section, indices_section, bank_lease, checkpoint_id)¶
-
get_resource_bank_section
(resource_id)¶
-
id
¶
-
owner_id
¶
-
project_id
¶
-
protection_plan
¶
-
provider_id
¶
-
purge
()¶ Purge the index file of the checkpoint.
Can only be done if the checkpoint has no other files apart from the index.
-
reload_meta_data
()¶
-
resource_graph
¶
-
status
¶
-
to_dict
()¶
-