Struct k8s_openapi::v1_11::api::batch::v1::Job[][src]

pub struct Job {
    pub api_version: Option<String>,
    pub kind: Option<String>,
    pub metadata: Option<ObjectMeta>,
    pub spec: Option<JobSpec>,
    pub status: Option<JobStatus>,
}

Job represents the configuration of a single job.

Fields

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/api-conventions.md#resources

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/api-conventions.md#types-kinds

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

Specification of the desired behavior of a job. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status

Current status of a job. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status

Methods

impl Job
[src]

create a Job

Use CreateBatchV1NamespacedJobResponse to parse the HTTP response.

impl Job
[src]

delete collection of Job

Use DeleteBatchV1CollectionNamespacedJobResponse to parse the HTTP response.

impl Job
[src]

delete a Job

Use DeleteBatchV1NamespacedJobResponse to parse the HTTP response.

impl Job
[src]

list or watch objects of kind Job

Use ListBatchV1JobForAllNamespacesResponse to parse the HTTP response.

impl Job
[src]

list or watch objects of kind Job

Use ListBatchV1NamespacedJobResponse to parse the HTTP response.

impl Job
[src]

partially update the specified Job

Use PatchBatchV1NamespacedJobResponse to parse the HTTP response.

impl Job
[src]

partially update status of the specified Job

Use PatchBatchV1NamespacedJobStatusResponse to parse the HTTP response.

impl Job
[src]

read the specified Job

Use ReadBatchV1NamespacedJobResponse to parse the HTTP response.

impl Job
[src]

read status of the specified Job

Use ReadBatchV1NamespacedJobStatusResponse to parse the HTTP response.

impl Job
[src]

replace the specified Job

Use ReplaceBatchV1NamespacedJobResponse to parse the HTTP response.

impl Job
[src]

replace status of the specified Job

Use ReplaceBatchV1NamespacedJobStatusResponse to parse the HTTP response.

impl Job
[src]

watch individual changes to a list of Job

Use WatchBatchV1JobListForAllNamespacesResponse to parse the HTTP response.

impl Job
[src]

watch changes to an object of kind Job

Use WatchBatchV1NamespacedJobResponse to parse the HTTP response.

impl Job
[src]

watch individual changes to a list of Job

Use WatchBatchV1NamespacedJobListResponse to parse the HTTP response.

Trait Implementations

impl Clone for Job
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for Job
[src]

Formats the value using the given formatter. Read more

impl Default for Job
[src]

Returns the "default value" for a type. Read more

impl PartialEq for Job
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl<'de> Deserialize<'de> for Job
[src]

Deserialize this value from the given Serde deserializer. Read more

impl Serialize for Job
[src]

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations

impl Send for Job

impl Sync for Job