The ceilometer.api.hooks ModuleΒΆ

class ceilometer.api.hooks.ConfigHook[source]

Bases: pecan.hooks.PecanHook

Attach the configuration object to the request.

That allows controllers to get it.

static before(state)[source]
class ceilometer.api.hooks.DBHook[source]

Bases: pecan.hooks.PecanHook

before(state)[source]
static get_connection(purpose)[source]
class ceilometer.api.hooks.PipelineHook[source]

Bases: pecan.hooks.PecanHook

Create and attach a pipeline to the request.

That allows new samples to be posted via the /v2/meters/ API.

before(state)[source]
class ceilometer.api.hooks.TranslationHook[source]

Bases: pecan.hooks.PecanHook

after(state)[source]
before(state)[source]

Previous topic

The ceilometer.api Module

Next topic

The ceilometer.api.controllers.root Module

This Page