Struct k8s_openapi::api::core::v1::ConfigMapNodeConfigSource
source · pub struct ConfigMapNodeConfigSource {
pub kubelet_config_key: String,
pub name: String,
pub namespace: String,
pub resource_version: Option<String>,
pub uid: Option<String>,
}
Expand description
ConfigMapNodeConfigSource contains the information to reference a ConfigMap as a config source for the Node. This API is deprecated since 1.22: https://git.k8s.io/enhancements/keps/sig-node/281-dynamic-kubelet-configuration
Fields§
§kubelet_config_key: String
KubeletConfigKey declares which key of the referenced ConfigMap corresponds to the KubeletConfiguration structure This field is required in all cases.
name: String
Name is the metadata.name of the referenced ConfigMap. This field is required in all cases.
namespace: String
Namespace is the metadata.namespace of the referenced ConfigMap. This field is required in all cases.
resource_version: Option<String>
ResourceVersion is the metadata.ResourceVersion of the referenced ConfigMap. This field is forbidden in Node.Spec, and required in Node.Status.
uid: Option<String>
UID is the metadata.UID of the referenced ConfigMap. This field is forbidden in Node.Spec, and required in Node.Status.
Trait Implementations§
source§impl Clone for ConfigMapNodeConfigSource
impl Clone for ConfigMapNodeConfigSource
source§fn clone(&self) -> ConfigMapNodeConfigSource
fn clone(&self) -> ConfigMapNodeConfigSource
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ConfigMapNodeConfigSource
impl Debug for ConfigMapNodeConfigSource
source§impl DeepMerge for ConfigMapNodeConfigSource
impl DeepMerge for ConfigMapNodeConfigSource
source§fn merge_from(&mut self, other: Self)
fn merge_from(&mut self, other: Self)
other
into self
.source§impl Default for ConfigMapNodeConfigSource
impl Default for ConfigMapNodeConfigSource
source§fn default() -> ConfigMapNodeConfigSource
fn default() -> ConfigMapNodeConfigSource
source§impl<'de> Deserialize<'de> for ConfigMapNodeConfigSource
impl<'de> Deserialize<'de> for ConfigMapNodeConfigSource
source§fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where D: Deserializer<'de>,
source§impl PartialEq<ConfigMapNodeConfigSource> for ConfigMapNodeConfigSource
impl PartialEq<ConfigMapNodeConfigSource> for ConfigMapNodeConfigSource
source§fn eq(&self, other: &ConfigMapNodeConfigSource) -> bool
fn eq(&self, other: &ConfigMapNodeConfigSource) -> bool
self
and other
values to be equal, and is used
by ==
.