deployer.tasks package

Submodules

deployer.tasks.deployment module

Defines celery tasks for deployment (e.g.: create, undeploy, wire, unwire)

(task)deployer.tasks.deployment.create(deployment)

Task for creating deployment.

Parameters:deployment (dict) – Deployment dictionary.
Returns:Newly created deploymentS
Return type:dict
(task)deployer.tasks.deployment.delete(name, version=None)

Deletes the application with given name and version.

Parameters:
  • name – Name of the application. Optionally it might also contain
  • version – Version of application to be undeployed. If none, all versions are undeployed.
Returns:

deployer.tasks.util module

exception deployer.tasks.util.TaskNotReadyException[source]

Bases: exceptions.Exception

deployer.tasks.util.as_dict(error)[source]

Creates a dictionary representation for a given error.

Parameters:error (dict or object) – Object representing error
deployer.tasks.util.check_or_raise_task_exception(result)[source]

Module contents