Class ClusterManagerConnection (2.21.0)

This interface defines virtual methods for each of the user-facing overload sets in ClusterManagerClient. This allows users to inject custom behavior (e.g., with a Google Mock object) when writing tests that use objects of type ClusterManagerClient.

To create a concrete instance, see MakeClusterManagerConnection().

For mocking, see container_v1_mocks::MockClusterManagerConnection.

Functions

virtual options()

Returns
TypeDescription
Options

virtual ListClusters(google::container::v1::ListClustersRequest const &)

Parameter
NameDescription
request google::container::v1::ListClustersRequest const &
Returns
TypeDescription
StatusOr< google::container::v1::ListClustersResponse >

virtual GetCluster(google::container::v1::GetClusterRequest const &)

Parameter
NameDescription
request google::container::v1::GetClusterRequest const &
Returns
TypeDescription
StatusOr< google::container::v1::Cluster >

virtual CreateCluster(google::container::v1::CreateClusterRequest const &)

Parameter
NameDescription
request google::container::v1::CreateClusterRequest const &
Returns
TypeDescription
StatusOr< google::container::v1::Operation >

virtual UpdateCluster(google::container::v1::UpdateClusterRequest const &)

Parameter
NameDescription
request google::container::v1::UpdateClusterRequest const &
Returns
TypeDescription
StatusOr< google::container::v1::Operation >

virtual UpdateNodePool(google::container::v1::UpdateNodePoolRequest const &)

Parameter
NameDescription
request google::container::v1::UpdateNodePoolRequest const &
Returns
TypeDescription
StatusOr< google::container::v1::Operation >

virtual SetNodePoolAutoscaling(google::container::v1::SetNodePoolAutoscalingRequest const &)

Parameter
NameDescription
request google::container::v1::SetNodePoolAutoscalingRequest const &
Returns
TypeDescription
StatusOr< google::container::v1::Operation >

virtual SetLoggingService(google::container::v1::SetLoggingServiceRequest const &)

Parameter
NameDescription
request google::container::v1::SetLoggingServiceRequest const &
Returns
TypeDescription
StatusOr< google::container::v1::Operation >

virtual SetMonitoringService(google::container::v1::SetMonitoringServiceRequest const &)

Parameter
NameDescription
request google::container::v1::SetMonitoringServiceRequest const &
Returns
TypeDescription
StatusOr< google::container::v1::Operation >

virtual SetAddonsConfig(google::container::v1::SetAddonsConfigRequest const &)

Parameter
NameDescription
request google::container::v1::SetAddonsConfigRequest const &
Returns
TypeDescription
StatusOr< google::container::v1::Operation >

virtual SetLocations(google::container::v1::SetLocationsRequest const &)

Parameter
NameDescription
request google::container::v1::SetLocationsRequest const &
Returns
TypeDescription
StatusOr< google::container::v1::Operation >

virtual UpdateMaster(google::container::v1::UpdateMasterRequest const &)

Parameter
NameDescription
request google::container::v1::UpdateMasterRequest const &
Returns
TypeDescription
StatusOr< google::container::v1::Operation >

virtual SetMasterAuth(google::container::v1::SetMasterAuthRequest const &)

Parameter
NameDescription
request google::container::v1::SetMasterAuthRequest const &
Returns
TypeDescription
StatusOr< google::container::v1::Operation >

virtual DeleteCluster(google::container::v1::DeleteClusterRequest const &)

Parameter
NameDescription
request google::container::v1::DeleteClusterRequest const &
Returns
TypeDescription
StatusOr< google::container::v1::Operation >

virtual ListOperations(google::container::v1::ListOperationsRequest const &)

Parameter
NameDescription
request google::container::v1::ListOperationsRequest const &
Returns
TypeDescription
StatusOr< google::container::v1::ListOperationsResponse >

virtual GetOperation(google::container::v1::GetOperationRequest const &)

Parameter
NameDescription
request google::container::v1::GetOperationRequest const &
Returns
TypeDescription
StatusOr< google::container::v1::Operation >

virtual CancelOperation(google::container::v1::CancelOperationRequest const &)

Parameter
NameDescription
request google::container::v1::CancelOperationRequest const &
Returns
TypeDescription
Status

virtual GetServerConfig(google::container::v1::GetServerConfigRequest const &)

Parameter
NameDescription
request google::container::v1::GetServerConfigRequest const &
Returns
TypeDescription
StatusOr< google::container::v1::ServerConfig >

virtual GetJSONWebKeys(google::container::v1::GetJSONWebKeysRequest const &)

Parameter
NameDescription
request google::container::v1::GetJSONWebKeysRequest const &
Returns
TypeDescription
StatusOr< google::container::v1::GetJSONWebKeysResponse >

virtual ListNodePools(google::container::v1::ListNodePoolsRequest const &)

Parameter
NameDescription
request google::container::v1::ListNodePoolsRequest const &
Returns
TypeDescription
StatusOr< google::container::v1::ListNodePoolsResponse >

virtual GetNodePool(google::container::v1::GetNodePoolRequest const &)

Parameter
NameDescription
request google::container::v1::GetNodePoolRequest const &
Returns
TypeDescription
StatusOr< google::container::v1::NodePool >

virtual CreateNodePool(google::container::v1::CreateNodePoolRequest const &)

Parameter
NameDescription
request google::container::v1::CreateNodePoolRequest const &
Returns
TypeDescription
StatusOr< google::container::v1::Operation >

virtual DeleteNodePool(google::container::v1::DeleteNodePoolRequest const &)

Parameter
NameDescription
request google::container::v1::DeleteNodePoolRequest const &
Returns
TypeDescription
StatusOr< google::container::v1::Operation >

virtual CompleteNodePoolUpgrade(google::container::v1::CompleteNodePoolUpgradeRequest const &)

Parameter
NameDescription
request google::container::v1::CompleteNodePoolUpgradeRequest const &
Returns
TypeDescription
Status

virtual RollbackNodePoolUpgrade(google::container::v1::RollbackNodePoolUpgradeRequest const &)

Parameter
NameDescription
request google::container::v1::RollbackNodePoolUpgradeRequest const &
Returns
TypeDescription
StatusOr< google::container::v1::Operation >

virtual SetNodePoolManagement(google::container::v1::SetNodePoolManagementRequest const &)

Parameter
NameDescription
request google::container::v1::SetNodePoolManagementRequest const &
Returns
TypeDescription
StatusOr< google::container::v1::Operation >

virtual SetLabels(google::container::v1::SetLabelsRequest const &)

Parameter
NameDescription
request google::container::v1::SetLabelsRequest const &
Returns
TypeDescription
StatusOr< google::container::v1::Operation >

virtual SetLegacyAbac(google::container::v1::SetLegacyAbacRequest const &)

Parameter
NameDescription
request google::container::v1::SetLegacyAbacRequest const &
Returns
TypeDescription
StatusOr< google::container::v1::Operation >

virtual StartIPRotation(google::container::v1::StartIPRotationRequest const &)

Parameter
NameDescription
request google::container::v1::StartIPRotationRequest const &
Returns
TypeDescription
StatusOr< google::container::v1::Operation >

virtual CompleteIPRotation(google::container::v1::CompleteIPRotationRequest const &)

Parameter
NameDescription
request google::container::v1::CompleteIPRotationRequest const &
Returns
TypeDescription
StatusOr< google::container::v1::Operation >

virtual SetNodePoolSize(google::container::v1::SetNodePoolSizeRequest const &)

Parameter
NameDescription
request google::container::v1::SetNodePoolSizeRequest const &
Returns
TypeDescription
StatusOr< google::container::v1::Operation >

virtual SetNetworkPolicy(google::container::v1::SetNetworkPolicyRequest const &)

Parameter
NameDescription
request google::container::v1::SetNetworkPolicyRequest const &
Returns
TypeDescription
StatusOr< google::container::v1::Operation >

virtual SetMaintenancePolicy(google::container::v1::SetMaintenancePolicyRequest const &)

Parameter
NameDescription
request google::container::v1::SetMaintenancePolicyRequest const &
Returns
TypeDescription
StatusOr< google::container::v1::Operation >

virtual ListUsableSubnetworks(google::container::v1::ListUsableSubnetworksRequest)

Parameter
NameDescription
request google::container::v1::ListUsableSubnetworksRequest
Returns
TypeDescription
StreamRange< google::container::v1::UsableSubnetwork >

virtual CheckAutopilotCompatibility(google::container::v1::CheckAutopilotCompatibilityRequest const &)

Parameter
NameDescription
request google::container::v1::CheckAutopilotCompatibilityRequest const &
Returns
TypeDescription
StatusOr< google::container::v1::CheckAutopilotCompatibilityResponse >