pub struct StandardManagementConfig {
pub network: String,
pub subnet: String,
pub master_ipv4_cidr_block: String,
pub cluster_cidr_block: String,
pub services_cidr_block: String,
pub cluster_named_range: String,
pub services_named_range: String,
pub master_authorized_networks_config: Option<MasterAuthorizedNetworksConfig>,
}
Expand description
Configuration of the standard (GKE) cluster management.
Fields§
§network: String
Optional. Name of the VPC Network to put the GKE cluster and nodes in. The VPC will be created if it doesn’t exist.
subnet: String
Optional. Specifies the subnet that the interface will be part of. Network key must be specified and the subnet must be a subnetwork of the specified network.
master_ipv4_cidr_block: String
Optional. The /28 network that the masters will use. It should be free within the network.
cluster_cidr_block: String
Optional. The IP address range for the cluster pod IPs. Set to blank to have a range chosen with the default size. Set to /netmask (e.g. /14) to have a range chosen with a specific netmask. Set to a CIDR notation (e.g. 10.96.0.0/14) from the RFC-1918 private networks (e.g. 10.0.0.0/8, 172.16.0.0/12, 192.168.0.0/16) to pick a specific range to use.
services_cidr_block: String
Optional. The IP address range for the cluster service IPs. Set to blank to have a range chosen with the default size. Set to /netmask (e.g. /14) to have a range chosen with a specific netmask. Set to a CIDR notation (e.g. 10.96.0.0/14) from the RFC-1918 private networks (e.g. 10.0.0.0/8, 172.16.0.0/12, 192.168.0.0/16) to pick a specific range to use.
cluster_named_range: String
Optional. The name of the existing secondary range in the cluster’s subnetwork to use for pod IP addresses. Alternatively, cluster_cidr_block can be used to automatically create a GKE-managed one.
services_named_range: String
Optional. The name of the existing secondary range in the cluster’s subnetwork to use for service ClusterIPs. Alternatively, services_cidr_block can be used to automatically create a GKE-managed one.
Optional. Master Authorized Network that supports multiple CIDR blocks. Allows access to the k8s master from multiple blocks. It cannot be set at the same time with the field man_block.
Trait Implementations§
source§impl Clone for StandardManagementConfig
impl Clone for StandardManagementConfig
source§fn clone(&self) -> StandardManagementConfig
fn clone(&self) -> StandardManagementConfig
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for StandardManagementConfig
impl Debug for StandardManagementConfig
source§impl Default for StandardManagementConfig
impl Default for StandardManagementConfig
source§impl Message for StandardManagementConfig
impl Message for StandardManagementConfig
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 StandardManagementConfig
impl PartialEq for StandardManagementConfig
source§fn eq(&self, other: &StandardManagementConfig) -> bool
fn eq(&self, other: &StandardManagementConfig) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for StandardManagementConfig
Auto Trait Implementations§
impl Freeze for StandardManagementConfig
impl RefUnwindSafe for StandardManagementConfig
impl Send for StandardManagementConfig
impl Sync for StandardManagementConfig
impl Unpin for StandardManagementConfig
impl UnwindSafe for StandardManagementConfig
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