The karbor.api.v1.plans Module¶
The plans api.
-
class
karbor.api.v1.plans.PlanViewBuilder¶ Bases:
karbor.api.common.ViewBuilderModel a server API response as a python dictionary.
-
detail(request, plan)¶ Detailed view of a single plan.
-
detail_list(request, plans, plan_count=None)¶ Detailed view of a list of plans.
-
-
class
karbor.api.v1.plans.PlansController¶ Bases:
karbor.api.openstack.wsgi.ControllerThe Plans API controller for the OpenStack API.
-
create(req, body)¶ Creates a new plan.
-
delete(req, id)¶ Delete a plan.
-
index(req)¶ Returns a list of plans, transformed through view builder.
-
show(req, id)¶ Return data about the given plan.
-
update(req, id, body)¶ Update a plan.
-
validate_plan_resources(plan)¶
-
wsgi_actions= {}¶
-
wsgi_extensions= []¶
-
-
karbor.api.v1.plans.check_policy(context, action, target_obj=None)¶
-
karbor.api.v1.plans.create_resource()¶