#include <network_policy_config.h>
Configuration for NetworkPolicy. This only tracks whether the addon is enabled or not on the Master, it does not track whether network policy is enabled for the nodes.
◆ NetworkPolicyConfig() [1/2]
google_container_api::NetworkPolicyConfig::NetworkPolicyConfig |
( |
const Json::Value & |
storage | ) |
|
|
explicit |
Standard constructor for an immutable data object instance.
- Parameters
-
[in] | storage | The underlying data storage for this instance. |
◆ NetworkPolicyConfig() [2/2]
google_container_api::NetworkPolicyConfig::NetworkPolicyConfig |
( |
Json::Value * |
storage | ) |
|
|
explicit |
Standard constructor for a mutable data object instance.
- Parameters
-
[in] | storage | The underlying data storage for this instance. |
◆ ~NetworkPolicyConfig()
google_container_api::NetworkPolicyConfig::~NetworkPolicyConfig |
( |
| ) |
|
|
virtual |
◆ clear_disabled()
void google_container_api::NetworkPolicyConfig::clear_disabled |
( |
| ) |
|
|
inline |
Clears the 'disabled
' attribute.
◆ get_disabled()
bool google_container_api::NetworkPolicyConfig::get_disabled |
( |
| ) |
const |
|
inline |
Get the value of the 'disabled
' attribute.
◆ GetTypeName()
const StringPiece google_container_api::NetworkPolicyConfig::GetTypeName |
( |
| ) |
const |
|
inline |
◆ has_disabled()
bool google_container_api::NetworkPolicyConfig::has_disabled |
( |
| ) |
const |
|
inline |
Determine if the 'disabled
' attribute was set.
- Returns
- true if the '
disabled
' attribute was set.
◆ New()
Creates a new default instance.
- Returns
- Ownership is passed back to the caller.
◆ set_disabled()
void google_container_api::NetworkPolicyConfig::set_disabled |
( |
bool |
value | ) |
|
|
inline |
Change the 'disabled
' attribute.
Whether NetworkPolicy is enabled for this cluster.
- Parameters
-
The documentation for this class was generated from the following files: