The karbor.services.protection.api Module

The karbor.services.protection.api Module

Handles all requests relating to protection service.

class karbor.services.protection.api.API(db_driver=None)

Bases: karbor.db.base.Base

API for interacting with the protection manager.

delete(context, provider_id, checkpoint_id)
list_checkpoints(context, provider_id, marker, limit, sort_keys, sort_dirs, filters, offset)
list_protectable_dependents(context, protectable_id, protectable_type)
list_protectable_instances(context, protectable_type, marker, limit, sort_keys, sort_dirs, filters, offset, parameters)
list_protectable_types(context)
list_providers(context, marker, limit, sort_keys, sort_dirs, filters, offset)
protect(context, plan, checkpoint_properties)
restore(context, restore, restore_auth)
show_checkpoint(context, provider_id, checkpoint_id)
show_protectable_instance(context, protectable_type, protectable_id, parameters=None)
show_protectable_type(context, protectable_type)
show_provider(context, provider_id)
Creative Commons Attribution 3.0 License

Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.