pub struct Task {
pub api_version: Option<String>,
pub kind: Option<String>,
pub metadata: Option<ObjectMeta>,
pub spec: Option<TaskSpec>,
pub status: Option<TaskStatus>,
}Expand description
Task represents a single run of a container to completion.
§Activities
This type is used in activities, which are methods you may call on this type or where this type is involved in. The list links the activity name, along with information about where it is used (one of request and response).
- tasks get namespaces (response)
Fields§
§api_version: Option<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.
kind: Option<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.
metadata: Option<ObjectMeta>Optional. Standard object’s metadata.
spec: Option<TaskSpec>Optional. Specification of the desired behavior of a task.
status: Option<TaskStatus>Output only. Current status of a task.