REST Resource: namespaces.executions

Resource: Execution

Execution represents the configuration of a single execution. A execution an immutable resource that references a container image which is run to completion.

JSON representation
{
  "apiVersion": string,
  "kind": string,
  "metadata": {
    object (ObjectMeta)
  },
  "spec": {
    object (ExecutionSpec)
  },
  "status": {
    object (ExecutionStatus)
  }
}
Fields
apiVersion

string

Optional. APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources +optional

kind

string

Optional. Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds +optional

metadata

object (ObjectMeta)

Optional. Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata +optional

spec

object (ExecutionSpec)

Optional. Specification of the desired behavior of an execution. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status +optional

status

object (ExecutionStatus)

Output only. Current status of an execution. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status +optional

ExecutionStatus

ExecutionStatus represents the current state of a Execution.

JSON representation
{
  "observedGeneration": integer,
  "conditions": [
    {
      object (Condition)
    }
  ],
  "startTime": string,
  "completionTime": string,
  "runningCount": integer,
  "succeededCount": integer,
  "failedCount": integer,
  "cancelledCount": integer,
  "retriedCount": integer,
  "logUri": string
}
Fields
observedGeneration

integer

Optional. The 'generation' of the execution that was last processed by the controller.

conditions[]

object (Condition)

Optional. The latest available observations of an execution's current state. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/ +optional

startTime

string (Timestamp format)

Optional. Represents time when the execution started to run. It is not guaranteed to be set in happens-before order across separate operations. It is represented in RFC3339 form and is in UTC. +optional

A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".

completionTime

string (Timestamp format)

Optional. Represents time when the execution was completed. It is not guaranteed to be set in happens-before order across separate operations. It is represented in RFC3339 form and is in UTC. +optional

A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".

runningCount

integer

Optional. The number of actively running tasks. +optional

succeededCount

integer

Optional. The number of tasks which reached phase Succeeded. +optional

failedCount

integer

Optional. The number of tasks which reached phase Failed. +optional

cancelledCount

integer

Optional. The number of tasks which reached phase Cancelled. +optional

retriedCount

integer

Optional. The number of tasks which have retried at least once. +optional

logUri

string

Optional. URI where logs for this execution can be found in Cloud Console.

Methods

delete

Delete an execution.

get

Get information about an execution.

list

List executions.