Struct google_api_proto::google::container::v1::PrivateClusterConfig
source · pub struct PrivateClusterConfig {
pub enable_private_nodes: bool,
pub enable_private_endpoint: bool,
pub master_ipv4_cidr_block: String,
pub private_endpoint: String,
pub public_endpoint: String,
pub peering_name: String,
pub master_global_access_config: Option<PrivateClusterMasterGlobalAccessConfig>,
pub private_endpoint_subnetwork: String,
}
Expand description
Configuration options for private clusters.
Fields§
§enable_private_nodes: bool
Whether nodes have internal IP addresses only. If enabled, all nodes are given only RFC 1918 private addresses and communicate with the master via private networking.
enable_private_endpoint: bool
Whether the master’s internal IP address is used as the cluster endpoint.
master_ipv4_cidr_block: String
The IP range in CIDR notation to use for the hosted master network. This range will be used for assigning internal IP addresses to the master or set of masters, as well as the ILB VIP. This range must not overlap with any other ranges in use within the cluster’s network.
private_endpoint: String
Output only. The internal IP address of this cluster’s master endpoint.
public_endpoint: String
Output only. The external IP address of this cluster’s master endpoint.
peering_name: String
Output only. The peering name in the customer VPC used by this cluster.
master_global_access_config: Option<PrivateClusterMasterGlobalAccessConfig>
Controls master global access settings.
private_endpoint_subnetwork: String
Subnet to provision the master’s private endpoint during cluster creation. Specified in projects//regions//subnetworks/* format.
Trait Implementations§
source§impl Clone for PrivateClusterConfig
impl Clone for PrivateClusterConfig
source§fn clone(&self) -> PrivateClusterConfig
fn clone(&self) -> PrivateClusterConfig
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for PrivateClusterConfig
impl Debug for PrivateClusterConfig
source§impl Default for PrivateClusterConfig
impl Default for PrivateClusterConfig
source§impl Message for PrivateClusterConfig
impl Message for PrivateClusterConfig
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 PrivateClusterConfig
impl PartialEq for PrivateClusterConfig
source§fn eq(&self, other: &PrivateClusterConfig) -> bool
fn eq(&self, other: &PrivateClusterConfig) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for PrivateClusterConfig
Auto Trait Implementations§
impl Freeze for PrivateClusterConfig
impl RefUnwindSafe for PrivateClusterConfig
impl Send for PrivateClusterConfig
impl Sync for PrivateClusterConfig
impl Unpin for PrivateClusterConfig
impl UnwindSafe for PrivateClusterConfig
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