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

#include <node_pool.h>

Inheritance diagram for google_container_api::NodePool:

Public Member Functions

 NodePool (const Json::Value &storage)
 
 NodePool (Json::Value *storage)
 
virtual ~NodePool ()
 
const StringPiece GetTypeName () const
 
bool has_autoscaling () const
 
void clear_autoscaling ()
 
const NodePoolAutoscaling get_autoscaling () const
 
NodePoolAutoscaling mutable_autoscaling ()
 
bool has_conditions () const
 
void clear_conditions ()
 
const client::JsonCppArray< StatusConditionget_conditions () const
 
client::JsonCppArray< StatusConditionmutable_conditions ()
 
bool has_config () const
 
void clear_config ()
 
const NodeConfig get_config () const
 
NodeConfig mutable_config ()
 
bool has_initial_node_count () const
 
void clear_initial_node_count ()
 
int32 get_initial_node_count () const
 
void set_initial_node_count (int32 value)
 
bool has_instance_group_urls () const
 
void clear_instance_group_urls ()
 
const client::JsonCppArray< string > get_instance_group_urls () const
 
client::JsonCppArray< string > mutable_instanceGroupUrls ()
 
bool has_locations () const
 
void clear_locations ()
 
const client::JsonCppArray< string > get_locations () const
 
client::JsonCppArray< string > mutable_locations ()
 
bool has_management () const
 
void clear_management ()
 
const NodeManagement get_management () const
 
NodeManagement mutable_management ()
 
bool has_max_pods_constraint () const
 
void clear_max_pods_constraint ()
 
const MaxPodsConstraint get_max_pods_constraint () const
 
MaxPodsConstraint mutable_maxPodsConstraint ()
 
bool has_name () const
 
void clear_name ()
 
const StringPiece get_name () const
 
void set_name (const StringPiece &value)
 
bool has_pod_ipv4_cidr_size () const
 
void clear_pod_ipv4_cidr_size ()
 
int32 get_pod_ipv4_cidr_size () const
 
void set_pod_ipv4_cidr_size (int32 value)
 
bool has_self_link () const
 
void clear_self_link ()
 
const StringPiece get_self_link () const
 
void set_self_link (const StringPiece &value)
 
bool has_status () const
 
void clear_status ()
 
const StringPiece get_status () const
 
void set_status (const StringPiece &value)
 
bool has_status_message () const
 
void clear_status_message ()
 
const StringPiece get_status_message () const
 
void set_status_message (const StringPiece &value)
 
bool has_upgrade_settings () const
 
void clear_upgrade_settings ()
 
const UpgradeSettings get_upgrade_settings () const
 
UpgradeSettings mutable_upgradeSettings ()
 
bool has_version () const
 
void clear_version ()
 
const StringPiece get_version () const
 
void set_version (const StringPiece &value)
 

Static Public Member Functions

static NodePoolNew ()
 

Detailed Description

NodePool contains the name and configuration for a cluster's node pool. Node pools are a set of nodes (i.e. VM's), with a common configuration and specification, under the control of the cluster master. They may have a set of Kubernetes labels applied to them, which may be used to reference them during pod scheduling. They may also be resized up or down, to accommodate the workload.

Constructor & Destructor Documentation

◆ NodePool() [1/2]

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

Standard constructor for an immutable data object instance.

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

◆ NodePool() [2/2]

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

Standard constructor for a mutable data object instance.

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

◆ ~NodePool()

google_container_api::NodePool::~NodePool ( )
virtual

Standard destructor.

Member Function Documentation

◆ clear_autoscaling()

void google_container_api::NodePool::clear_autoscaling ( )
inline

Clears the 'autoscaling' attribute.

◆ clear_conditions()

void google_container_api::NodePool::clear_conditions ( )
inline

Clears the 'conditions' attribute.

◆ clear_config()

void google_container_api::NodePool::clear_config ( )
inline

Clears the 'config' attribute.

◆ clear_initial_node_count()

void google_container_api::NodePool::clear_initial_node_count ( )
inline

Clears the 'initialNodeCount' attribute.

◆ clear_instance_group_urls()

void google_container_api::NodePool::clear_instance_group_urls ( )
inline

Clears the 'instanceGroupUrls' attribute.

◆ clear_locations()

void google_container_api::NodePool::clear_locations ( )
inline

Clears the 'locations' attribute.

◆ clear_management()

void google_container_api::NodePool::clear_management ( )
inline

Clears the 'management' attribute.

◆ clear_max_pods_constraint()

void google_container_api::NodePool::clear_max_pods_constraint ( )
inline

Clears the 'maxPodsConstraint' attribute.

◆ clear_name()

void google_container_api::NodePool::clear_name ( )
inline

Clears the 'name' attribute.

◆ clear_pod_ipv4_cidr_size()

void google_container_api::NodePool::clear_pod_ipv4_cidr_size ( )
inline

Clears the 'podIpv4CidrSize' attribute.

◆ clear_self_link()

void google_container_api::NodePool::clear_self_link ( )
inline

Clears the 'selfLink' attribute.

◆ clear_status()

void google_container_api::NodePool::clear_status ( )
inline

Clears the 'status' attribute.

◆ clear_status_message()

void google_container_api::NodePool::clear_status_message ( )
inline

Clears the 'statusMessage' attribute.

◆ clear_upgrade_settings()

void google_container_api::NodePool::clear_upgrade_settings ( )
inline

Clears the 'upgradeSettings' attribute.

◆ clear_version()

void google_container_api::NodePool::clear_version ( )
inline

Clears the 'version' attribute.

◆ get_autoscaling()

const NodePoolAutoscaling google_container_api::NodePool::get_autoscaling ( ) const

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

◆ get_conditions()

const client::JsonCppArray<StatusCondition > google_container_api::NodePool::get_conditions ( ) const

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

◆ get_config()

const NodeConfig google_container_api::NodePool::get_config ( ) const

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

◆ get_initial_node_count()

int32 google_container_api::NodePool::get_initial_node_count ( ) const
inline

Get the value of the 'initialNodeCount' attribute.

◆ get_instance_group_urls()

const client::JsonCppArray<string > google_container_api::NodePool::get_instance_group_urls ( ) const
inline

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

◆ get_locations()

const client::JsonCppArray<string > google_container_api::NodePool::get_locations ( ) const
inline

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

◆ get_management()

const NodeManagement google_container_api::NodePool::get_management ( ) const

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

◆ get_max_pods_constraint()

const MaxPodsConstraint google_container_api::NodePool::get_max_pods_constraint ( ) const

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

◆ get_name()

const StringPiece google_container_api::NodePool::get_name ( ) const
inline

Get the value of the 'name' attribute.

◆ get_pod_ipv4_cidr_size()

int32 google_container_api::NodePool::get_pod_ipv4_cidr_size ( ) const
inline

Get the value of the 'podIpv4CidrSize' attribute.

◆ get_self_link()

const StringPiece google_container_api::NodePool::get_self_link ( ) const
inline

Get the value of the 'selfLink' attribute.

◆ get_status()

const StringPiece google_container_api::NodePool::get_status ( ) const
inline

Get the value of the 'status' attribute.

◆ get_status_message()

const StringPiece google_container_api::NodePool::get_status_message ( ) const
inline

Get the value of the 'statusMessage' attribute.

◆ get_upgrade_settings()

const UpgradeSettings google_container_api::NodePool::get_upgrade_settings ( ) const

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

◆ get_version()

const StringPiece google_container_api::NodePool::get_version ( ) const
inline

Get the value of the 'version' attribute.

◆ GetTypeName()

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

Returns a string denoting the type of this data object.

Returns
google_container_api::NodePool

◆ has_autoscaling()

bool google_container_api::NodePool::has_autoscaling ( ) const
inline

Determine if the 'autoscaling' attribute was set.

Returns
true if the 'autoscaling' attribute was set.

◆ has_conditions()

bool google_container_api::NodePool::has_conditions ( ) const
inline

Determine if the 'conditions' attribute was set.

Returns
true if the 'conditions' attribute was set.

◆ has_config()

bool google_container_api::NodePool::has_config ( ) const
inline

Determine if the 'config' attribute was set.

Returns
true if the 'config' attribute was set.

◆ has_initial_node_count()

bool google_container_api::NodePool::has_initial_node_count ( ) const
inline

Determine if the 'initialNodeCount' attribute was set.

Returns
true if the 'initialNodeCount' attribute was set.

◆ has_instance_group_urls()

bool google_container_api::NodePool::has_instance_group_urls ( ) const
inline

Determine if the 'instanceGroupUrls' attribute was set.

Returns
true if the 'instanceGroupUrls' attribute was set.

◆ has_locations()

bool google_container_api::NodePool::has_locations ( ) const
inline

Determine if the 'locations' attribute was set.

Returns
true if the 'locations' attribute was set.

◆ has_management()

bool google_container_api::NodePool::has_management ( ) const
inline

Determine if the 'management' attribute was set.

Returns
true if the 'management' attribute was set.

◆ has_max_pods_constraint()

bool google_container_api::NodePool::has_max_pods_constraint ( ) const
inline

Determine if the 'maxPodsConstraint' attribute was set.

Returns
true if the 'maxPodsConstraint' attribute was set.

◆ has_name()

bool google_container_api::NodePool::has_name ( ) const
inline

Determine if the 'name' attribute was set.

Returns
true if the 'name' attribute was set.

◆ has_pod_ipv4_cidr_size()

bool google_container_api::NodePool::has_pod_ipv4_cidr_size ( ) const
inline

Determine if the 'podIpv4CidrSize' attribute was set.

Returns
true if the 'podIpv4CidrSize' attribute was set.

◆ has_self_link()

bool google_container_api::NodePool::has_self_link ( ) const
inline

Determine if the 'selfLink' attribute was set.

Returns
true if the 'selfLink' attribute was set.

◆ has_status()

bool google_container_api::NodePool::has_status ( ) const
inline

Determine if the 'status' attribute was set.

Returns
true if the 'status' attribute was set.

◆ has_status_message()

bool google_container_api::NodePool::has_status_message ( ) const
inline

Determine if the 'statusMessage' attribute was set.

Returns
true if the 'statusMessage' attribute was set.

◆ has_upgrade_settings()

bool google_container_api::NodePool::has_upgrade_settings ( ) const
inline

Determine if the 'upgradeSettings' attribute was set.

Returns
true if the 'upgradeSettings' attribute was set.

◆ has_version()

bool google_container_api::NodePool::has_version ( ) const
inline

Determine if the 'version' attribute was set.

Returns
true if the 'version' attribute was set.

◆ mutable_autoscaling()

NodePoolAutoscaling google_container_api::NodePool::mutable_autoscaling ( )

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

Autoscaler configuration for this NodePool. Autoscaler is enabled only if a valid configuration is present.

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

◆ mutable_conditions()

client::JsonCppArray<StatusCondition > google_container_api::NodePool::mutable_conditions ( )

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

Which conditions caused the current node pool state.

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

◆ mutable_config()

NodeConfig google_container_api::NodePool::mutable_config ( )

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

The node configuration of the pool.

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

◆ mutable_instanceGroupUrls()

client::JsonCppArray<string > google_container_api::NodePool::mutable_instanceGroupUrls ( )
inline

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

[Output only] The resource URLs of the managed instance groups associated with this node pool.

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

◆ mutable_locations()

client::JsonCppArray<string > google_container_api::NodePool::mutable_locations ( )
inline

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

The list of Google Compute Engine zones in which the NodePool's nodes should be located.

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

◆ mutable_management()

NodeManagement google_container_api::NodePool::mutable_management ( )

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

NodeManagement configuration for this NodePool.

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

◆ mutable_maxPodsConstraint()

MaxPodsConstraint google_container_api::NodePool::mutable_maxPodsConstraint ( )

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

The constraint on the maximum number of pods that can be run simultaneously on a node in the node pool.

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

◆ mutable_upgradeSettings()

UpgradeSettings google_container_api::NodePool::mutable_upgradeSettings ( )

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

Upgrade settings control disruption and speed of the upgrade.

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

◆ New()

NodePool * google_container_api::NodePool::New ( )
static

Creates a new default instance.

Returns
Ownership is passed back to the caller.

◆ set_initial_node_count()

void google_container_api::NodePool::set_initial_node_count ( int32  value)
inline

Change the 'initialNodeCount' attribute.

The initial node count for the pool. You must ensure that your Compute Engine resource quota is sufficient for this number of instances. You must also have available firewall and routes quota.

Parameters
[in]valueThe new value.

◆ set_name()

void google_container_api::NodePool::set_name ( const StringPiece &  value)
inline

Change the 'name' attribute.

The name of the node pool.

Parameters
[in]valueThe new value.

◆ set_pod_ipv4_cidr_size()

void google_container_api::NodePool::set_pod_ipv4_cidr_size ( int32  value)
inline

Change the 'podIpv4CidrSize' attribute.

[Output only] The pod CIDR block size per node in this node pool.

Parameters
[in]valueThe new value.

◆ set_self_link()

void google_container_api::NodePool::set_self_link ( const StringPiece &  value)
inline

Change the 'selfLink' attribute.

[Output only] Server-defined URL for the resource.

Parameters
[in]valueThe new value.

◆ set_status()

void google_container_api::NodePool::set_status ( const StringPiece &  value)
inline

Change the 'status' attribute.

[Output only] The status of the nodes in this pool instance.

Parameters
[in]valueThe new value.

◆ set_status_message()

void google_container_api::NodePool::set_status_message ( const StringPiece &  value)
inline

Change the 'statusMessage' attribute.

[Output only] Additional information about the current status of this node pool instance, if available.

Parameters
[in]valueThe new value.

◆ set_version()

void google_container_api::NodePool::set_version ( const StringPiece &  value)
inline

Change the 'version' attribute.

The version of the Kubernetes of this node.

Parameters
[in]valueThe new value.

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