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

#include <horizontal_pod_autoscaling.h>

Inheritance diagram for google_container_api::HorizontalPodAutoscaling:

Public Member Functions

 HorizontalPodAutoscaling (const Json::Value &storage)
 
 HorizontalPodAutoscaling (Json::Value *storage)
 
virtual ~HorizontalPodAutoscaling ()
 
const StringPiece GetTypeName () const
 
bool has_disabled () const
 
void clear_disabled ()
 
bool get_disabled () const
 
void set_disabled (bool value)
 

Static Public Member Functions

static HorizontalPodAutoscalingNew ()
 

Detailed Description

Configuration options for the horizontal pod autoscaling feature, which increases or decreases the number of replica pods a replication controller has based on the resource usage of the existing pods.

Constructor & Destructor Documentation

◆ HorizontalPodAutoscaling() [1/2]

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

Standard constructor for an immutable data object instance.

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

◆ HorizontalPodAutoscaling() [2/2]

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

Standard constructor for a mutable data object instance.

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

◆ ~HorizontalPodAutoscaling()

google_container_api::HorizontalPodAutoscaling::~HorizontalPodAutoscaling ( )
virtual

Standard destructor.

Member Function Documentation

◆ clear_disabled()

void google_container_api::HorizontalPodAutoscaling::clear_disabled ( )
inline

Clears the 'disabled' attribute.

◆ get_disabled()

bool google_container_api::HorizontalPodAutoscaling::get_disabled ( ) const
inline

Get the value of the 'disabled' attribute.

◆ GetTypeName()

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

Returns a string denoting the type of this data object.

Returns
google_container_api::HorizontalPodAutoscaling

◆ has_disabled()

bool google_container_api::HorizontalPodAutoscaling::has_disabled ( ) const
inline

Determine if the 'disabled' attribute was set.

Returns
true if the 'disabled' attribute was set.

◆ New()

HorizontalPodAutoscaling * google_container_api::HorizontalPodAutoscaling::New ( )
static

Creates a new default instance.

Returns
Ownership is passed back to the caller.

◆ set_disabled()

void google_container_api::HorizontalPodAutoscaling::set_disabled ( bool  value)
inline

Change the 'disabled' attribute.

Whether the Horizontal Pod Autoscaling feature is enabled in the cluster. When enabled, it ensures that metrics are collected into Stackdriver Monitoring.

Parameters
[in]valueThe new value.

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