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

#include <addons_config.h>

Inheritance diagram for google_container_api::AddonsConfig:

Public Member Functions

 AddonsConfig (const Json::Value &storage)
 
 AddonsConfig (Json::Value *storage)
 
virtual ~AddonsConfig ()
 
const StringPiece GetTypeName () const
 
bool has_cloud_run_config () const
 
void clear_cloud_run_config ()
 
const CloudRunConfig get_cloud_run_config () const
 
CloudRunConfig mutable_cloudRunConfig ()
 
bool has_horizontal_pod_autoscaling () const
 
void clear_horizontal_pod_autoscaling ()
 
const HorizontalPodAutoscaling get_horizontal_pod_autoscaling () const
 
HorizontalPodAutoscaling mutable_horizontalPodAutoscaling ()
 
bool has_http_load_balancing () const
 
void clear_http_load_balancing ()
 
const HttpLoadBalancing get_http_load_balancing () const
 
HttpLoadBalancing mutable_httpLoadBalancing ()
 
bool has_kubernetes_dashboard () const
 
void clear_kubernetes_dashboard ()
 
const KubernetesDashboard get_kubernetes_dashboard () const
 
KubernetesDashboard mutable_kubernetesDashboard ()
 
bool has_network_policy_config () const
 
void clear_network_policy_config ()
 
const NetworkPolicyConfig get_network_policy_config () const
 
NetworkPolicyConfig mutable_networkPolicyConfig ()
 

Static Public Member Functions

static AddonsConfigNew ()
 

Detailed Description

Configuration for the addons that can be automatically spun up in the cluster, enabling additional functionality.

Constructor & Destructor Documentation

◆ AddonsConfig() [1/2]

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

Standard constructor for an immutable data object instance.

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

◆ AddonsConfig() [2/2]

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

Standard constructor for a mutable data object instance.

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

◆ ~AddonsConfig()

google_container_api::AddonsConfig::~AddonsConfig ( )
virtual

Standard destructor.

Member Function Documentation

◆ clear_cloud_run_config()

void google_container_api::AddonsConfig::clear_cloud_run_config ( )
inline

Clears the 'cloudRunConfig' attribute.

◆ clear_horizontal_pod_autoscaling()

void google_container_api::AddonsConfig::clear_horizontal_pod_autoscaling ( )
inline

Clears the 'horizontalPodAutoscaling' attribute.

◆ clear_http_load_balancing()

void google_container_api::AddonsConfig::clear_http_load_balancing ( )
inline

Clears the 'httpLoadBalancing' attribute.

◆ clear_kubernetes_dashboard()

void google_container_api::AddonsConfig::clear_kubernetes_dashboard ( )
inline

Clears the 'kubernetesDashboard' attribute.

◆ clear_network_policy_config()

void google_container_api::AddonsConfig::clear_network_policy_config ( )
inline

Clears the 'networkPolicyConfig' attribute.

◆ get_cloud_run_config()

const CloudRunConfig google_container_api::AddonsConfig::get_cloud_run_config ( ) const

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

◆ get_horizontal_pod_autoscaling()

const HorizontalPodAutoscaling google_container_api::AddonsConfig::get_horizontal_pod_autoscaling ( ) const

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

◆ get_http_load_balancing()

const HttpLoadBalancing google_container_api::AddonsConfig::get_http_load_balancing ( ) const

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

◆ get_kubernetes_dashboard()

const KubernetesDashboard google_container_api::AddonsConfig::get_kubernetes_dashboard ( ) const

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

◆ get_network_policy_config()

const NetworkPolicyConfig google_container_api::AddonsConfig::get_network_policy_config ( ) const

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

◆ GetTypeName()

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

Returns a string denoting the type of this data object.

Returns
google_container_api::AddonsConfig

◆ has_cloud_run_config()

bool google_container_api::AddonsConfig::has_cloud_run_config ( ) const
inline

Determine if the 'cloudRunConfig' attribute was set.

Returns
true if the 'cloudRunConfig' attribute was set.

◆ has_horizontal_pod_autoscaling()

bool google_container_api::AddonsConfig::has_horizontal_pod_autoscaling ( ) const
inline

Determine if the 'horizontalPodAutoscaling' attribute was set.

Returns
true if the 'horizontalPodAutoscaling' attribute was set.

◆ has_http_load_balancing()

bool google_container_api::AddonsConfig::has_http_load_balancing ( ) const
inline

Determine if the 'httpLoadBalancing' attribute was set.

Returns
true if the 'httpLoadBalancing' attribute was set.

◆ has_kubernetes_dashboard()

bool google_container_api::AddonsConfig::has_kubernetes_dashboard ( ) const
inline

Determine if the 'kubernetesDashboard' attribute was set.

Returns
true if the 'kubernetesDashboard' attribute was set.

◆ has_network_policy_config()

bool google_container_api::AddonsConfig::has_network_policy_config ( ) const
inline

Determine if the 'networkPolicyConfig' attribute was set.

Returns
true if the 'networkPolicyConfig' attribute was set.

◆ mutable_cloudRunConfig()

CloudRunConfig google_container_api::AddonsConfig::mutable_cloudRunConfig ( )

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

Configuration for the Cloud Run addon, which allows the user to use a managed Knative service.

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

◆ mutable_horizontalPodAutoscaling()

HorizontalPodAutoscaling google_container_api::AddonsConfig::mutable_horizontalPodAutoscaling ( )

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

Configuration 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.

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

◆ mutable_httpLoadBalancing()

HttpLoadBalancing google_container_api::AddonsConfig::mutable_httpLoadBalancing ( )

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

Configuration for the HTTP (L7) load balancing controller addon, which makes it easy to set up HTTP load balancers for services in a cluster.

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

◆ mutable_kubernetesDashboard()

KubernetesDashboard google_container_api::AddonsConfig::mutable_kubernetesDashboard ( )

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

Configuration for the Kubernetes Dashboard. This addon is deprecated, and will be disabled in 1.15. It is recommended to use the Cloud Console to manage and monitor your Kubernetes clusters, workloads and applications. For more information, see: https://cloud.google.com/kubernetes-engine/docs/concepts/dashboards.

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

◆ mutable_networkPolicyConfig()

NetworkPolicyConfig google_container_api::AddonsConfig::mutable_networkPolicyConfig ( )

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

Configuration for NetworkPolicy. This only tracks whether the addon is enabled or not on the Master, it does not track whether network policy is enabled for the nodes.

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

◆ New()

AddonsConfig * google_container_api::AddonsConfig::New ( )
static

Creates a new default instance.

Returns
Ownership is passed back to the caller.

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