Struct google_api_proto::google::cloud::gkehub::v1::KubernetesMetadata
source · pub struct KubernetesMetadata {
pub kubernetes_api_server_version: String,
pub node_provider_id: String,
pub node_count: i32,
pub vcpu_count: i32,
pub memory_mb: i32,
pub update_time: Option<Timestamp>,
}
Expand description
KubernetesMetadata provides informational metadata for Memberships representing Kubernetes clusters.
Fields§
§kubernetes_api_server_version: String
Output only. Kubernetes API server version string as reported by
/version
.
node_provider_id: String
Output only. Node providerID as reported by the first node in the list of nodes on the Kubernetes endpoint. On Kubernetes platforms that support zero-node clusters (like GKE-on-GCP), the node_count will be zero and the node_provider_id will be empty.
node_count: i32
Output only. Node count as reported by Kubernetes nodes resources.
vcpu_count: i32
Output only. vCPU count as reported by Kubernetes nodes resources.
memory_mb: i32
Output only. The total memory capacity as reported by the sum of all Kubernetes nodes resources, defined in MB.
update_time: Option<Timestamp>
Output only. The time at which these details were last updated. This update_time is different from the Membership-level update_time since EndpointDetails are updated internally for API consumers.
Trait Implementations§
source§impl Clone for KubernetesMetadata
impl Clone for KubernetesMetadata
source§fn clone(&self) -> KubernetesMetadata
fn clone(&self) -> KubernetesMetadata
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for KubernetesMetadata
impl Debug for KubernetesMetadata
source§impl Default for KubernetesMetadata
impl Default for KubernetesMetadata
source§impl Message for KubernetesMetadata
impl Message for KubernetesMetadata
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 KubernetesMetadata
impl PartialEq for KubernetesMetadata
source§fn eq(&self, other: &KubernetesMetadata) -> bool
fn eq(&self, other: &KubernetesMetadata) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for KubernetesMetadata
Auto Trait Implementations§
impl Freeze for KubernetesMetadata
impl RefUnwindSafe for KubernetesMetadata
impl Send for KubernetesMetadata
impl Sync for KubernetesMetadata
impl Unpin for KubernetesMetadata
impl UnwindSafe for KubernetesMetadata
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