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

#include <node_taint.h>

Inheritance diagram for google_container_api::NodeTaint:

Public Member Functions

 NodeTaint (const Json::Value &storage)
 
 NodeTaint (Json::Value *storage)
 
virtual ~NodeTaint ()
 
const StringPiece GetTypeName () const
 
bool has_effect () const
 
void clear_effect ()
 
const StringPiece get_effect () const
 
void set_effect (const StringPiece &value)
 
bool has_key () const
 
void clear_key ()
 
const StringPiece get_key () const
 
void set_key (const StringPiece &value)
 
bool has_value () const
 
void clear_value ()
 
const StringPiece get_value () const
 
void set_value (const StringPiece &value)
 

Static Public Member Functions

static NodeTaintNew ()
 

Detailed Description

fields
key, value, and effect. Effect.
types
NoSchedule, PreferNoSchedule or NoExecute.

https://kubernetes.io/docs/concepts/configuration/taint-and-toleration/.

Constructor & Destructor Documentation

◆ NodeTaint() [1/2]

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

Standard constructor for an immutable data object instance.

Parameters
[in]storageThe 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]storageThe underlying data storage for this instance.

◆ ~NodeTaint()

google_container_api::NodeTaint::~NodeTaint ( )
virtual

Standard destructor.

Member Function Documentation

◆ 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

Returns a string denoting the type of this data object.

Returns
google_container_api::NodeTaint

◆ 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
[in]valueThe new value.

◆ set_key()

void google_container_api::NodeTaint::set_key ( const StringPiece &  value)
inline

Change the 'key' attribute.

Key for taint.

Parameters
[in]valueThe new value.

◆ set_value()

void google_container_api::NodeTaint::set_value ( const StringPiece &  value)
inline

Change the 'value' attribute.

Value for taint.

Parameters
[in]valueThe new value.

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