container  v1
Public Member Functions | Static Public Member Functions | List of all members
google_container_api::MasterAuthorizedNetworksConfig Class Reference

#include <master_authorized_networks_config.h>

Inheritance diagram for google_container_api::MasterAuthorizedNetworksConfig:

Public Member Functions

 MasterAuthorizedNetworksConfig (const Json::Value &storage)
 
 MasterAuthorizedNetworksConfig (Json::Value *storage)
 
virtual ~MasterAuthorizedNetworksConfig ()
 
const StringPiece GetTypeName () const
 
bool has_cidr_blocks () const
 
void clear_cidr_blocks ()
 
const client::JsonCppArray< CidrBlockget_cidr_blocks () const
 
client::JsonCppArray< CidrBlockmutable_cidrBlocks ()
 
bool has_enabled () const
 
void clear_enabled ()
 
bool get_enabled () const
 
void set_enabled (bool value)
 

Static Public Member Functions

static MasterAuthorizedNetworksConfigNew ()
 

Detailed Description

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.

Constructor & Destructor Documentation

◆ MasterAuthorizedNetworksConfig() [1/2]

google_container_api::MasterAuthorizedNetworksConfig::MasterAuthorizedNetworksConfig ( const Json::Value &  storage)
explicit

Standard constructor for an immutable data object instance.

Parameters
[in]storageThe underlying data storage for this instance.

◆ MasterAuthorizedNetworksConfig() [2/2]

google_container_api::MasterAuthorizedNetworksConfig::MasterAuthorizedNetworksConfig ( Json::Value *  storage)
explicit

Standard constructor for a mutable data object instance.

Parameters
[in]storageThe underlying data storage for this instance.

◆ ~MasterAuthorizedNetworksConfig()

google_container_api::MasterAuthorizedNetworksConfig::~MasterAuthorizedNetworksConfig ( )
virtual

Standard destructor.

Member Function Documentation

◆ clear_cidr_blocks()

void google_container_api::MasterAuthorizedNetworksConfig::clear_cidr_blocks ( )
inline

Clears the 'cidrBlocks' attribute.

◆ clear_enabled()

void google_container_api::MasterAuthorizedNetworksConfig::clear_enabled ( )
inline

Clears the 'enabled' attribute.

◆ get_cidr_blocks()

const client::JsonCppArray<CidrBlock > google_container_api::MasterAuthorizedNetworksConfig::get_cidr_blocks ( ) const

Get a reference to the value of the 'cidrBlocks' attribute.

◆ get_enabled()

bool google_container_api::MasterAuthorizedNetworksConfig::get_enabled ( ) const
inline

Get the value of the 'enabled' attribute.

◆ GetTypeName()

const StringPiece google_container_api::MasterAuthorizedNetworksConfig::GetTypeName ( ) const
inline

Returns a string denoting the type of this data object.

Returns
google_container_api::MasterAuthorizedNetworksConfig

◆ has_cidr_blocks()

bool google_container_api::MasterAuthorizedNetworksConfig::has_cidr_blocks ( ) const
inline

Determine if the 'cidrBlocks' attribute was set.

Returns
true if the 'cidrBlocks' attribute was set.

◆ has_enabled()

bool google_container_api::MasterAuthorizedNetworksConfig::has_enabled ( ) const
inline

Determine if the 'enabled' attribute was set.

Returns
true if the 'enabled' attribute was set.

◆ mutable_cidrBlocks()

client::JsonCppArray<CidrBlock > google_container_api::MasterAuthorizedNetworksConfig::mutable_cidrBlocks ( )

Gets a reference to a mutable value of the 'cidrBlocks' property.

cidr_blocks define up to 50 external networks that could access Kubernetes master through HTTPS.

Returns
The result can be modified to change the attribute value.

◆ New()

MasterAuthorizedNetworksConfig * google_container_api::MasterAuthorizedNetworksConfig::New ( )
static

Creates a new default instance.

Returns
Ownership is passed back to the caller.

◆ set_enabled()

void google_container_api::MasterAuthorizedNetworksConfig::set_enabled ( bool  value)
inline

Change the 'enabled' attribute.

Whether or not master authorized networks is enabled.

Parameters
[in]valueThe new value.

The documentation for this class was generated from the following files: