The karbor.api.v1.providers
Module¶
The providers api.
-
class
karbor.api.v1.providers.
CheckpointViewBuilder
¶ Bases:
karbor.api.common.ViewBuilder
Model a server API response as a python dictionary.
-
detail
(request, checkpoint)¶ Detailed view of a single checkpoint.
-
detail_list
(request, checkpoints, checkpoint_count=None)¶ Detailed view of a list of checkpoints.
-
-
class
karbor.api.v1.providers.
ProviderViewBuilder
¶ Bases:
karbor.api.common.ViewBuilder
Model a server API response as a python dictionary.
-
detail
(request, provider)¶ Detailed view of a single provider.
-
detail_list
(request, providers, provider_count=None)¶ Detailed view of a list of providers.
-
-
class
karbor.api.v1.providers.
ProvidersController
¶ Bases:
karbor.api.openstack.wsgi.Controller
The Providers API controller for the OpenStack API.
-
checkpoints_create
(req, provider_id, body)¶ Creates a new checkpoint.
-
checkpoints_delete
(req, provider_id, checkpoint_id)¶ Delete a checkpoint.
-
checkpoints_index
(req, provider_id)¶ Returns a list of checkpoints, transformed through view builder.
-
checkpoints_show
(req, provider_id, checkpoint_id)¶ Return data about the given checkpoint id.
-
index
(req)¶ Returns a list of providers, transformed through view builder.
-
show
(req, id)¶ Return data about the given provider id.
-
wsgi_actions
= {}¶
-
wsgi_extensions
= []¶
-
-
karbor.api.v1.providers.
check_policy
(context, action)¶
-
karbor.api.v1.providers.
create_resource
()¶