Struct gapi_grpc::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 datapath_provider: i32,
}

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

datapath_provider: i32

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

Implementations

impl NetworkConfig[src]

pub fn datapath_provider(&self) -> DatapathProvider[src]

Returns the enum value of datapath_provider, or the default if the field is set to an invalid enum value.

pub fn set_datapath_provider(&mut self, value: DatapathProvider)[src]

Sets datapath_provider to the provided enum value.

Trait Implementations

impl Clone for NetworkConfig[src]

impl Debug for NetworkConfig[src]

impl Default for NetworkConfig[src]

impl Message for NetworkConfig[src]

impl PartialEq<NetworkConfig> for NetworkConfig[src]

impl StructuralPartialEq for NetworkConfig[src]

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

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> IntoRequest<T> for T[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 
[src]

impl<T> WithSubscriber for T[src]