Struct google_container1::MasterAuthorizedNetworksConfig [−][src]
pub struct MasterAuthorizedNetworksConfig { pub enabled: Option<bool>, pub cidr_blocks: Option<Vec<CidrBlock>>, }
Configuration options for the master authorized networks feature. Enabled master authorized networks will disallow all external traffic to access Kubernetes master through HTTPS except traffic from the given CIDR blocks, Google Compute Engine Public IPs and Google Prod IPs.
This type is not used in any activity, and only used as part of another schema.
Fields
enabled: Option<bool>
Whether or not master authorized networks is enabled.
cidr_blocks: Option<Vec<CidrBlock>>
cidr_blocks define up to 10 external networks that could access Kubernetes master through HTTPS.
Trait Implementations
impl Default for MasterAuthorizedNetworksConfig
[src]
impl Default for MasterAuthorizedNetworksConfig
fn default() -> MasterAuthorizedNetworksConfig
[src]
fn default() -> MasterAuthorizedNetworksConfig
Returns the "default value" for a type. Read more
impl Clone for MasterAuthorizedNetworksConfig
[src]
impl Clone for MasterAuthorizedNetworksConfig
fn clone(&self) -> MasterAuthorizedNetworksConfig
[src]
fn clone(&self) -> MasterAuthorizedNetworksConfig
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl Debug for MasterAuthorizedNetworksConfig
[src]
impl Debug for MasterAuthorizedNetworksConfig
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Part for MasterAuthorizedNetworksConfig
[src]
impl Part for MasterAuthorizedNetworksConfig
Auto Trait Implementations
impl Send for MasterAuthorizedNetworksConfig
impl Send for MasterAuthorizedNetworksConfig
impl Sync for MasterAuthorizedNetworksConfig
impl Sync for MasterAuthorizedNetworksConfig