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.
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.
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.
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.
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.
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.
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.
Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.