public static final class ClusterManagerGrpc.ClusterManagerFutureStub extends AbstractFutureStub<ClusterManagerGrpc.ClusterManagerFutureStub>
A stub to allow clients to do ListenableFuture-style rpc calls to service ClusterManager.
Google Kubernetes Engine Cluster Manager v1
Inheritance
java.lang.Object >
io.grpc.stub.AbstractStub >
io.grpc.stub.AbstractFutureStub >
ClusterManagerGrpc.ClusterManagerFutureStub
Inherited Members
io.grpc.stub.AbstractFutureStub.<T>newStub(io.grpc.stub.AbstractStub.StubFactory<T>,io.grpc.Channel)
io.grpc.stub.AbstractFutureStub.<T>newStub(io.grpc.stub.AbstractStub.StubFactory<T>,io.grpc.Channel,io.grpc.CallOptions)
io.grpc.stub.AbstractStub.<T>withOption(io.grpc.CallOptions.Key<T>,T)
io.grpc.stub.AbstractStub.build(io.grpc.Channel,io.grpc.CallOptions)
io.grpc.stub.AbstractStub.getCallOptions()
io.grpc.stub.AbstractStub.getChannel()
io.grpc.stub.AbstractStub.withCallCredentials(io.grpc.CallCredentials)
io.grpc.stub.AbstractStub.withChannel(io.grpc.Channel)
io.grpc.stub.AbstractStub.withCompression(java.lang.String)
io.grpc.stub.AbstractStub.withDeadline(io.grpc.Deadline)
io.grpc.stub.AbstractStub.withDeadlineAfter(long,java.util.concurrent.TimeUnit)
io.grpc.stub.AbstractStub.withExecutor(java.util.concurrent.Executor)
io.grpc.stub.AbstractStub.withInterceptors(io.grpc.ClientInterceptor...)
io.grpc.stub.AbstractStub.withMaxInboundMessageSize(int)
io.grpc.stub.AbstractStub.withMaxOutboundMessageSize(int)
io.grpc.stub.AbstractStub.withOnReadyThreshold(int)
io.grpc.stub.AbstractStub.withWaitForReady()
Methods
build(Channel channel, CallOptions callOptions)
protected ClusterManagerGrpc.ClusterManagerFutureStub build(Channel channel, CallOptions callOptions)
Parameters |
Name |
Description |
channel |
io.grpc.Channel
|
callOptions |
io.grpc.CallOptions
|
Overrides
io.grpc.stub.AbstractStub.build(io.grpc.Channel,io.grpc.CallOptions)
cancelOperation(CancelOperationRequest request)
public ListenableFuture<Empty> cancelOperation(CancelOperationRequest request)
Cancels the specified operation.
Returns |
Type |
Description |
com.google.common.util.concurrent.ListenableFuture<Empty> |
|
checkAutopilotCompatibility(CheckAutopilotCompatibilityRequest request)
public ListenableFuture<CheckAutopilotCompatibilityResponse> checkAutopilotCompatibility(CheckAutopilotCompatibilityRequest request)
Checks the cluster compatibility with Autopilot mode, and returns a list of
compatibility issues.
completeIPRotation(CompleteIPRotationRequest request)
public ListenableFuture<Operation> completeIPRotation(CompleteIPRotationRequest request)
Completes master IP rotation.
Returns |
Type |
Description |
com.google.common.util.concurrent.ListenableFuture<Operation> |
|
completeNodePoolUpgrade(CompleteNodePoolUpgradeRequest request)
public ListenableFuture<Empty> completeNodePoolUpgrade(CompleteNodePoolUpgradeRequest request)
CompleteNodePoolUpgrade will signal an on-going node pool upgrade to
complete.
Returns |
Type |
Description |
com.google.common.util.concurrent.ListenableFuture<Empty> |
|
createCluster(CreateClusterRequest request)
public ListenableFuture<Operation> createCluster(CreateClusterRequest request)
Creates a cluster, consisting of the specified number and type of Google
Compute Engine instances.
By default, the cluster is created in the project's
default
network.
One firewall is added for the cluster. After cluster creation,
the Kubelet creates routes for each node to allow the containers
on that node to communicate with all other instances in the
cluster.
Finally, an entry is added to the project's global metadata indicating
which CIDR range the cluster is using.
Returns |
Type |
Description |
com.google.common.util.concurrent.ListenableFuture<Operation> |
|
createNodePool(CreateNodePoolRequest request)
public ListenableFuture<Operation> createNodePool(CreateNodePoolRequest request)
Creates a node pool for a cluster.
Returns |
Type |
Description |
com.google.common.util.concurrent.ListenableFuture<Operation> |
|
deleteCluster(DeleteClusterRequest request)
public ListenableFuture<Operation> deleteCluster(DeleteClusterRequest request)
Deletes the cluster, including the Kubernetes endpoint and all worker
nodes.
Firewalls and routes that were configured during cluster creation
are also deleted.
Other Google Compute Engine resources that might be in use by the cluster,
such as load balancer resources, are not deleted if they weren't present
when the cluster was initially created.
Returns |
Type |
Description |
com.google.common.util.concurrent.ListenableFuture<Operation> |
|
deleteNodePool(DeleteNodePoolRequest request)
public ListenableFuture<Operation> deleteNodePool(DeleteNodePoolRequest request)
Deletes a node pool from a cluster.
Returns |
Type |
Description |
com.google.common.util.concurrent.ListenableFuture<Operation> |
|
getCluster(GetClusterRequest request)
public ListenableFuture<Cluster> getCluster(GetClusterRequest request)
Gets the details of a specific cluster.
Returns |
Type |
Description |
com.google.common.util.concurrent.ListenableFuture<Cluster> |
|
getJSONWebKeys(GetJSONWebKeysRequest request)
public ListenableFuture<GetJSONWebKeysResponse> getJSONWebKeys(GetJSONWebKeysRequest request)
Gets the public component of the cluster signing keys in
JSON Web Key format.
getNodePool(GetNodePoolRequest request)
public ListenableFuture<NodePool> getNodePool(GetNodePoolRequest request)
Retrieves the requested node pool.
Returns |
Type |
Description |
com.google.common.util.concurrent.ListenableFuture<NodePool> |
|
getOperation(GetOperationRequest request)
public ListenableFuture<Operation> getOperation(GetOperationRequest request)
Gets the specified operation.
Returns |
Type |
Description |
com.google.common.util.concurrent.ListenableFuture<Operation> |
|
getServerConfig(GetServerConfigRequest request)
public ListenableFuture<ServerConfig> getServerConfig(GetServerConfigRequest request)
Returns configuration info about the Google Kubernetes Engine service.
Returns |
Type |
Description |
com.google.common.util.concurrent.ListenableFuture<ServerConfig> |
|
listClusters(ListClustersRequest request)
public ListenableFuture<ListClustersResponse> listClusters(ListClustersRequest request)
Lists all clusters owned by a project in either the specified zone or all
zones.
listNodePools(ListNodePoolsRequest request)
public ListenableFuture<ListNodePoolsResponse> listNodePools(ListNodePoolsRequest request)
Lists the node pools for a cluster.
listOperations(ListOperationsRequest request)
public ListenableFuture<ListOperationsResponse> listOperations(ListOperationsRequest request)
Lists all operations in a project in a specific zone or all zones.
listUsableSubnetworks(ListUsableSubnetworksRequest request)
public ListenableFuture<ListUsableSubnetworksResponse> listUsableSubnetworks(ListUsableSubnetworksRequest request)
Lists subnetworks that are usable for creating clusters in a project.
rollbackNodePoolUpgrade(RollbackNodePoolUpgradeRequest request)
public ListenableFuture<Operation> rollbackNodePoolUpgrade(RollbackNodePoolUpgradeRequest request)
Rolls back a previously Aborted or Failed NodePool upgrade.
This makes no changes if the last upgrade successfully completed.
Returns |
Type |
Description |
com.google.common.util.concurrent.ListenableFuture<Operation> |
|
setAddonsConfig(SetAddonsConfigRequest request)
public ListenableFuture<Operation> setAddonsConfig(SetAddonsConfigRequest request)
Sets the addons for a specific cluster.
Returns |
Type |
Description |
com.google.common.util.concurrent.ListenableFuture<Operation> |
|
setLabels(SetLabelsRequest request)
public ListenableFuture<Operation> setLabels(SetLabelsRequest request)
Sets labels on a cluster.
Returns |
Type |
Description |
com.google.common.util.concurrent.ListenableFuture<Operation> |
|
setLegacyAbac(SetLegacyAbacRequest request)
public ListenableFuture<Operation> setLegacyAbac(SetLegacyAbacRequest request)
Enables or disables the ABAC authorization mechanism on a cluster.
Returns |
Type |
Description |
com.google.common.util.concurrent.ListenableFuture<Operation> |
|
setLocations(SetLocationsRequest request) (deprecated)
public ListenableFuture<Operation> setLocations(SetLocationsRequest request)
Returns |
Type |
Description |
com.google.common.util.concurrent.ListenableFuture<Operation> |
|
setLoggingService(SetLoggingServiceRequest request)
public ListenableFuture<Operation> setLoggingService(SetLoggingServiceRequest request)
Sets the logging service for a specific cluster.
Returns |
Type |
Description |
com.google.common.util.concurrent.ListenableFuture<Operation> |
|
setMaintenancePolicy(SetMaintenancePolicyRequest request)
public ListenableFuture<Operation> setMaintenancePolicy(SetMaintenancePolicyRequest request)
Sets the maintenance policy for a cluster.
Returns |
Type |
Description |
com.google.common.util.concurrent.ListenableFuture<Operation> |
|
setMasterAuth(SetMasterAuthRequest request)
public ListenableFuture<Operation> setMasterAuth(SetMasterAuthRequest request)
Sets master auth materials. Currently supports changing the admin password
or a specific cluster, either via password generation or explicitly setting
the password.
Returns |
Type |
Description |
com.google.common.util.concurrent.ListenableFuture<Operation> |
|
setMonitoringService(SetMonitoringServiceRequest request)
public ListenableFuture<Operation> setMonitoringService(SetMonitoringServiceRequest request)
Sets the monitoring service for a specific cluster.
Returns |
Type |
Description |
com.google.common.util.concurrent.ListenableFuture<Operation> |
|
setNetworkPolicy(SetNetworkPolicyRequest request)
public ListenableFuture<Operation> setNetworkPolicy(SetNetworkPolicyRequest request)
Enables or disables Network Policy for a cluster.
Returns |
Type |
Description |
com.google.common.util.concurrent.ListenableFuture<Operation> |
|
setNodePoolAutoscaling(SetNodePoolAutoscalingRequest request)
public ListenableFuture<Operation> setNodePoolAutoscaling(SetNodePoolAutoscalingRequest request)
Sets the autoscaling settings for the specified node pool.
Returns |
Type |
Description |
com.google.common.util.concurrent.ListenableFuture<Operation> |
|
setNodePoolManagement(SetNodePoolManagementRequest request)
public ListenableFuture<Operation> setNodePoolManagement(SetNodePoolManagementRequest request)
Sets the NodeManagement options for a node pool.
Returns |
Type |
Description |
com.google.common.util.concurrent.ListenableFuture<Operation> |
|
setNodePoolSize(SetNodePoolSizeRequest request)
public ListenableFuture<Operation> setNodePoolSize(SetNodePoolSizeRequest request)
Sets the size for a specific node pool. The new size will be used for all
replicas, including future replicas created by modifying
NodePool.locations.
Returns |
Type |
Description |
com.google.common.util.concurrent.ListenableFuture<Operation> |
|
startIPRotation(StartIPRotationRequest request)
public ListenableFuture<Operation> startIPRotation(StartIPRotationRequest request)
Starts master IP rotation.
Returns |
Type |
Description |
com.google.common.util.concurrent.ListenableFuture<Operation> |
|
updateCluster(UpdateClusterRequest request)
public ListenableFuture<Operation> updateCluster(UpdateClusterRequest request)
Updates the settings of a specific cluster.
Returns |
Type |
Description |
com.google.common.util.concurrent.ListenableFuture<Operation> |
|
updateMaster(UpdateMasterRequest request)
public ListenableFuture<Operation> updateMaster(UpdateMasterRequest request)
Updates the master for a specific cluster.
Returns |
Type |
Description |
com.google.common.util.concurrent.ListenableFuture<Operation> |
|
updateNodePool(UpdateNodePoolRequest request)
public ListenableFuture<Operation> updateNodePool(UpdateNodePoolRequest request)
Updates the version and/or image type for the specified node pool.
Returns |
Type |
Description |
com.google.common.util.concurrent.ListenableFuture<Operation> |
|