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

#include <max_pods_constraint.h>

Inheritance diagram for google_container_api::MaxPodsConstraint:

Public Member Functions

 MaxPodsConstraint (const Json::Value &storage)
 
 MaxPodsConstraint (Json::Value *storage)
 
virtual ~MaxPodsConstraint ()
 
const StringPiece GetTypeName () const
 
bool has_max_pods_per_node () const
 
void clear_max_pods_per_node ()
 
int64 get_max_pods_per_node () const
 
void set_max_pods_per_node (int64 value)
 

Static Public Member Functions

static MaxPodsConstraintNew ()
 

Detailed Description

Constraints applied to pods.

Constructor & Destructor Documentation

◆ MaxPodsConstraint() [1/2]

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

Standard constructor for an immutable data object instance.

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

◆ MaxPodsConstraint() [2/2]

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

Standard constructor for a mutable data object instance.

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

◆ ~MaxPodsConstraint()

google_container_api::MaxPodsConstraint::~MaxPodsConstraint ( )
virtual

Standard destructor.

Member Function Documentation

◆ clear_max_pods_per_node()

void google_container_api::MaxPodsConstraint::clear_max_pods_per_node ( )
inline

Clears the 'maxPodsPerNode' attribute.

◆ get_max_pods_per_node()

int64 google_container_api::MaxPodsConstraint::get_max_pods_per_node ( ) const
inline

Get the value of the 'maxPodsPerNode' attribute.

◆ GetTypeName()

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

Returns a string denoting the type of this data object.

Returns
google_container_api::MaxPodsConstraint

◆ has_max_pods_per_node()

bool google_container_api::MaxPodsConstraint::has_max_pods_per_node ( ) const
inline

Determine if the 'maxPodsPerNode' attribute was set.

Returns
true if the 'maxPodsPerNode' attribute was set.

◆ New()

MaxPodsConstraint * google_container_api::MaxPodsConstraint::New ( )
static

Creates a new default instance.

Returns
Ownership is passed back to the caller.

◆ set_max_pods_per_node()

void google_container_api::MaxPodsConstraint::set_max_pods_per_node ( int64  value)
inline

Change the 'maxPodsPerNode' attribute.

Constraint enforced on the max num of pods per node.

Parameters
[in]valueThe new value.

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