container
v1
|
#include <master_authorized_networks_config.h>
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< CidrBlock > | get_cidr_blocks () const |
client::JsonCppArray< CidrBlock > | mutable_cidrBlocks () |
bool | has_enabled () const |
void | clear_enabled () |
bool | get_enabled () const |
void | set_enabled (bool value) |
Static Public Member Functions | |
static MasterAuthorizedNetworksConfig * | New () |
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.
|
explicit |
Standard constructor for an immutable data object instance.
[in] | storage | The underlying data storage for this instance. |
|
explicit |
Standard constructor for a mutable data object instance.
[in] | storage | The underlying data storage for this instance. |
|
virtual |
Standard destructor.
|
inline |
Clears the 'cidrBlocks
' attribute.
|
inline |
Clears the 'enabled
' attribute.
const client::JsonCppArray<CidrBlock > google_container_api::MasterAuthorizedNetworksConfig::get_cidr_blocks | ( | ) | const |
Get a reference to the value of the 'cidrBlocks
' attribute.
|
inline |
Get the value of the 'enabled
' attribute.
|
inline |
Returns a string denoting the type of this data object.
|
inline |
Determine if the 'cidrBlocks
' attribute was set.
cidrBlocks
' attribute was set.
|
inline |
Determine if the 'enabled
' attribute was set.
enabled
' attribute was set. 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.
|
static |
Creates a new default instance.
|
inline |
Change the 'enabled
' attribute.
Whether or not master authorized networks is enabled.
[in] | value | The new value. |