#include <workload_metadata_config.h>
WorkloadMetadataConfig defines the metadata configuration to expose to workloads on the node pool.
◆ WorkloadMetadataConfig() [1/2]
google_container_api::WorkloadMetadataConfig::WorkloadMetadataConfig |
( |
const Json::Value & |
storage | ) |
|
|
explicit |
Standard constructor for an immutable data object instance.
- Parameters
-
[in] | storage | The underlying data storage for this instance. |
◆ WorkloadMetadataConfig() [2/2]
google_container_api::WorkloadMetadataConfig::WorkloadMetadataConfig |
( |
Json::Value * |
storage | ) |
|
|
explicit |
Standard constructor for a mutable data object instance.
- Parameters
-
[in] | storage | The underlying data storage for this instance. |
◆ ~WorkloadMetadataConfig()
google_container_api::WorkloadMetadataConfig::~WorkloadMetadataConfig |
( |
| ) |
|
|
virtual |
◆ clear_mode()
void google_container_api::WorkloadMetadataConfig::clear_mode |
( |
| ) |
|
|
inline |
Clears the 'mode
' attribute.
◆ get_mode()
const StringPiece google_container_api::WorkloadMetadataConfig::get_mode |
( |
| ) |
const |
|
inline |
Get the value of the 'mode
' attribute.
◆ GetTypeName()
const StringPiece google_container_api::WorkloadMetadataConfig::GetTypeName |
( |
| ) |
const |
|
inline |
◆ has_mode()
bool google_container_api::WorkloadMetadataConfig::has_mode |
( |
| ) |
const |
|
inline |
Determine if the 'mode
' attribute was set.
- Returns
- true if the '
mode
' attribute was set.
◆ New()
Creates a new default instance.
- Returns
- Ownership is passed back to the caller.
◆ set_mode()
void google_container_api::WorkloadMetadataConfig::set_mode |
( |
const StringPiece & |
value | ) |
|
|
inline |
Change the 'mode
' attribute.
Mode is the configuration for how to expose metadata to workloads running on the node pool.
- Parameters
-
The documentation for this class was generated from the following files: