Contexts and Executions¶
Manage contexts and executions on the server.
Methods available on client.contexts
:
-
class
renga.models.deployer.
ContextCollection
(client=None)[source]¶ Represent projects on the server.
Create representation of objects on the server.
-
list
()¶ Return list if the collection is iterable.
-
Context objects¶
-
class
renga.models.deployer.
Context
[source]¶ Represent a deployer context.
Create representation of object on the server.
-
executions
¶ Return the collection of context executions.
-
id
¶ The identifier of the object.
-
image
¶ Image used for the executions.
-
labels
¶ Return the context labels.
-
lineage
¶ Return the lineage of this context.
-
spec
¶ Specification of the execution context.
-
vertex_id
¶ Graph vertex id.
-
Executions¶
Execution objects¶
-
class
renga.models.deployer.
Execution
[source]¶ Represent a context execution.
Create representation of object on the server.
-
context
¶ Return the related context.
-
context_id
¶ Return the associated context id.
-
engine
¶ Return the execution engine.
-
id
¶ The identifier of the object.
-
ports
¶ Return runtime port mapping.
-
url
¶ Return a URL for accessing the running container.
-