The karbor.services.protection.bank_plugin Module

class karbor.services.protection.bank_plugin.Bank(plugin)

Bases: object

delete_object(key)
get_object(key)
get_owner_id()
get_sub_section(section, is_writable=True)
is_writeable
list_objects(prefix=None, limit=None, marker=None, sort_dir=None)
update_object(key, value)
class karbor.services.protection.bank_plugin.BankPlugin(config=None)

Bases: object

delete_object(key)
get_object(key)
get_owner_id()
list_objects(prefix=None, limit=None, marker=None, sort_dir=None)
update_object(key, value)
class karbor.services.protection.bank_plugin.BankSection(bank, section, is_writable=True)

Bases: object

Bank Section compartmentalizes a section of a bank.

Bank section is used when an object wants to pass a section of a bank to another entity and make sure it is only capable of accessing part of it.

bank
delete_object(key)
get_object(key)
get_owner_id()
get_sub_section(prefix, is_writable=True)
is_writable
list_objects(prefix=None, limit=None, marker=None, sort_dir=None)
update_object(key, value)
class karbor.services.protection.bank_plugin.LeasePlugin

Bases: object

acquire_lease()
check_lease_validity()
renew_lease()
karbor.services.protection.bank_plugin.validate_dir(key)
karbor.services.protection.bank_plugin.validate_key(key)