Struct google_api_proto::google::cloud::edgecontainer::v1::NodePool
source · pub struct NodePool {
pub name: String,
pub create_time: Option<Timestamp>,
pub update_time: Option<Timestamp>,
pub labels: BTreeMap<String, String>,
pub node_location: String,
pub node_count: i32,
pub machine_filter: String,
pub local_disk_encryption: Option<LocalDiskEncryption>,
pub node_version: String,
pub node_config: Option<NodeConfig>,
}
Expand description
A set of Kubernetes nodes in a cluster with common configuration and specification.
Fields§
§name: String
Required. The resource name of the node pool.
create_time: Option<Timestamp>
Output only. The time when the node pool was created.
update_time: Option<Timestamp>
Output only. The time when the node pool was last updated.
labels: BTreeMap<String, String>
Labels associated with this resource.
node_location: String
Name of the Google Distributed Cloud Edge zone where this node pool will be
created. For example: us-central1-edge-customer-a
.
node_count: i32
Required. The number of nodes in the pool.
machine_filter: String
Only machines matching this filter will be allowed to join the node pool.
The filtering language accepts strings like “name=
local_disk_encryption: Option<LocalDiskEncryption>
Optional. Local disk encryption options. This field is only used when enabling CMEK support.
node_version: String
Output only. The lowest release version among all worker nodes.
node_config: Option<NodeConfig>
Optional. Configuration for each node in the NodePool
Trait Implementations§
source§impl Message for NodePool
impl Message for NodePool
source§fn encoded_len(&self) -> usize
fn encoded_len(&self) -> usize
source§fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
source§fn encode_to_vec(&self) -> Vec<u8>where
Self: Sized,
fn encode_to_vec(&self) -> Vec<u8>where
Self: Sized,
source§fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
source§fn encode_length_delimited_to_vec(&self) -> Vec<u8>where
Self: Sized,
fn encode_length_delimited_to_vec(&self) -> Vec<u8>where
Self: Sized,
source§fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
source§fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
source§fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self
. Read moresource§fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self
.source§impl PartialEq for NodePool
impl PartialEq for NodePool
impl StructuralPartialEq for NodePool
Auto Trait Implementations§
impl Freeze for NodePool
impl RefUnwindSafe for NodePool
impl Send for NodePool
impl Sync for NodePool
impl Unpin for NodePool
impl UnwindSafe for NodePool
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
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
T
in a tonic::Request