Kubernetes Engine API C++ Client 2.13.0
A C++ Client Library for the Kubernetes Engine API
Loading...
Searching...
No Matches
How to Override the Default Endpoint

In some cases, you may need to override the default endpoint used by the client library. Use the EndpointOption when initializing the client library to change this default.

For example, this will override the default endpoint for container_v1::ClusterManagerClient:

// This configuration is common with Private Google Access:
// https://cloud.google.com/vpc/docs/private-google-access
"private.googleapis.com");
Options & set(ValueTypeT< T > v)
Google Kubernetes Engine Cluster Manager v1.
Definition: cluster_manager_client.h:62
std::shared_ptr< ClusterManagerConnection > MakeClusterManagerConnection(Options options={})
A factory function to construct an object of type ClusterManagerConnection.