Package com.google.container.v1beta1
Class ClusterManagerGrpc.ClusterManagerStub
java.lang.Object
io.grpc.stub.AbstractStub<S>
io.grpc.stub.AbstractAsyncStub<ClusterManagerGrpc.ClusterManagerStub>
com.google.container.v1beta1.ClusterManagerGrpc.ClusterManagerStub
- Enclosing class:
- ClusterManagerGrpc
public static final class ClusterManagerGrpc.ClusterManagerStub
extends io.grpc.stub.AbstractAsyncStub<ClusterManagerGrpc.ClusterManagerStub>
A stub to allow clients to do asynchronous rpc calls to service ClusterManager.
Google Kubernetes Engine Cluster Manager v1beta1
-
Nested Class Summary
Nested classes/interfaces inherited from class io.grpc.stub.AbstractStub
io.grpc.stub.AbstractStub.StubFactory<T extends io.grpc.stub.AbstractStub<T>> -
Method Summary
Modifier and TypeMethodDescriptionprotected ClusterManagerGrpc.ClusterManagerStubbuild(io.grpc.Channel channel, io.grpc.CallOptions callOptions) voidcancelOperation(CancelOperationRequest request, io.grpc.stub.StreamObserver<com.google.protobuf.Empty> responseObserver) Cancels the specified operation.voidcheckAutopilotCompatibility(CheckAutopilotCompatibilityRequest request, io.grpc.stub.StreamObserver<CheckAutopilotCompatibilityResponse> responseObserver) Checks the cluster compatibility with Autopilot mode, and returns a list of compatibility issues.voidcompleteControlPlaneUpgrade(CompleteControlPlaneUpgradeRequest request, io.grpc.stub.StreamObserver<Operation> responseObserver) CompleteControlPlaneUpgrade completes the rollback-safe upgrade by performing the step two upgrade for a specific cluster.voidcompleteIPRotation(CompleteIPRotationRequest request, io.grpc.stub.StreamObserver<Operation> responseObserver) Completes master IP rotation.voidcompleteNodePoolUpgrade(CompleteNodePoolUpgradeRequest request, io.grpc.stub.StreamObserver<com.google.protobuf.Empty> responseObserver) CompleteNodePoolUpgrade will signal an on-going node pool upgrade to complete.voidcreateCluster(CreateClusterRequest request, io.grpc.stub.StreamObserver<Operation> responseObserver) Creates a cluster, consisting of the specified number and type of Google Compute Engine instances.voidcreateNodePool(CreateNodePoolRequest request, io.grpc.stub.StreamObserver<Operation> responseObserver) Creates a node pool for a cluster.voiddeleteCluster(DeleteClusterRequest request, io.grpc.stub.StreamObserver<Operation> responseObserver) Deletes the cluster, including the Kubernetes endpoint and all worker nodes.voiddeleteNodePool(DeleteNodePoolRequest request, io.grpc.stub.StreamObserver<Operation> responseObserver) Deletes a node pool from a cluster.voidfetchClusterUpgradeInfo(FetchClusterUpgradeInfoRequest request, io.grpc.stub.StreamObserver<ClusterUpgradeInfo> responseObserver) Fetch upgrade information of a specific cluster.voidfetchNodePoolUpgradeInfo(FetchNodePoolUpgradeInfoRequest request, io.grpc.stub.StreamObserver<NodePoolUpgradeInfo> responseObserver) Fetch upgrade information of a specific nodepool.voidgetCluster(GetClusterRequest request, io.grpc.stub.StreamObserver<Cluster> responseObserver) Gets the details for a specific cluster.voidgetJSONWebKeys(GetJSONWebKeysRequest request, io.grpc.stub.StreamObserver<GetJSONWebKeysResponse> responseObserver) Gets the public component of the cluster signing keys in JSON Web Key format.voidgetNodePool(GetNodePoolRequest request, io.grpc.stub.StreamObserver<NodePool> responseObserver) Retrieves the requested node pool.voidgetOperation(GetOperationRequest request, io.grpc.stub.StreamObserver<Operation> responseObserver) Gets the specified operation.voidgetServerConfig(GetServerConfigRequest request, io.grpc.stub.StreamObserver<ServerConfig> responseObserver) Returns configuration info about the Google Kubernetes Engine service.voidlistClusters(ListClustersRequest request, io.grpc.stub.StreamObserver<ListClustersResponse> responseObserver) Lists all clusters owned by a project in either the specified zone or all zones.voidlistLocations(ListLocationsRequest request, io.grpc.stub.StreamObserver<ListLocationsResponse> responseObserver) Fetches locations that offer Google Kubernetes Engine.voidlistNodePools(ListNodePoolsRequest request, io.grpc.stub.StreamObserver<ListNodePoolsResponse> responseObserver) Lists the node pools for a cluster.voidlistOperations(ListOperationsRequest request, io.grpc.stub.StreamObserver<ListOperationsResponse> responseObserver) Lists all operations in a project in the specified zone or all zones.voidlistUsableSubnetworks(ListUsableSubnetworksRequest request, io.grpc.stub.StreamObserver<ListUsableSubnetworksResponse> responseObserver) Lists subnetworks that can be used for creating clusters in a project.voidrollbackNodePoolUpgrade(RollbackNodePoolUpgradeRequest request, io.grpc.stub.StreamObserver<Operation> responseObserver) Rolls back a previously Aborted or Failed NodePool upgrade.voidsetAddonsConfig(SetAddonsConfigRequest request, io.grpc.stub.StreamObserver<Operation> responseObserver) Sets the addons for a specific cluster.voidsetLabels(SetLabelsRequest request, io.grpc.stub.StreamObserver<Operation> responseObserver) Sets labels on a cluster.voidsetLegacyAbac(SetLegacyAbacRequest request, io.grpc.stub.StreamObserver<Operation> responseObserver) Enables or disables the ABAC authorization mechanism on a cluster.voidsetLocations(SetLocationsRequest request, io.grpc.stub.StreamObserver<Operation> responseObserver) Deprecated.voidsetLoggingService(SetLoggingServiceRequest request, io.grpc.stub.StreamObserver<Operation> responseObserver) Sets the logging service for a specific cluster.voidsetMaintenancePolicy(SetMaintenancePolicyRequest request, io.grpc.stub.StreamObserver<Operation> responseObserver) Sets the maintenance policy for a cluster.voidsetMasterAuth(SetMasterAuthRequest request, io.grpc.stub.StreamObserver<Operation> responseObserver) Sets master auth materials.voidsetMonitoringService(SetMonitoringServiceRequest request, io.grpc.stub.StreamObserver<Operation> responseObserver) Sets the monitoring service for a specific cluster.voidsetNetworkPolicy(SetNetworkPolicyRequest request, io.grpc.stub.StreamObserver<Operation> responseObserver) Enables or disables Network Policy for a cluster.voidsetNodePoolAutoscaling(SetNodePoolAutoscalingRequest request, io.grpc.stub.StreamObserver<Operation> responseObserver) Sets the autoscaling settings of a specific node pool.voidsetNodePoolManagement(SetNodePoolManagementRequest request, io.grpc.stub.StreamObserver<Operation> responseObserver) Sets the NodeManagement options for a node pool.voidsetNodePoolSize(SetNodePoolSizeRequest request, io.grpc.stub.StreamObserver<Operation> responseObserver) SetNodePoolSizeRequest sets the size of a node pool.voidstartIPRotation(StartIPRotationRequest request, io.grpc.stub.StreamObserver<Operation> responseObserver) Starts master IP rotation.voidupdateCluster(UpdateClusterRequest request, io.grpc.stub.StreamObserver<Operation> responseObserver) Updates the settings for a specific cluster.voidupdateMaster(UpdateMasterRequest request, io.grpc.stub.StreamObserver<Operation> responseObserver) Updates the master for a specific cluster.voidupdateNodePool(UpdateNodePoolRequest request, io.grpc.stub.StreamObserver<Operation> responseObserver) Updates the version and/or image type of a specific node pool.Methods inherited from class io.grpc.stub.AbstractAsyncStub
newStub, newStubMethods inherited from class io.grpc.stub.AbstractStub
getCallOptions, getChannel, withCallCredentials, withChannel, withCompression, withDeadline, withDeadlineAfter, withDeadlineAfter, withExecutor, withInterceptors, withMaxInboundMessageSize, withMaxOutboundMessageSize, withOnReadyThreshold, withOption, withWaitForReady
-
Method Details
-
build
protected ClusterManagerGrpc.ClusterManagerStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) - Specified by:
buildin classio.grpc.stub.AbstractStub<ClusterManagerGrpc.ClusterManagerStub>
-
listClusters
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.
-
getCluster
public void getCluster(GetClusterRequest request, io.grpc.stub.StreamObserver<Cluster> responseObserver) Gets the details for a specific cluster.
-
createCluster
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](https://cloud.google.com/compute/docs/networks-and-firewalls#networks). 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.
-
updateCluster
public void updateCluster(UpdateClusterRequest request, io.grpc.stub.StreamObserver<Operation> responseObserver) Updates the settings for a specific cluster.
-
updateNodePool
public void updateNodePool(UpdateNodePoolRequest request, io.grpc.stub.StreamObserver<Operation> responseObserver) Updates the version and/or image type of a specific node pool.
-
setNodePoolAutoscaling
public void setNodePoolAutoscaling(SetNodePoolAutoscalingRequest request, io.grpc.stub.StreamObserver<Operation> responseObserver) Sets the autoscaling settings of a specific node pool.
-
setLoggingService
public void setLoggingService(SetLoggingServiceRequest request, io.grpc.stub.StreamObserver<Operation> responseObserver) Sets the logging service for a specific cluster.
-
setMonitoringService
public void setMonitoringService(SetMonitoringServiceRequest request, io.grpc.stub.StreamObserver<Operation> responseObserver) Sets the monitoring service for a specific cluster.
-
setAddonsConfig
public void setAddonsConfig(SetAddonsConfigRequest request, io.grpc.stub.StreamObserver<Operation> responseObserver) Sets the addons for a specific cluster.
-
setLocations
@Deprecated public void setLocations(SetLocationsRequest request, io.grpc.stub.StreamObserver<Operation> responseObserver) Deprecated.Sets the locations for a specific cluster. Deprecated. Use [projects.locations.clusters.update](https://cloud.google.com/kubernetes-engine/docs/reference/rest/v1beta1/projects.locations.clusters/update) instead.
-
updateMaster
public void updateMaster(UpdateMasterRequest request, io.grpc.stub.StreamObserver<Operation> responseObserver) Updates the master for a specific cluster.
-
setMasterAuth
public void setMasterAuth(SetMasterAuthRequest request, io.grpc.stub.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.
-
deleteCluster
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, such as load balancer resources, are not deleted if they weren't present when the cluster was initially created.
-
listOperations
public void listOperations(ListOperationsRequest request, io.grpc.stub.StreamObserver<ListOperationsResponse> responseObserver) Lists all operations in a project in the specified zone or all zones.
-
getOperation
public void getOperation(GetOperationRequest request, io.grpc.stub.StreamObserver<Operation> responseObserver) Gets the specified operation.
-
cancelOperation
public void cancelOperation(CancelOperationRequest request, io.grpc.stub.StreamObserver<com.google.protobuf.Empty> responseObserver) Cancels the specified operation.
-
getServerConfig
public void getServerConfig(GetServerConfigRequest request, io.grpc.stub.StreamObserver<ServerConfig> responseObserver) Returns configuration info about the Google Kubernetes Engine service.
-
getJSONWebKeys
public void getJSONWebKeys(GetJSONWebKeysRequest request, io.grpc.stub.StreamObserver<GetJSONWebKeysResponse> responseObserver) Gets the public component of the cluster signing keys in JSON Web Key format.
-
listNodePools
public void listNodePools(ListNodePoolsRequest request, io.grpc.stub.StreamObserver<ListNodePoolsResponse> responseObserver) Lists the node pools for a cluster.
-
getNodePool
public void getNodePool(GetNodePoolRequest request, io.grpc.stub.StreamObserver<NodePool> responseObserver) Retrieves the requested node pool.
-
createNodePool
public void createNodePool(CreateNodePoolRequest request, io.grpc.stub.StreamObserver<Operation> responseObserver) Creates a node pool for a cluster.
-
deleteNodePool
public void deleteNodePool(DeleteNodePoolRequest request, io.grpc.stub.StreamObserver<Operation> responseObserver) Deletes a node pool from a cluster.
-
completeNodePoolUpgrade
public void completeNodePoolUpgrade(CompleteNodePoolUpgradeRequest request, io.grpc.stub.StreamObserver<com.google.protobuf.Empty> responseObserver) CompleteNodePoolUpgrade will signal an on-going node pool upgrade to complete.
-
rollbackNodePoolUpgrade
public void rollbackNodePoolUpgrade(RollbackNodePoolUpgradeRequest request, io.grpc.stub.StreamObserver<Operation> responseObserver) Rolls back a previously Aborted or Failed NodePool upgrade. This makes no changes if the last upgrade successfully completed.
-
setNodePoolManagement
public void setNodePoolManagement(SetNodePoolManagementRequest request, io.grpc.stub.StreamObserver<Operation> responseObserver) Sets the NodeManagement options for a node pool.
-
setLabels
public void setLabels(SetLabelsRequest request, io.grpc.stub.StreamObserver<Operation> responseObserver) Sets labels on a cluster.
-
setLegacyAbac
public void setLegacyAbac(SetLegacyAbacRequest request, io.grpc.stub.StreamObserver<Operation> responseObserver) Enables or disables the ABAC authorization mechanism on a cluster.
-
startIPRotation
public void startIPRotation(StartIPRotationRequest request, io.grpc.stub.StreamObserver<Operation> responseObserver) Starts master IP rotation.
-
completeIPRotation
public void completeIPRotation(CompleteIPRotationRequest request, io.grpc.stub.StreamObserver<Operation> responseObserver) Completes master IP rotation.
-
setNodePoolSize
public void setNodePoolSize(SetNodePoolSizeRequest request, io.grpc.stub.StreamObserver<Operation> responseObserver) SetNodePoolSizeRequest sets the size of a node pool. The new size will be used for all replicas, including future replicas created by modifying [NodePool.locations][google.container.v1beta1.NodePool.locations].
-
setNetworkPolicy
public void setNetworkPolicy(SetNetworkPolicyRequest request, io.grpc.stub.StreamObserver<Operation> responseObserver) Enables or disables Network Policy for a cluster.
-
setMaintenancePolicy
public void setMaintenancePolicy(SetMaintenancePolicyRequest request, io.grpc.stub.StreamObserver<Operation> responseObserver) Sets the maintenance policy for a cluster.
-
listUsableSubnetworks
public void listUsableSubnetworks(ListUsableSubnetworksRequest request, io.grpc.stub.StreamObserver<ListUsableSubnetworksResponse> responseObserver) Lists subnetworks that can be used for creating clusters in a project.
-
checkAutopilotCompatibility
public void checkAutopilotCompatibility(CheckAutopilotCompatibilityRequest request, io.grpc.stub.StreamObserver<CheckAutopilotCompatibilityResponse> responseObserver) Checks the cluster compatibility with Autopilot mode, and returns a list of compatibility issues.
-
listLocations
public void listLocations(ListLocationsRequest request, io.grpc.stub.StreamObserver<ListLocationsResponse> responseObserver) Fetches locations that offer Google Kubernetes Engine.
-
fetchClusterUpgradeInfo
public void fetchClusterUpgradeInfo(FetchClusterUpgradeInfoRequest request, io.grpc.stub.StreamObserver<ClusterUpgradeInfo> responseObserver) Fetch upgrade information of a specific cluster.
-
fetchNodePoolUpgradeInfo
public void fetchNodePoolUpgradeInfo(FetchNodePoolUpgradeInfoRequest request, io.grpc.stub.StreamObserver<NodePoolUpgradeInfo> responseObserver) Fetch upgrade information of a specific nodepool.
-
completeControlPlaneUpgrade
public void completeControlPlaneUpgrade(CompleteControlPlaneUpgradeRequest request, io.grpc.stub.StreamObserver<Operation> responseObserver) CompleteControlPlaneUpgrade completes the rollback-safe upgrade by performing the step two upgrade for a specific cluster.
-