Enum gapi_grpc::google::container::v1beta1::workload_metadata_config::NodeMetadata [−][src]
pub enum NodeMetadata { Unspecified, Secure, Expose, GkeMetadataServer, }
NodeMetadata is the configuration for if and how to expose the node metadata to the workload running on the node.
Variants
Not set.
Prevent workloads not in hostNetwork from accessing certain VM metadata, specifically kube-env, which contains Kubelet credentials, and the instance identity token.
Metadata concealment is a temporary security solution available while the bootstrapping process for cluster nodes is being redesigned with significant security improvements. This feature is scheduled to be deprecated in the future and later removed.
Expose all VM metadata to pods.
Run the GKE Metadata Server on this node. The GKE Metadata Server exposes a metadata API to workloads that is compatible with the V1 Compute Metadata APIs exposed by the Compute Engine and App Engine Metadata Servers. This feature can only be enabled if Workload Identity is enabled at the cluster level.
Implementations
impl NodeMetadata
[src][−]
pub fn is_valid(value: i32) -> bool
[src][−]
Returns true
if value
is a variant of NodeMetadata
.
pub fn from_i32(value: i32) -> Option<NodeMetadata>
[src][−]
Converts an i32
to a NodeMetadata
, or None
if value
is not a valid variant.
Trait Implementations
impl Clone for NodeMetadata
[src][+]
impl Copy for NodeMetadata
[src]
impl Debug for NodeMetadata
[src][+]
impl Default for NodeMetadata
[src][+]
impl Eq for NodeMetadata
[src]
impl From<NodeMetadata> for i32
[src][+]
impl Hash for NodeMetadata
[src][+]
impl Ord for NodeMetadata
[src][+]
impl PartialEq<NodeMetadata> for NodeMetadata
[src][+]
impl PartialOrd<NodeMetadata> for NodeMetadata
[src][+]
impl StructuralEq for NodeMetadata
[src]
impl StructuralPartialEq for NodeMetadata
[src]
Auto Trait Implementations
impl RefUnwindSafe for NodeMetadata
impl Send for NodeMetadata
impl Sync for NodeMetadata
impl Unpin for NodeMetadata
impl UnwindSafe for NodeMetadata
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src][+]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src][+]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src][+]
T: ?Sized,
impl<Q, K> Equivalent<K> for Q where
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized,
[src][+]
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized,
impl<T> From<T> for T
[src][+]
impl<T> Instrument for T
[src][+]
impl<T> Instrument for T
[src][+]
impl<T, U> Into<U> for T where
U: From<T>,
[src][+]
U: From<T>,
impl<T> IntoRequest<T> for T
[src][+]
impl<T> ToOwned for T where
T: Clone,
[src][+]
T: Clone,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src][+]
U: Into<T>,
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src][+]
U: TryFrom<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
[src][+]
V: MultiLane<T>,