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

pub struct ConfigMapNodeConfigSource {
    pub kubelet_config_key: String,
    pub name: String,
    pub namespace: String,
    pub resource_version: Option<String>,
    pub uid: Option<String>,
}

ConfigMapNodeConfigSource contains the information to reference a ConfigMap as a config source for the Node.

Fields

KubeletConfigKey declares which key of the referenced ConfigMap corresponds to the KubeletConfiguration structure This field is required in all cases.

Name is the metadata.name of the referenced ConfigMap. This field is required in all cases.

Namespace is the metadata.namespace of the referenced ConfigMap. This field is required in all cases.

ResourceVersion is the metadata.ResourceVersion of the referenced ConfigMap. This field is forbidden in Node.Spec, and required in Node.Status.

UID is the metadata.UID of the referenced ConfigMap. This field is forbidden in Node.Spec, and required in Node.Status.

Trait Implementations

impl Clone for ConfigMapNodeConfigSource
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for ConfigMapNodeConfigSource
[src]

Formats the value using the given formatter. Read more

impl Default for ConfigMapNodeConfigSource
[src]

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

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

Deserialize this value from the given Serde deserializer. Read more

impl Serialize for ConfigMapNodeConfigSource
[src]

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations