container
v1
|
#include <master_auth.h>
Public Member Functions | |
MasterAuth (const Json::Value &storage) | |
MasterAuth (Json::Value *storage) | |
virtual | ~MasterAuth () |
const StringPiece | GetTypeName () const |
bool | has_client_certificate () const |
void | clear_client_certificate () |
const StringPiece | get_client_certificate () const |
void | set_client_certificate (const StringPiece &value) |
bool | has_client_certificate_config () const |
void | clear_client_certificate_config () |
const ClientCertificateConfig | get_client_certificate_config () const |
ClientCertificateConfig | mutable_clientCertificateConfig () |
bool | has_client_key () const |
void | clear_client_key () |
const StringPiece | get_client_key () const |
void | set_client_key (const StringPiece &value) |
bool | has_cluster_ca_certificate () const |
void | clear_cluster_ca_certificate () |
const StringPiece | get_cluster_ca_certificate () const |
void | set_cluster_ca_certificate (const StringPiece &value) |
bool | has_password () const |
void | clear_password () |
const StringPiece | get_password () const |
void | set_password (const StringPiece &value) |
bool | has_username () const |
void | clear_username () |
const StringPiece | get_username () const |
void | set_username (const StringPiece &value) |
Static Public Member Functions | |
static MasterAuth * | New () |
The authentication information for accessing the master endpoint. Authentication can be done using HTTP basic auth or using client certificates.
|
explicit |
Standard constructor for an immutable data object instance.
[in] | storage | The underlying data storage for this instance. |
|
explicit |
Standard constructor for a mutable data object instance.
[in] | storage | The underlying data storage for this instance. |
|
virtual |
Standard destructor.
|
inline |
Clears the 'clientCertificate
' attribute.
|
inline |
Clears the 'clientCertificateConfig
' attribute.
|
inline |
Clears the 'clientKey
' attribute.
|
inline |
Clears the 'clusterCaCertificate
' attribute.
|
inline |
Clears the 'password
' attribute.
|
inline |
Clears the 'username
' attribute.
|
inline |
Get the value of the 'clientCertificate
' attribute.
const ClientCertificateConfig google_container_api::MasterAuth::get_client_certificate_config | ( | ) | const |
Get a reference to the value of the 'clientCertificateConfig
' attribute.
|
inline |
Get the value of the 'clientKey
' attribute.
|
inline |
Get the value of the 'clusterCaCertificate
' attribute.
|
inline |
Get the value of the 'password
' attribute.
|
inline |
Get the value of the 'username
' attribute.
|
inline |
Returns a string denoting the type of this data object.
|
inline |
Determine if the 'clientCertificate
' attribute was set.
clientCertificate
' attribute was set.
|
inline |
Determine if the 'clientCertificateConfig
' attribute was set.
clientCertificateConfig
' attribute was set.
|
inline |
Determine if the 'clientKey
' attribute was set.
clientKey
' attribute was set.
|
inline |
Determine if the 'clusterCaCertificate
' attribute was set.
clusterCaCertificate
' attribute was set.
|
inline |
Determine if the 'password
' attribute was set.
password
' attribute was set.
|
inline |
Determine if the 'username
' attribute was set.
username
' attribute was set. ClientCertificateConfig google_container_api::MasterAuth::mutable_clientCertificateConfig | ( | ) |
Gets a reference to a mutable value of the 'clientCertificateConfig
' property.
Configuration for client certificate authentication on the cluster. For clusters before v1.12, if no configuration is specified, a client certificate is issued.
|
static |
Creates a new default instance.
|
inline |
Change the 'clientCertificate
' attribute.
[Output only] Base64-encoded public certificate used by clients to authenticate to the cluster endpoint.
[in] | value | The new value. |
|
inline |
Change the 'clientKey
' attribute.
[Output only] Base64-encoded private key used by clients to authenticate to the cluster endpoint.
[in] | value | The new value. |
|
inline |
Change the 'clusterCaCertificate
' attribute.
[Output only] Base64-encoded public certificate that is the root of trust for the cluster.
[in] | value | The new value. |
|
inline |
Change the 'password
' attribute.
The password to use for HTTP basic authentication to the master endpoint. Because the master endpoint is open to the Internet, you should create a strong password. If a password is provided for cluster creation, username must be non-empty.
[in] | value | The new value. |
|
inline |
Change the 'username
' attribute.
The username to use for HTTP basic authentication to the master endpoint. For clusters v1.6.0 and later, basic authentication can be disabled by leaving username unspecified (or setting it to the empty string).
[in] | value | The new value. |