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()
class karbor.services.protection.checkpoint.CheckpointCollection(bank, bank_lease=None)

Bases: object

create(plan, checkpoint_properties=None)
get(checkpoint_id)
list_ids(provider_id, limit=None, marker=None, plan_id=None, start_date=None, end_date=None, sort_dir=None)