#include <node_taint.h>
- fields
- key, value, and effect. Effect.
- types
- NoSchedule, PreferNoSchedule or NoExecute.
https://kubernetes.io/docs/concepts/configuration/taint-and-toleration/.
◆ NodeTaint() [1/2]
| google_container_api::NodeTaint::NodeTaint |
( |
const Json::Value & |
storage | ) |
|
|
explicit |
Standard constructor for an immutable data object instance.
- Parameters
-
| [in] | storage | The underlying data storage for this instance. |
◆ NodeTaint() [2/2]
| google_container_api::NodeTaint::NodeTaint |
( |
Json::Value * |
storage | ) |
|
|
explicit |
Standard constructor for a mutable data object instance.
- Parameters
-
| [in] | storage | The underlying data storage for this instance. |
◆ ~NodeTaint()
| google_container_api::NodeTaint::~NodeTaint |
( |
| ) |
|
|
virtual |
◆ clear_effect()
| void google_container_api::NodeTaint::clear_effect |
( |
| ) |
|
|
inline |
Clears the 'effect' attribute.
◆ clear_key()
| void google_container_api::NodeTaint::clear_key |
( |
| ) |
|
|
inline |
Clears the 'key' attribute.
◆ clear_value()
| void google_container_api::NodeTaint::clear_value |
( |
| ) |
|
|
inline |
Clears the 'value' attribute.
◆ get_effect()
| const StringPiece google_container_api::NodeTaint::get_effect |
( |
| ) |
const |
|
inline |
Get the value of the 'effect' attribute.
◆ get_key()
| const StringPiece google_container_api::NodeTaint::get_key |
( |
| ) |
const |
|
inline |
Get the value of the 'key' attribute.
◆ get_value()
| const StringPiece google_container_api::NodeTaint::get_value |
( |
| ) |
const |
|
inline |
Get the value of the 'value' attribute.
◆ GetTypeName()
| const StringPiece google_container_api::NodeTaint::GetTypeName |
( |
| ) |
const |
|
inline |
◆ has_effect()
| bool google_container_api::NodeTaint::has_effect |
( |
| ) |
const |
|
inline |
Determine if the 'effect' attribute was set.
- Returns
- true if the '
effect' attribute was set.
◆ has_key()
| bool google_container_api::NodeTaint::has_key |
( |
| ) |
const |
|
inline |
Determine if the 'key' attribute was set.
- Returns
- true if the '
key' attribute was set.
◆ has_value()
| bool google_container_api::NodeTaint::has_value |
( |
| ) |
const |
|
inline |
Determine if the 'value' attribute was set.
- Returns
- true if the '
value' attribute was set.
◆ New()
| NodeTaint * google_container_api::NodeTaint::New |
( |
| ) |
|
|
static |
Creates a new default instance.
- Returns
- Ownership is passed back to the caller.
◆ set_effect()
| void google_container_api::NodeTaint::set_effect |
( |
const StringPiece & |
value | ) |
|
|
inline |
Change the 'effect' attribute.
Effect for taint.
- Parameters
-
◆ set_key()
| void google_container_api::NodeTaint::set_key |
( |
const StringPiece & |
value | ) |
|
|
inline |
Change the 'key' attribute.
Key for taint.
- Parameters
-
◆ set_value()
| void google_container_api::NodeTaint::set_value |
( |
const StringPiece & |
value | ) |
|
|
inline |
Change the 'value' attribute.
Value for taint.
- Parameters
-
The documentation for this class was generated from the following files:
- google/container_api/node_taint.h
- google/container_api/node_taint.cc