Struct googapis::google::container::v1beta1::NetworkConfig [−][src]
pub struct NetworkConfig {
pub network: String,
pub subnetwork: String,
pub enable_intra_node_visibility: bool,
pub default_snat_status: Option<DefaultSnatStatus>,
pub enable_l4ilb_subsetting: bool,
pub datapath_provider: i32,
pub private_ipv6_google_access: i32,
pub dns_config: Option<DnsConfig>,
pub service_external_ips_config: Option<ServiceExternalIPsConfig>,
}
Expand description
NetworkConfig reports the relative names of network & subnetwork.
Fields
network: String
Output only. The relative name of the Google Compute Engine [network][google.container.v1beta1.NetworkConfig.network](https://cloud.google.com/compute/docs/networks-and-firewalls#networks) to which the cluster is connected. Example: projects/my-project/global/networks/my-network
subnetwork: String
Output only. The relative name of the Google Compute Engine [subnetwork](https://cloud.google.com/compute/docs/vpc) to which the cluster is connected. Example: projects/my-project/regions/us-central1/subnetworks/my-subnet
enable_intra_node_visibility: bool
Whether Intra-node visibility is enabled for this cluster. This makes same node pod to pod traffic visible for VPC network.
default_snat_status: Option<DefaultSnatStatus>
Whether the cluster disables default in-node sNAT rules. In-node sNAT rules will be disabled when default_snat_status is disabled. When disabled is set to false, default IP masquerade rules will be applied to the nodes to prevent sNAT on cluster internal traffic.
enable_l4ilb_subsetting: bool
Whether L4ILB Subsetting is enabled for this cluster.
datapath_provider: i32
The desired datapath provider for this cluster. By default, uses the IPTables-based kube-proxy implementation.
private_ipv6_google_access: i32
The desired state of IPv6 connectivity to Google Services. By default, no private IPv6 access to or from Google Services (all access will be via IPv4)
dns_config: Option<DnsConfig>
DNSConfig contains clusterDNS config for this cluster.
service_external_ips_config: Option<ServiceExternalIPsConfig>
ServiceExternalIPsConfig specifies if services with externalIPs field are blocked or not.
Implementations
Returns the enum value of datapath_provider
, or the default if the field is set to an invalid enum value.
Sets datapath_provider
to the provided enum value.
Returns the enum value of private_ipv6_google_access
, or the default if the field is set to an invalid enum value.
Sets private_ipv6_google_access
to the provided enum value.
Trait Implementations
fn merge_field<B>(
&mut self,
tag: u32,
wire_type: WireType,
buf: &mut B,
ctx: DecodeContext
) -> Result<(), DecodeError> where
B: Buf,
Returns the encoded length of the message without a length delimiter.
Encodes the message to a buffer. Read more
Encodes the message to a newly allocated buffer.
Encodes the message with a length-delimiter to a buffer. Read more
Encodes the message with a length-delimiter to a newly allocated buffer.
Decodes an instance of the message from a buffer. Read more
fn decode_length_delimited<B>(buf: B) -> Result<Self, DecodeError> where
Self: Default,
B: Buf,
fn decode_length_delimited<B>(buf: B) -> Result<Self, DecodeError> where
Self: Default,
B: Buf,
Decodes a length-delimited instance of the message from the buffer.
Decodes an instance of the message from a buffer, and merges it into self
. Read more
Decodes a length-delimited instance of the message from buffer, and
merges it into self
. Read more
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for NetworkConfig
impl Send for NetworkConfig
impl Sync for NetworkConfig
impl Unpin for NetworkConfig
impl UnwindSafe for NetworkConfig
Blanket Implementations
Mutably borrows from an owned value. Read more
Wrap the input message T
in a tonic::Request
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more