public static final class ClusterManagerGrpc.ClusterManagerStub extends io.grpc.stub.AbstractStub<ClusterManagerGrpc.ClusterManagerStub>
Google Container Engine Cluster Manager v1
Modifier and Type | Method and Description |
---|---|
protected ClusterManagerGrpc.ClusterManagerStub |
build(io.grpc.Channel channel,
io.grpc.CallOptions callOptions) |
void |
cancelOperation(CancelOperationRequest request,
io.grpc.stub.StreamObserver<Empty> responseObserver)
Cancels the specified operation.
|
void |
completeIPRotation(CompleteIPRotationRequest request,
io.grpc.stub.StreamObserver<Operation> responseObserver)
Completes master IP rotation.
|
void |
createCluster(CreateClusterRequest request,
io.grpc.stub.StreamObserver<Operation> responseObserver)
Creates a cluster, consisting of the specified number and type of Google
Compute Engine instances.
|
void |
createNodePool(CreateNodePoolRequest request,
io.grpc.stub.StreamObserver<Operation> responseObserver)
Creates a node pool for a cluster.
|
void |
deleteCluster(DeleteClusterRequest request,
io.grpc.stub.StreamObserver<Operation> responseObserver)
Deletes the cluster, including the Kubernetes endpoint and all worker
nodes.
|
void |
deleteNodePool(DeleteNodePoolRequest request,
io.grpc.stub.StreamObserver<Operation> responseObserver)
Deletes a node pool from a cluster.
|
void |
getCluster(GetClusterRequest request,
io.grpc.stub.StreamObserver<Cluster> responseObserver)
Gets the details of a specific cluster.
|
void |
getNodePool(GetNodePoolRequest request,
io.grpc.stub.StreamObserver<NodePool> responseObserver)
Retrieves the node pool requested.
|
void |
getOperation(GetOperationRequest request,
io.grpc.stub.StreamObserver<Operation> responseObserver)
Gets the specified operation.
|
void |
getServerConfig(GetServerConfigRequest request,
io.grpc.stub.StreamObserver<ServerConfig> responseObserver)
Returns configuration info about the Container Engine service.
|
void |
listClusters(ListClustersRequest request,
io.grpc.stub.StreamObserver<ListClustersResponse> responseObserver)
Lists all clusters owned by a project in either the specified zone or all
zones.
|
void |
listNodePools(ListNodePoolsRequest request,
io.grpc.stub.StreamObserver<ListNodePoolsResponse> responseObserver)
Lists the node pools for a cluster.
|
void |
listOperations(ListOperationsRequest request,
io.grpc.stub.StreamObserver<ListOperationsResponse> responseObserver)
Lists all operations in a project in a specific zone or all zones.
|
void |
rollbackNodePoolUpgrade(RollbackNodePoolUpgradeRequest request,
io.grpc.stub.StreamObserver<Operation> responseObserver)
Roll back the previously Aborted or Failed NodePool upgrade.
|
void |
setAddonsConfig(SetAddonsConfigRequest request,
io.grpc.stub.StreamObserver<Operation> responseObserver)
Sets the addons of a specific cluster.
|
void |
setLabels(SetLabelsRequest request,
io.grpc.stub.StreamObserver<Operation> responseObserver)
Sets labels on a cluster.
|
void |
setLegacyAbac(SetLegacyAbacRequest request,
io.grpc.stub.StreamObserver<Operation> responseObserver)
Enables or disables the ABAC authorization mechanism on a cluster.
|
void |
setLocations(SetLocationsRequest request,
io.grpc.stub.StreamObserver<Operation> responseObserver)
Sets the locations of a specific cluster.
|
void |
setLoggingService(SetLoggingServiceRequest request,
io.grpc.stub.StreamObserver<Operation> responseObserver)
Sets the logging service of a specific cluster.
|
void |
setMaintenancePolicy(SetMaintenancePolicyRequest request,
io.grpc.stub.StreamObserver<Operation> responseObserver)
Sets the maintenance policy for a cluster.
|
void |
setMasterAuth(SetMasterAuthRequest request,
io.grpc.stub.StreamObserver<Operation> responseObserver)
Used to set master auth materials.
|
void |
setMonitoringService(SetMonitoringServiceRequest request,
io.grpc.stub.StreamObserver<Operation> responseObserver)
Sets the monitoring service of a specific cluster.
|
void |
setNetworkPolicy(SetNetworkPolicyRequest request,
io.grpc.stub.StreamObserver<Operation> responseObserver)
Enables/Disables Network Policy for a cluster.
|
void |
setNodePoolAutoscaling(SetNodePoolAutoscalingRequest request,
io.grpc.stub.StreamObserver<Operation> responseObserver)
Sets the autoscaling settings of a specific node pool.
|
void |
setNodePoolManagement(SetNodePoolManagementRequest request,
io.grpc.stub.StreamObserver<Operation> responseObserver)
Sets the NodeManagement options for a node pool.
|
void |
setNodePoolSize(SetNodePoolSizeRequest request,
io.grpc.stub.StreamObserver<Operation> responseObserver)
Sets the size of a specific node pool.
|
void |
startIPRotation(StartIPRotationRequest request,
io.grpc.stub.StreamObserver<Operation> responseObserver)
Start master IP rotation.
|
void |
updateCluster(UpdateClusterRequest request,
io.grpc.stub.StreamObserver<Operation> responseObserver)
Updates the settings of a specific cluster.
|
void |
updateMaster(UpdateMasterRequest request,
io.grpc.stub.StreamObserver<Operation> responseObserver)
Updates the master of a specific cluster.
|
void |
updateNodePool(UpdateNodePoolRequest request,
io.grpc.stub.StreamObserver<Operation> responseObserver)
Updates the version and/or image type of a specific node pool.
|
protected ClusterManagerGrpc.ClusterManagerStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
build
in class io.grpc.stub.AbstractStub<ClusterManagerGrpc.ClusterManagerStub>
public void listClusters(ListClustersRequest request, io.grpc.stub.StreamObserver<ListClustersResponse> responseObserver)
Lists all clusters owned by a project in either the specified zone or all zones.
public void getCluster(GetClusterRequest request, io.grpc.stub.StreamObserver<Cluster> responseObserver)
Gets the details of a specific cluster.
public void createCluster(CreateClusterRequest request, io.grpc.stub.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](/compute/docs/networks-and-firewalls#networks). One firewall is added for the cluster. After cluster creation, the cluster 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 is being used by the cluster.
public void updateCluster(UpdateClusterRequest request, io.grpc.stub.StreamObserver<Operation> responseObserver)
Updates the settings of a specific cluster.
public void updateNodePool(UpdateNodePoolRequest request, io.grpc.stub.StreamObserver<Operation> responseObserver)
Updates the version and/or image type of a specific node pool.
public void setNodePoolAutoscaling(SetNodePoolAutoscalingRequest request, io.grpc.stub.StreamObserver<Operation> responseObserver)
Sets the autoscaling settings of a specific node pool.
public void setLoggingService(SetLoggingServiceRequest request, io.grpc.stub.StreamObserver<Operation> responseObserver)
Sets the logging service of a specific cluster.
public void setMonitoringService(SetMonitoringServiceRequest request, io.grpc.stub.StreamObserver<Operation> responseObserver)
Sets the monitoring service of a specific cluster.
public void setAddonsConfig(SetAddonsConfigRequest request, io.grpc.stub.StreamObserver<Operation> responseObserver)
Sets the addons of a specific cluster.
public void setLocations(SetLocationsRequest request, io.grpc.stub.StreamObserver<Operation> responseObserver)
Sets the locations of a specific cluster.
public void updateMaster(UpdateMasterRequest request, io.grpc.stub.StreamObserver<Operation> responseObserver)
Updates the master of a specific cluster.
public void setMasterAuth(SetMasterAuthRequest request, io.grpc.stub.StreamObserver<Operation> responseObserver)
Used to set master auth materials. Currently supports :- Changing the admin password of a specific cluster. This can be either via password generation or explicitly set the password.
public void deleteCluster(DeleteClusterRequest request, io.grpc.stub.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 (e.g. load balancer resources) will not be deleted if they weren't present at the initial create time.
public void listOperations(ListOperationsRequest request, io.grpc.stub.StreamObserver<ListOperationsResponse> responseObserver)
Lists all operations in a project in a specific zone or all zones.
public void getOperation(GetOperationRequest request, io.grpc.stub.StreamObserver<Operation> responseObserver)
Gets the specified operation.
public void cancelOperation(CancelOperationRequest request, io.grpc.stub.StreamObserver<Empty> responseObserver)
Cancels the specified operation.
public void getServerConfig(GetServerConfigRequest request, io.grpc.stub.StreamObserver<ServerConfig> responseObserver)
Returns configuration info about the Container Engine service.
public void listNodePools(ListNodePoolsRequest request, io.grpc.stub.StreamObserver<ListNodePoolsResponse> responseObserver)
Lists the node pools for a cluster.
public void getNodePool(GetNodePoolRequest request, io.grpc.stub.StreamObserver<NodePool> responseObserver)
Retrieves the node pool requested.
public void createNodePool(CreateNodePoolRequest request, io.grpc.stub.StreamObserver<Operation> responseObserver)
Creates a node pool for a cluster.
public void deleteNodePool(DeleteNodePoolRequest request, io.grpc.stub.StreamObserver<Operation> responseObserver)
Deletes a node pool from a cluster.
public void rollbackNodePoolUpgrade(RollbackNodePoolUpgradeRequest request, io.grpc.stub.StreamObserver<Operation> responseObserver)
Roll back the previously Aborted or Failed NodePool upgrade. This will be an no-op if the last upgrade successfully completed.
public void setNodePoolManagement(SetNodePoolManagementRequest request, io.grpc.stub.StreamObserver<Operation> responseObserver)
Sets the NodeManagement options for a node pool.
public void setLabels(SetLabelsRequest request, io.grpc.stub.StreamObserver<Operation> responseObserver)
Sets labels on a cluster.
public void setLegacyAbac(SetLegacyAbacRequest request, io.grpc.stub.StreamObserver<Operation> responseObserver)
Enables or disables the ABAC authorization mechanism on a cluster.
public void startIPRotation(StartIPRotationRequest request, io.grpc.stub.StreamObserver<Operation> responseObserver)
Start master IP rotation.
public void completeIPRotation(CompleteIPRotationRequest request, io.grpc.stub.StreamObserver<Operation> responseObserver)
Completes master IP rotation.
public void setNodePoolSize(SetNodePoolSizeRequest request, io.grpc.stub.StreamObserver<Operation> responseObserver)
Sets the size of a specific node pool.
public void setNetworkPolicy(SetNetworkPolicyRequest request, io.grpc.stub.StreamObserver<Operation> responseObserver)
Enables/Disables Network Policy for a cluster.
public void setMaintenancePolicy(SetMaintenancePolicyRequest request, io.grpc.stub.StreamObserver<Operation> responseObserver)
Sets the maintenance policy for a cluster.