pub struct NetworkConfig {
    pub datapath_provider: Option<String>,
    pub default_snat_status: Option<DefaultSnatStatus>,
    pub dns_config: Option<DNSConfig>,
    pub enable_intra_node_visibility: Option<bool>,
    pub enable_l4ilb_subsetting: Option<bool>,
    pub gateway_api_config: Option<GatewayAPIConfig>,
    pub network: Option<String>,
    pub private_ipv6_google_access: Option<String>,
    pub service_external_ips_config: Option<ServiceExternalIPsConfig>,
    pub subnetwork: Option<String>,
}
Expand description

NetworkConfig reports the relative names of network & subnetwork.

This type is not used in any activity, and only used as part of another schema.

Fields§

§datapath_provider: Option<String>

The desired datapath provider for this cluster. By default, uses the IPTables-based kube-proxy implementation.

§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.

§dns_config: Option<DNSConfig>

DNSConfig contains clusterDNS config for this cluster.

§enable_intra_node_visibility: Option<bool>

Whether Intra-node visibility is enabled for this cluster. This makes same node pod to pod traffic visible for VPC network.

§enable_l4ilb_subsetting: Option<bool>

Whether L4ILB Subsetting is enabled for this cluster.

§gateway_api_config: Option<GatewayAPIConfig>

GatewayAPIConfig contains the desired config of Gateway API on this cluster.

§network: Option<String>

Output only. The relative name of the Google Compute Engine 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

§private_ipv6_google_access: Option<String>

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)

§service_external_ips_config: Option<ServiceExternalIPsConfig>

ServiceExternalIPsConfig specifies if services with externalIPs field are blocked or not.

§subnetwork: Option<String>

Output only. The relative name of the Google Compute Engine subnetwork to which the cluster is connected. Example: projects/my-project/regions/us-central1/subnetworks/my-subnet

Trait Implementations§

Returns a copy of the value. Read more
Performs copy-assignment from source. Read more
Formats the value using the given formatter. Read more
Returns the “default value” for a type. Read more
Deserialize this value from the given Serde deserializer. Read more
Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations§

Blanket Implementations§

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The resulting type after obtaining ownership.
Creates owned data from borrowed data, usually by cloning. Read more
Uses borrowed data to replace owned data, usually by cloning. Read more
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.
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