Struct k8s_openapi_ext::corev1::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
sourceimpl Clone for ConfigMapNodeConfigSource
impl Clone for ConfigMapNodeConfigSource
sourcefn clone(&self) -> ConfigMapNodeConfigSource
fn clone(&self) -> ConfigMapNodeConfigSource
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for ConfigMapNodeConfigSource
impl Debug for ConfigMapNodeConfigSource
sourceimpl Default for ConfigMapNodeConfigSource
impl Default for ConfigMapNodeConfigSource
sourcefn default() -> ConfigMapNodeConfigSource
fn default() -> ConfigMapNodeConfigSource
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for ConfigMapNodeConfigSource
impl<'de> Deserialize<'de> for ConfigMapNodeConfigSource
sourcefn deserialize<D>(
deserializer: D
) -> Result<ConfigMapNodeConfigSource, <D as Deserializer<'de>>::Error>where
D: Deserializer<'de>,
fn deserialize<D>(
deserializer: D
) -> Result<ConfigMapNodeConfigSource, <D as Deserializer<'de>>::Error>where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
sourceimpl PartialEq<ConfigMapNodeConfigSource> for ConfigMapNodeConfigSource
impl PartialEq<ConfigMapNodeConfigSource> for ConfigMapNodeConfigSource
sourcefn eq(&self, other: &ConfigMapNodeConfigSource) -> bool
fn eq(&self, other: &ConfigMapNodeConfigSource) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourceimpl Serialize for ConfigMapNodeConfigSource
impl Serialize for ConfigMapNodeConfigSource
sourcefn serialize<S>(
&self,
serializer: S
) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>where
S: Serializer,
fn serialize<S>(
&self,
serializer: S
) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>where
S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for ConfigMapNodeConfigSource
Auto Trait Implementations
impl RefUnwindSafe for ConfigMapNodeConfigSource
impl Send for ConfigMapNodeConfigSource
impl Sync for ConfigMapNodeConfigSource
impl Unpin for ConfigMapNodeConfigSource
impl UnwindSafe for ConfigMapNodeConfigSource
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more