Struct k8s_openapi::v1_11::api::core::v1::PodTemplate[][src]

pub struct PodTemplate {
    pub api_version: Option<String>,
    pub kind: Option<String>,
    pub metadata: Option<ObjectMeta>,
    pub template: Option<PodTemplateSpec>,
}

PodTemplate describes a template for creating copies of a predefined pod.

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

Template defines the pods that will be created from this pod template. https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status

Methods

impl PodTemplate
[src]

create a PodTemplate

Use CreateCoreV1NamespacedPodTemplateResponse to parse the HTTP response.

impl PodTemplate
[src]

delete collection of PodTemplate

Use DeleteCoreV1CollectionNamespacedPodTemplateResponse to parse the HTTP response.

impl PodTemplate
[src]

delete a PodTemplate

Use DeleteCoreV1NamespacedPodTemplateResponse to parse the HTTP response.

impl PodTemplate
[src]

list or watch objects of kind PodTemplate

Use ListCoreV1NamespacedPodTemplateResponse to parse the HTTP response.

impl PodTemplate
[src]

list or watch objects of kind PodTemplate

Use ListCoreV1PodTemplateForAllNamespacesResponse to parse the HTTP response.

impl PodTemplate
[src]

partially update the specified PodTemplate

Use PatchCoreV1NamespacedPodTemplateResponse to parse the HTTP response.

impl PodTemplate
[src]

read the specified PodTemplate

Use ReadCoreV1NamespacedPodTemplateResponse to parse the HTTP response.

impl PodTemplate
[src]

replace the specified PodTemplate

Use ReplaceCoreV1NamespacedPodTemplateResponse to parse the HTTP response.

impl PodTemplate
[src]

watch changes to an object of kind PodTemplate

Use WatchCoreV1NamespacedPodTemplateResponse to parse the HTTP response.

impl PodTemplate
[src]

watch individual changes to a list of PodTemplate

Use WatchCoreV1NamespacedPodTemplateListResponse to parse the HTTP response.

impl PodTemplate
[src]

watch individual changes to a list of PodTemplate

Use WatchCoreV1PodTemplateListForAllNamespacesResponse to parse the HTTP response.

Trait Implementations

impl Clone for PodTemplate
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for PodTemplate
[src]

Formats the value using the given formatter. Read more

impl Default for PodTemplate
[src]

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

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

Deserialize this value from the given Serde deserializer. Read more

impl Serialize for PodTemplate
[src]

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations

impl Send for PodTemplate

impl Sync for PodTemplate