qunicorn_core.api.deployment_api package

Submodules

qunicorn_core.api.deployment_api.deployment_view module

Module containing the routes of the deployments API.

class qunicorn_core.api.deployment_api.deployment_view.DeploymentDetailView

Bases: MethodView

API endpoint for single pre-deployments.

delete(deployment_id: int)

Delete single deployment by ID.

get(deployment_id: int)

Get detailed information for single deployed job-definition.

methods: t.ClassVar[t.Collection[str] | None] = {'DELETE', 'GET', 'PUT'}

The methods this view is registered for. Uses the same default (["GET", "HEAD", "OPTIONS"]) as route and add_url_rule by default.

put(body, deployment_id: int)

Update single deployment by ID.

class qunicorn_core.api.deployment_api.deployment_view.DeploymentIDView

Bases: MethodView

Deployments endpoint for collection of all deployed jobs.

get()

Get the list of deployments.

methods: t.ClassVar[t.Collection[str] | None] = {'GET', 'POST'}

The methods this view is registered for. Uses the same default (["GET", "HEAD", "OPTIONS"]) as route and add_url_rule by default.

post(body)

Create/Deploy new Job-definition.

class qunicorn_core.api.deployment_api.deployment_view.JobsByDeploymentView

Bases: MethodView

API endpoint for jobs of a specific deployment.

delete(deployment_id: str)

Delete all jobs with a specific deployment id.

get(deployment_id: str)

Get the details of all jobs with a specific deployment id.

methods: t.ClassVar[t.Collection[str] | None] = {'DELETE', 'GET'}

The methods this view is registered for. Uses the same default (["GET", "HEAD", "OPTIONS"]) as route and add_url_rule by default.

qunicorn_core.api.deployment_api.root module

Module containing the root endpoint of the DEPLOYMENT API.

class qunicorn_core.api.deployment_api.root.RootData(root: str)

Bases: object

root: str

Module contents

Module containing the TaskManager API.