karbor.api.v1.plans
Module¶The plans api.
karbor.api.v1.plans.
PlanViewBuilder
¶Bases: karbor.api.common.ViewBuilder
Model 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.
karbor.api.v1.plans.
PlansController
¶Bases: karbor.api.openstack.wsgi.Controller
The 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_parameters
(context, 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
()¶Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.