The karbor.api.v1.triggers Module

The triggers api.

class karbor.api.v1.triggers.TriggerViewBuilder

Bases: karbor.api.common.ViewBuilder

Model a trigger API response as a python dictionary.

detail(request, trigger)

Detailed view of a single trigger.

detail_list(request, triggers)

Detailed view of a list of triggers.

class karbor.api.v1.triggers.TriggersController

Bases: karbor.api.openstack.wsgi.Controller

The Triggers API controller for the OpenStack API.

create(req, body)

Creates a new trigger.

delete(req, id)

Delete a trigger.

index(req)

Returns a list of triggers, transformed through view builder.

show(req, id)

Return data about the given trigger.

update(req, id, body)

Update a trigger

wsgi_actions = {}
wsgi_extensions = []
karbor.api.v1.triggers.check_policy(context, action, target_obj=None)
karbor.api.v1.triggers.create_resource()