keystone.version package

Submodules

keystone.version.controllers module

class keystone.version.controllers.AdminExtensions(*args, **kwargs)[source]

Bases: keystone.version.controllers.Extensions

extensions[source]
class keystone.version.controllers.Extensions(*args, **kwargs)[source]

Bases: keystone.common.wsgi.Application

Base extensions controller to be extended by public and admin API’s.

extensions[source]
get_extension_info(context, extension_alias)[source]
get_extensions_info(context)[source]
class keystone.version.controllers.MimeTypes[source]

Bases: object

JSON = 'application/json'
JSON_HOME = 'application/json-home'
class keystone.version.controllers.PublicExtensions(*args, **kwargs)[source]

Bases: keystone.version.controllers.Extensions

extensions[source]
class keystone.version.controllers.Version(version_type, routers=None)[source]

Bases: keystone.common.wsgi.Application

get_version_v2(context)[source]
get_version_v3(context)[source]
get_versions(context)[source]
keystone.version.controllers.register_version(version)[source]
keystone.version.controllers.request_v3_json_home(new_prefix)[source]
keystone.version.controllers.v3_mime_type_best_match(context)[source]

keystone.version.routers module

The only types of routers in this file should be ComposingRouters.

The routers for the backends should be in the backend-specific router modules. For example, the ComposableRouter for identity belongs in:

keystone.identity.routers
class keystone.version.routers.Extension(is_admin=True)[source]

Bases: keystone.common.wsgi.ComposableRouter

add_routes(mapper)[source]
class keystone.version.routers.VersionV2(description)[source]

Bases: keystone.common.wsgi.ComposableRouter

add_routes(mapper)[source]
class keystone.version.routers.VersionV3(description, routers)[source]

Bases: keystone.common.wsgi.ComposableRouter

add_routes(mapper)[source]
class keystone.version.routers.Versions(description)[source]

Bases: keystone.common.wsgi.ComposableRouter

add_routes(mapper)[source]

keystone.version.service module

keystone.version.service.admin_app_factory(*args, **kw)[source]
keystone.version.service.admin_version_app_factory(*args, **kw)[source]
keystone.version.service.fail_gracefully(f)[source]

Logs exceptions and aborts.

keystone.version.service.loadapp(conf, name)[source]
keystone.version.service.public_app_factory(*args, **kw)[source]
keystone.version.service.public_version_app_factory(*args, **kw)[source]
keystone.version.service.v3_app_factory(*args, **kw)[source]
keystone.version.service.warn_local_conf(f)[source]

Module contents

Table Of Contents

Previous topic

keystone.v2_crud package

Project Source

This Page