Struct k8s_openapi::v1_7::kubernetes::pkg::api::v1::NodeSpec [−][src]
pub struct NodeSpec {
pub external_id: Option<String>,
pub pod_cidr: Option<String>,
pub provider_id: Option<String>,
pub taints: Option<Vec<Taint>>,
pub unschedulable: Option<bool>,
}NodeSpec describes the attributes that a node is created with.
Fields
external_id: Option<String>
External ID of the node assigned by some machine database (e.g. a cloud provider). Deprecated.
pod_cidr: Option<String>
PodCIDR represents the pod IP range assigned to the node.
provider_id: Option<String>
ID of the node assigned by the cloud provider in the format:
taints: Option<Vec<Taint>>
If specified, the node's taints.
unschedulable: Option<bool>
Unschedulable controls node schedulability of new pods. By default, node is schedulable. More info: https://kubernetes.io/docs/concepts/nodes/node/#manual-node-administration
Trait Implementations
impl Clone for NodeSpec[src]
impl Clone for NodeSpecfn clone(&self) -> NodeSpec[src]
fn clone(&self) -> NodeSpecReturns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
fn clone_from(&mut self, source: &Self)Performs copy-assignment from source. Read more
impl Debug for NodeSpec[src]
impl Debug for NodeSpecfn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl Default for NodeSpec[src]
impl Default for NodeSpecimpl PartialEq for NodeSpec[src]
impl PartialEq for NodeSpecfn eq(&self, other: &NodeSpec) -> bool[src]
fn eq(&self, other: &NodeSpec) -> boolThis method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, other: &NodeSpec) -> bool[src]
fn ne(&self, other: &NodeSpec) -> boolThis method tests for !=.
impl<'de> Deserialize<'de> for NodeSpec[src]
impl<'de> Deserialize<'de> for NodeSpecfn deserialize<D>(deserializer: D) -> Result<Self, D::Error> where
D: Deserializer<'de>, [src]
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error> where
D: Deserializer<'de>, Deserialize this value from the given Serde deserializer. Read more
impl Serialize for NodeSpec[src]
impl Serialize for NodeSpec