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>,
impl StructuralPartialEq for ConfigMapNodeConfigSource
Auto Trait Implementations§
impl Freeze for ConfigMapNodeConfigSource
impl RefUnwindSafe for ConfigMapNodeConfigSource
impl Send for ConfigMapNodeConfigSource
impl Sync for ConfigMapNodeConfigSource
impl Unpin for ConfigMapNodeConfigSource
impl UnwindSafe for ConfigMapNodeConfigSource
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)