The karbor.api.v1.protectables Module

The karbor.api.v1.protectables Module

The protectables api.

class karbor.api.v1.protectables.ProtectableViewBuilder

Bases: karbor.api.common.ViewBuilder

Model a server API response as a python dictionary.

detail(request, instance)

Detailed view of a single instance.

detail_list(request, instances, instance_count=None)

Detailed view of a list of instances.

show(request, protectable_type)

Detailed view of a single protectable_type.

class karbor.api.v1.protectables.ProtectablesController

Bases: karbor.api.openstack.wsgi.Controller

The Protectables API controller for the OpenStack API.

index(req)

Returns a list of protectable_types,

transformed through view builder.

instances_index(req, protectable_type)

Return data about the given protectable_type.

instances_show(req, protectable_type, protectable_id)

Return a instance about the given protectable_type and id.

show(req, id)

Return data about the given protectable_type.

wsgi_actions = {}
wsgi_extensions = []
karbor.api.v1.protectables.check_policy(context, action)
karbor.api.v1.protectables.create_resource()
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.