Protectable Plugins¶
Project¶
-
class
karbor.services.protection.protectable_plugins.project.
ProjectProtectablePlugin
Bases:
karbor.services.protection.protectable_plugin.ProtectablePlugin
Keystone project protectable plugin
-
get_dependent_resources
(context, parent_resource) List dependent resource instances.
The listed resource instances are of type this plugin supported, and dependent by the given parent resource.
- Parameters
parent_resource (one of parent resource types.) – the parent resource instance.
- Returns
the list of dependent resource instances.
-
get_parent_resource_types
() Return the possible parent resource types.
Subclasses can implement as a classmethod
-
get_resource_type
() Return the resource type that this plugin supports.
Subclasses can implement as a classmethod
-
list_resources
(context, parameters=None) List resource instances of type this plugin supported.
- Returns
The list of resource instance.
-
show_resource
(context, resource_id, parameters=None) Show resource detail information.
-
Server¶
-
class
karbor.services.protection.protectable_plugins.server.
ServerProtectablePlugin
Bases:
karbor.services.protection.protectable_plugin.ProtectablePlugin
Nova server protectable plugin
-
get_dependent_resources
(context, parent_resource) List dependent resource instances.
The listed resource instances are of type this plugin supported, and dependent by the given parent resource.
- Parameters
parent_resource (one of parent resource types.) – the parent resource instance.
- Returns
the list of dependent resource instances.
-
get_parent_resource_types
() Return the possible parent resource types.
Subclasses can implement as a classmethod
-
get_resource_type
() Return the resource type that this plugin supports.
Subclasses can implement as a classmethod
-
list_resources
(context, parameters=None) List resource instances of type this plugin supported.
- Returns
The list of resource instance.
-
show_resource
(context, resource_id, parameters=None) Show resource detail information.
-
Volume¶
-
class
karbor.services.protection.protectable_plugins.volume.
VolumeProtectablePlugin
Bases:
karbor.services.protection.protectable_plugin.ProtectablePlugin
Cinder volume protectable plugin
-
get_dependent_resources
(context, parent_resource) List dependent resource instances.
The listed resource instances are of type this plugin supported, and dependent by the given parent resource.
- Parameters
parent_resource (one of parent resource types.) – the parent resource instance.
- Returns
the list of dependent resource instances.
-
get_parent_resource_types
() Return the possible parent resource types.
Subclasses can implement as a classmethod
-
get_resource_type
() Return the resource type that this plugin supports.
Subclasses can implement as a classmethod
-
list_resources
(context, parameters=None) List resource instances of type this plugin supported.
- Returns
The list of resource instance.
-
show_resource
(context, resource_id, parameters=None) Show resource detail information.
-
Image¶
-
class
karbor.services.protection.protectable_plugins.image.
ImageProtectablePlugin
Bases:
karbor.services.protection.protectable_plugin.ProtectablePlugin
Glance image protectable plugin
-
get_dependent_resources
(context, parent_resource) List dependent resource instances.
The listed resource instances are of type this plugin supported, and dependent by the given parent resource.
- Parameters
parent_resource (one of parent resource types.) – the parent resource instance.
- Returns
the list of dependent resource instances.
-
get_parent_resource_types
() Return the possible parent resource types.
Subclasses can implement as a classmethod
-
get_resource_type
() Return the resource type that this plugin supports.
Subclasses can implement as a classmethod
-
list_resources
(context, parameters=None) List resource instances of type this plugin supported.
- Returns
The list of resource instance.
-
show_resource
(context, resource_id, parameters=None) Show resource detail information.
-
Network¶
-
class
karbor.services.protection.protectable_plugins.network.
NetworkProtectablePlugin
Bases:
karbor.services.protection.protectable_plugin.ProtectablePlugin
Protectable plugin implementation for Network from Neutron.
-
get_dependent_resources
(context, parent_resource) List dependent resource instances.
The listed resource instances are of type this plugin supported, and dependent by the given parent resource.
- Parameters
parent_resource (one of parent resource types.) – the parent resource instance.
- Returns
the list of dependent resource instances.
-
get_parent_resource_types
() Return the possible parent resource types.
Subclasses can implement as a classmethod
-
get_resource_type
() Return the resource type that this plugin supports.
Subclasses can implement as a classmethod
-
list_resources
(context, parameters=None) List resource instances of type this plugin supported.
- Returns
The list of resource instance.
-
show_resource
(context, resource_id, parameters=None) Show resource detail information.
-
Database¶
-
class
karbor.services.protection.protectable_plugins.database.
DatabaseInstanceProtectablePlugin
Bases:
karbor.services.protection.protectable_plugin.ProtectablePlugin
Trove database instances protectable plugin
-
get_dependent_resources
(context, parent_resource) List dependent resource instances.
The listed resource instances are of type this plugin supported, and dependent by the given parent resource.
- Parameters
parent_resource (one of parent resource types.) – the parent resource instance.
- Returns
the list of dependent resource instances.
-
get_parent_resource_types
() Return the possible parent resource types.
Subclasses can implement as a classmethod
-
get_resource_type
() Return the resource type that this plugin supports.
Subclasses can implement as a classmethod
-
list_resources
(context, parameters=None) List resource instances of type this plugin supported.
- Returns
The list of resource instance.
-
show_resource
(context, resource_id, parameters=None) Show resource detail information.
-
Pod¶
-
class
karbor.services.protection.protectable_plugins.pod.
K8sPodProtectablePlugin
Bases:
karbor.services.protection.protectable_plugin.ProtectablePlugin
K8s pod protectable plugin
-
get_dependent_resources
(context, parent_resource) List dependent resource instances.
The listed resource instances are of type this plugin supported, and dependent by the given parent resource.
- Parameters
parent_resource (one of parent resource types.) – the parent resource instance.
- Returns
the list of dependent resource instances.
-
get_parent_resource_types
() Return the possible parent resource types.
Subclasses can implement as a classmethod
-
get_resource_type
() Return the resource type that this plugin supports.
Subclasses can implement as a classmethod
-
list_resources
(context, parameters=None) List resource instances of type this plugin supported.
- Returns
The list of resource instance.
-
show_resource
(context, resource_id, parameters=None) Show resource detail information.
-