Struct k8s_openapi::v1_8::api::batch::v2alpha1::CronJob[][src]

pub struct CronJob {
    pub api_version: Option<String>,
    pub kind: Option<String>,
    pub metadata: Option<ObjectMeta>,
    pub spec: Option<CronJobSpec>,
    pub status: Option<CronJobStatus>,
}

CronJob represents the configuration of a single cron 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 cron job, including the schedule. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status

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

Methods

impl CronJob
[src]

create a CronJob

Use CreateBatchV2alpha1NamespacedCronJobResponse to parse the HTTP response.

impl CronJob
[src]

delete collection of CronJob

Use DeleteBatchV2alpha1CollectionNamespacedCronJobResponse to parse the HTTP response.

impl CronJob
[src]

delete a CronJob

Use DeleteBatchV2alpha1NamespacedCronJobResponse to parse the HTTP response.

impl CronJob
[src]

list or watch objects of kind CronJob

Use ListBatchV2alpha1CronJobForAllNamespacesResponse to parse the HTTP response.

impl CronJob
[src]

list or watch objects of kind CronJob

Use ListBatchV2alpha1NamespacedCronJobResponse to parse the HTTP response.

impl CronJob
[src]

partially update the specified CronJob

Use PatchBatchV2alpha1NamespacedCronJobResponse to parse the HTTP response.

impl CronJob
[src]

partially update status of the specified CronJob

Use PatchBatchV2alpha1NamespacedCronJobStatusResponse to parse the HTTP response.

impl CronJob
[src]

read the specified CronJob

Use ReadBatchV2alpha1NamespacedCronJobResponse to parse the HTTP response.

impl CronJob
[src]

read status of the specified CronJob

Use ReadBatchV2alpha1NamespacedCronJobStatusResponse to parse the HTTP response.

impl CronJob
[src]

replace the specified CronJob

Use ReplaceBatchV2alpha1NamespacedCronJobResponse to parse the HTTP response.

impl CronJob
[src]

replace status of the specified CronJob

Use ReplaceBatchV2alpha1NamespacedCronJobStatusResponse to parse the HTTP response.

impl CronJob
[src]

watch individual changes to a list of CronJob

Use WatchBatchV2alpha1CronJobListForAllNamespacesResponse to parse the HTTP response.

impl CronJob
[src]

watch changes to an object of kind CronJob

Use WatchBatchV2alpha1NamespacedCronJobResponse to parse the HTTP response.

impl CronJob
[src]

watch individual changes to a list of CronJob

Use WatchBatchV2alpha1NamespacedCronJobListResponse to parse the HTTP response.

Trait Implementations

impl Clone for CronJob
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for CronJob
[src]

Formats the value using the given formatter. Read more

impl Default for CronJob
[src]

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

impl PartialEq for CronJob
[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 CronJob
[src]

Deserialize this value from the given Serde deserializer. Read more

impl Serialize for CronJob
[src]

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations

impl Send for CronJob

impl Sync for CronJob