Class ClusterManagerGrpc.ClusterManagerImplBase (2.6.0)

public abstract static class ClusterManagerGrpc.ClusterManagerImplBase implements BindableService

Google Kubernetes Engine Cluster Manager v1

Inheritance

java.lang.Object > ClusterManagerGrpc.ClusterManagerImplBase

Implements

io.grpc.BindableService

Constructors

ClusterManagerImplBase()

public ClusterManagerImplBase()

Methods

bindService()

public final ServerServiceDefinition bindService()
Returns
TypeDescription
io.grpc.ServerServiceDefinition

cancelOperation(CancelOperationRequest request, StreamObserver<Empty> responseObserver)

public void cancelOperation(CancelOperationRequest request, StreamObserver<Empty> responseObserver)

Cancels the specified operation.

Parameters
NameDescription
requestCancelOperationRequest
responseObserverio.grpc.stub.StreamObserver<Empty>

completeIPRotation(CompleteIPRotationRequest request, StreamObserver<Operation> responseObserver)

public void completeIPRotation(CompleteIPRotationRequest request, StreamObserver<Operation> responseObserver)

Completes master IP rotation.

Parameters
NameDescription
requestCompleteIPRotationRequest
responseObserverio.grpc.stub.StreamObserver<Operation>

completeNodePoolUpgrade(CompleteNodePoolUpgradeRequest request, StreamObserver<Empty> responseObserver)

public void completeNodePoolUpgrade(CompleteNodePoolUpgradeRequest request, StreamObserver<Empty> responseObserver)

CompleteNodePoolUpgrade will signal an on-going node pool upgrade to complete.

Parameters
NameDescription
requestCompleteNodePoolUpgradeRequest
responseObserverio.grpc.stub.StreamObserver<Empty>

createCluster(CreateClusterRequest request, StreamObserver<Operation> responseObserver)

public void createCluster(CreateClusterRequest request, StreamObserver<Operation> responseObserver)

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.

Parameters
NameDescription
requestCreateClusterRequest
responseObserverio.grpc.stub.StreamObserver<Operation>

createNodePool(CreateNodePoolRequest request, StreamObserver<Operation> responseObserver)

public void createNodePool(CreateNodePoolRequest request, StreamObserver<Operation> responseObserver)

Creates a node pool for a cluster.

Parameters
NameDescription
requestCreateNodePoolRequest
responseObserverio.grpc.stub.StreamObserver<Operation>

deleteCluster(DeleteClusterRequest request, StreamObserver<Operation> responseObserver)

public void deleteCluster(DeleteClusterRequest request, StreamObserver<Operation> responseObserver)

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.

Parameters
NameDescription
requestDeleteClusterRequest
responseObserverio.grpc.stub.StreamObserver<Operation>

deleteNodePool(DeleteNodePoolRequest request, StreamObserver<Operation> responseObserver)

public void deleteNodePool(DeleteNodePoolRequest request, StreamObserver<Operation> responseObserver)

Deletes a node pool from a cluster.

Parameters
NameDescription
requestDeleteNodePoolRequest
responseObserverio.grpc.stub.StreamObserver<Operation>

getCluster(GetClusterRequest request, StreamObserver<Cluster> responseObserver)

public void getCluster(GetClusterRequest request, StreamObserver<Cluster> responseObserver)

Gets the details of a specific cluster.

Parameters
NameDescription
requestGetClusterRequest
responseObserverio.grpc.stub.StreamObserver<Cluster>

getJSONWebKeys(GetJSONWebKeysRequest request, StreamObserver<GetJSONWebKeysResponse> responseObserver)

public void getJSONWebKeys(GetJSONWebKeysRequest request, StreamObserver<GetJSONWebKeysResponse> responseObserver)

Gets the public component of the cluster signing keys in JSON Web Key format. This API is not yet intended for general use, and is not available for all clusters.

Parameters
NameDescription
requestGetJSONWebKeysRequest
responseObserverio.grpc.stub.StreamObserver<GetJSONWebKeysResponse>

getNodePool(GetNodePoolRequest request, StreamObserver<NodePool> responseObserver)

public void getNodePool(GetNodePoolRequest request, StreamObserver<NodePool> responseObserver)

Retrieves the requested node pool.

Parameters
NameDescription
requestGetNodePoolRequest
responseObserverio.grpc.stub.StreamObserver<NodePool>

getOperation(GetOperationRequest request, StreamObserver<Operation> responseObserver)

public void getOperation(GetOperationRequest request, StreamObserver<Operation> responseObserver)

Gets the specified operation.

Parameters
NameDescription
requestGetOperationRequest
responseObserverio.grpc.stub.StreamObserver<Operation>

getServerConfig(GetServerConfigRequest request, StreamObserver<ServerConfig> responseObserver)

public void getServerConfig(GetServerConfigRequest request, StreamObserver<ServerConfig> responseObserver)

Returns configuration info about the Google Kubernetes Engine service.

Parameters
NameDescription
requestGetServerConfigRequest
responseObserverio.grpc.stub.StreamObserver<ServerConfig>

listClusters(ListClustersRequest request, StreamObserver<ListClustersResponse> responseObserver)

public void listClusters(ListClustersRequest request, StreamObserver<ListClustersResponse> responseObserver)

Lists all clusters owned by a project in either the specified zone or all zones.

Parameters
NameDescription
requestListClustersRequest
responseObserverio.grpc.stub.StreamObserver<ListClustersResponse>

listNodePools(ListNodePoolsRequest request, StreamObserver<ListNodePoolsResponse> responseObserver)

public void listNodePools(ListNodePoolsRequest request, StreamObserver<ListNodePoolsResponse> responseObserver)

Lists the node pools for a cluster.

Parameters
NameDescription
requestListNodePoolsRequest
responseObserverio.grpc.stub.StreamObserver<ListNodePoolsResponse>

listOperations(ListOperationsRequest request, StreamObserver<ListOperationsResponse> responseObserver)

public void listOperations(ListOperationsRequest request, StreamObserver<ListOperationsResponse> responseObserver)

Lists all operations in a project in a specific zone or all zones.

Parameters
NameDescription
requestListOperationsRequest
responseObserverio.grpc.stub.StreamObserver<ListOperationsResponse>

listUsableSubnetworks(ListUsableSubnetworksRequest request, StreamObserver<ListUsableSubnetworksResponse> responseObserver)

public void listUsableSubnetworks(ListUsableSubnetworksRequest request, StreamObserver<ListUsableSubnetworksResponse> responseObserver)

Lists subnetworks that are usable for creating clusters in a project.

Parameters
NameDescription
requestListUsableSubnetworksRequest
responseObserverio.grpc.stub.StreamObserver<ListUsableSubnetworksResponse>

rollbackNodePoolUpgrade(RollbackNodePoolUpgradeRequest request, StreamObserver<Operation> responseObserver)

public void rollbackNodePoolUpgrade(RollbackNodePoolUpgradeRequest request, StreamObserver<Operation> responseObserver)

Rolls back a previously Aborted or Failed NodePool upgrade. This makes no changes if the last upgrade successfully completed.

Parameters
NameDescription
requestRollbackNodePoolUpgradeRequest
responseObserverio.grpc.stub.StreamObserver<Operation>

setAddonsConfig(SetAddonsConfigRequest request, StreamObserver<Operation> responseObserver)

public void setAddonsConfig(SetAddonsConfigRequest request, StreamObserver<Operation> responseObserver)

Sets the addons for a specific cluster.

Parameters
NameDescription
requestSetAddonsConfigRequest
responseObserverio.grpc.stub.StreamObserver<Operation>

setLabels(SetLabelsRequest request, StreamObserver<Operation> responseObserver)

public void setLabels(SetLabelsRequest request, StreamObserver<Operation> responseObserver)

Sets labels on a cluster.

Parameters
NameDescription
requestSetLabelsRequest
responseObserverio.grpc.stub.StreamObserver<Operation>

setLegacyAbac(SetLegacyAbacRequest request, StreamObserver<Operation> responseObserver)

public void setLegacyAbac(SetLegacyAbacRequest request, StreamObserver<Operation> responseObserver)

Enables or disables the ABAC authorization mechanism on a cluster.

Parameters
NameDescription
requestSetLegacyAbacRequest
responseObserverio.grpc.stub.StreamObserver<Operation>

setLocations(SetLocationsRequest request, StreamObserver<Operation> responseObserver)

public void setLocations(SetLocationsRequest request, StreamObserver<Operation> responseObserver)

Sets the locations for a specific cluster. Deprecated. Use projects.locations.clusters.update instead.

Parameters
NameDescription
requestSetLocationsRequest
responseObserverio.grpc.stub.StreamObserver<Operation>

setLoggingService(SetLoggingServiceRequest request, StreamObserver<Operation> responseObserver)

public void setLoggingService(SetLoggingServiceRequest request, StreamObserver<Operation> responseObserver)

Sets the logging service for a specific cluster.

Parameters
NameDescription
requestSetLoggingServiceRequest
responseObserverio.grpc.stub.StreamObserver<Operation>

setMaintenancePolicy(SetMaintenancePolicyRequest request, StreamObserver<Operation> responseObserver)

public void setMaintenancePolicy(SetMaintenancePolicyRequest request, StreamObserver<Operation> responseObserver)

Sets the maintenance policy for a cluster.

Parameters
NameDescription
requestSetMaintenancePolicyRequest
responseObserverio.grpc.stub.StreamObserver<Operation>

setMasterAuth(SetMasterAuthRequest request, StreamObserver<Operation> responseObserver)

public void setMasterAuth(SetMasterAuthRequest request, StreamObserver<Operation> responseObserver)

Sets master auth materials. Currently supports changing the admin password or a specific cluster, either via password generation or explicitly setting the password.

Parameters
NameDescription
requestSetMasterAuthRequest
responseObserverio.grpc.stub.StreamObserver<Operation>

setMonitoringService(SetMonitoringServiceRequest request, StreamObserver<Operation> responseObserver)

public void setMonitoringService(SetMonitoringServiceRequest request, StreamObserver<Operation> responseObserver)

Sets the monitoring service for a specific cluster.

Parameters
NameDescription
requestSetMonitoringServiceRequest
responseObserverio.grpc.stub.StreamObserver<Operation>

setNetworkPolicy(SetNetworkPolicyRequest request, StreamObserver<Operation> responseObserver)

public void setNetworkPolicy(SetNetworkPolicyRequest request, StreamObserver<Operation> responseObserver)

Enables or disables Network Policy for a cluster.

Parameters
NameDescription
requestSetNetworkPolicyRequest
responseObserverio.grpc.stub.StreamObserver<Operation>

setNodePoolAutoscaling(SetNodePoolAutoscalingRequest request, StreamObserver<Operation> responseObserver)

public void setNodePoolAutoscaling(SetNodePoolAutoscalingRequest request, StreamObserver<Operation> responseObserver)

Sets the autoscaling settings for the specified node pool.

Parameters
NameDescription
requestSetNodePoolAutoscalingRequest
responseObserverio.grpc.stub.StreamObserver<Operation>

setNodePoolManagement(SetNodePoolManagementRequest request, StreamObserver<Operation> responseObserver)

public void setNodePoolManagement(SetNodePoolManagementRequest request, StreamObserver<Operation> responseObserver)

Sets the NodeManagement options for a node pool.

Parameters
NameDescription
requestSetNodePoolManagementRequest
responseObserverio.grpc.stub.StreamObserver<Operation>

setNodePoolSize(SetNodePoolSizeRequest request, StreamObserver<Operation> responseObserver)

public void setNodePoolSize(SetNodePoolSizeRequest request, StreamObserver<Operation> responseObserver)

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.

Parameters
NameDescription
requestSetNodePoolSizeRequest
responseObserverio.grpc.stub.StreamObserver<Operation>

startIPRotation(StartIPRotationRequest request, StreamObserver<Operation> responseObserver)

public void startIPRotation(StartIPRotationRequest request, StreamObserver<Operation> responseObserver)

Starts master IP rotation.

Parameters
NameDescription
requestStartIPRotationRequest
responseObserverio.grpc.stub.StreamObserver<Operation>

updateCluster(UpdateClusterRequest request, StreamObserver<Operation> responseObserver)

public void updateCluster(UpdateClusterRequest request, StreamObserver<Operation> responseObserver)

Updates the settings of a specific cluster.

Parameters
NameDescription
requestUpdateClusterRequest
responseObserverio.grpc.stub.StreamObserver<Operation>

updateMaster(UpdateMasterRequest request, StreamObserver<Operation> responseObserver)

public void updateMaster(UpdateMasterRequest request, StreamObserver<Operation> responseObserver)

Updates the master for a specific cluster.

Parameters
NameDescription
requestUpdateMasterRequest
responseObserverio.grpc.stub.StreamObserver<Operation>

updateNodePool(UpdateNodePoolRequest request, StreamObserver<Operation> responseObserver)

public void updateNodePool(UpdateNodePoolRequest request, StreamObserver<Operation> responseObserver)

Updates the version and/or image type for the specified node pool.

Parameters
NameDescription
requestUpdateNodePoolRequest
responseObserverio.grpc.stub.StreamObserver<Operation>