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

#include <node_management.h>

Inheritance diagram for google_container_api::NodeManagement:

Public Member Functions

 NodeManagement (const Json::Value &storage)
 
 NodeManagement (Json::Value *storage)
 
virtual ~NodeManagement ()
 
const StringPiece GetTypeName () const
 
bool has_auto_repair () const
 
void clear_auto_repair ()
 
bool get_auto_repair () const
 
void set_auto_repair (bool value)
 
bool has_auto_upgrade () const
 
void clear_auto_upgrade ()
 
bool get_auto_upgrade () const
 
void set_auto_upgrade (bool value)
 
bool has_upgrade_options () const
 
void clear_upgrade_options ()
 
const AutoUpgradeOptions get_upgrade_options () const
 
AutoUpgradeOptions mutable_upgradeOptions ()
 

Static Public Member Functions

static NodeManagementNew ()
 

Detailed Description

NodeManagement defines the set of node management services turned on for the node pool.

Constructor & Destructor Documentation

◆ NodeManagement() [1/2]

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

Standard constructor for an immutable data object instance.

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

◆ NodeManagement() [2/2]

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

Standard constructor for a mutable data object instance.

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

◆ ~NodeManagement()

google_container_api::NodeManagement::~NodeManagement ( )
virtual

Standard destructor.

Member Function Documentation

◆ clear_auto_repair()

void google_container_api::NodeManagement::clear_auto_repair ( )
inline

Clears the 'autoRepair' attribute.

◆ clear_auto_upgrade()

void google_container_api::NodeManagement::clear_auto_upgrade ( )
inline

Clears the 'autoUpgrade' attribute.

◆ clear_upgrade_options()

void google_container_api::NodeManagement::clear_upgrade_options ( )
inline

Clears the 'upgradeOptions' attribute.

◆ get_auto_repair()

bool google_container_api::NodeManagement::get_auto_repair ( ) const
inline

Get the value of the 'autoRepair' attribute.

◆ get_auto_upgrade()

bool google_container_api::NodeManagement::get_auto_upgrade ( ) const
inline

Get the value of the 'autoUpgrade' attribute.

◆ get_upgrade_options()

const AutoUpgradeOptions google_container_api::NodeManagement::get_upgrade_options ( ) const

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

◆ GetTypeName()

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

Returns a string denoting the type of this data object.

Returns
google_container_api::NodeManagement

◆ has_auto_repair()

bool google_container_api::NodeManagement::has_auto_repair ( ) const
inline

Determine if the 'autoRepair' attribute was set.

Returns
true if the 'autoRepair' attribute was set.

◆ has_auto_upgrade()

bool google_container_api::NodeManagement::has_auto_upgrade ( ) const
inline

Determine if the 'autoUpgrade' attribute was set.

Returns
true if the 'autoUpgrade' attribute was set.

◆ has_upgrade_options()

bool google_container_api::NodeManagement::has_upgrade_options ( ) const
inline

Determine if the 'upgradeOptions' attribute was set.

Returns
true if the 'upgradeOptions' attribute was set.

◆ mutable_upgradeOptions()

AutoUpgradeOptions google_container_api::NodeManagement::mutable_upgradeOptions ( )

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

Specifies the Auto Upgrade knobs for the node pool.

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

◆ New()

NodeManagement * google_container_api::NodeManagement::New ( )
static

Creates a new default instance.

Returns
Ownership is passed back to the caller.

◆ set_auto_repair()

void google_container_api::NodeManagement::set_auto_repair ( bool  value)
inline

Change the 'autoRepair' attribute.

A flag that specifies whether the node auto-repair is enabled for the node pool. If enabled, the nodes in this node pool will be monitored and, if they fail health checks too many times, an automatic repair action will be triggered.

Parameters
[in]valueThe new value.

◆ set_auto_upgrade()

void google_container_api::NodeManagement::set_auto_upgrade ( bool  value)
inline

Change the 'autoUpgrade' attribute.

A flag that specifies whether node auto-upgrade is enabled for the node pool. If enabled, node auto-upgrade helps keep the nodes in your node pool up to date with the latest release version of Kubernetes.

Parameters
[in]valueThe new value.

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