Class ClusterManagerConnection (2.14.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
Type Description
Options

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

Parameter
Name Description
request google::container::v1::ListClustersRequest const &
Returns
Type Description
StatusOr< google::container::v1::ListClustersResponse >

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

Parameter
Name Description
request google::container::v1::GetClusterRequest const &
Returns
Type Description
StatusOr< google::container::v1::Cluster >

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

Parameter
Name Description
request google::container::v1::CreateClusterRequest const &
Returns
Type Description
StatusOr< google::container::v1::Operation >

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

Parameter
Name Description
request google::container::v1::UpdateClusterRequest const &
Returns
Type Description
StatusOr< google::container::v1::Operation >

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

Parameter
Name Description
request google::container::v1::UpdateNodePoolRequest const &
Returns
Type Description
StatusOr< google::container::v1::Operation >

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

Parameter
Name Description
request google::container::v1::SetNodePoolAutoscalingRequest const &
Returns
Type Description
StatusOr< google::container::v1::Operation >

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

Parameter
Name Description
request google::container::v1::SetLoggingServiceRequest const &
Returns
Type Description
StatusOr< google::container::v1::Operation >

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

Parameter
Name Description
request google::container::v1::SetMonitoringServiceRequest const &
Returns
Type Description
StatusOr< google::container::v1::Operation >

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

Parameter
Name Description
request google::container::v1::SetAddonsConfigRequest const &
Returns
Type Description
StatusOr< google::container::v1::Operation >

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

Parameter
Name Description
request google::container::v1::SetLocationsRequest const &
Returns
Type Description
StatusOr< google::container::v1::Operation >

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

Parameter
Name Description
request google::container::v1::UpdateMasterRequest const &
Returns
Type Description
StatusOr< google::container::v1::Operation >

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

Parameter
Name Description
request google::container::v1::SetMasterAuthRequest const &
Returns
Type Description
StatusOr< google::container::v1::Operation >

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

Parameter
Name Description
request google::container::v1::DeleteClusterRequest const &
Returns
Type Description
StatusOr< google::container::v1::Operation >

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

Parameter
Name Description
request google::container::v1::ListOperationsRequest const &
Returns
Type Description
StatusOr< google::container::v1::ListOperationsResponse >

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

Parameter
Name Description
request google::container::v1::GetOperationRequest const &
Returns
Type Description
StatusOr< google::container::v1::Operation >

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

Parameter
Name Description
request google::container::v1::CancelOperationRequest const &
Returns
Type Description
Status

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

Parameter
Name Description
request google::container::v1::GetServerConfigRequest const &
Returns
Type Description
StatusOr< google::container::v1::ServerConfig >

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

Parameter
Name Description
request google::container::v1::GetJSONWebKeysRequest const &
Returns
Type Description
StatusOr< google::container::v1::GetJSONWebKeysResponse >

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

Parameter
Name Description
request google::container::v1::ListNodePoolsRequest const &
Returns
Type Description
StatusOr< google::container::v1::ListNodePoolsResponse >

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

Parameter
Name Description
request google::container::v1::GetNodePoolRequest const &
Returns
Type Description
StatusOr< google::container::v1::NodePool >

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

Parameter
Name Description
request google::container::v1::CreateNodePoolRequest const &
Returns
Type Description
StatusOr< google::container::v1::Operation >

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

Parameter
Name Description
request google::container::v1::DeleteNodePoolRequest const &
Returns
Type Description
StatusOr< google::container::v1::Operation >

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

Parameter
Name Description
request google::container::v1::CompleteNodePoolUpgradeRequest const &
Returns
Type Description
Status

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

Parameter
Name Description
request google::container::v1::RollbackNodePoolUpgradeRequest const &
Returns
Type Description
StatusOr< google::container::v1::Operation >

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

Parameter
Name Description
request google::container::v1::SetNodePoolManagementRequest const &
Returns
Type Description
StatusOr< google::container::v1::Operation >

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

Parameter
Name Description
request google::container::v1::SetLabelsRequest const &
Returns
Type Description
StatusOr< google::container::v1::Operation >

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

Parameter
Name Description
request google::container::v1::SetLegacyAbacRequest const &
Returns
Type Description
StatusOr< google::container::v1::Operation >

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

Parameter
Name Description
request google::container::v1::StartIPRotationRequest const &
Returns
Type Description
StatusOr< google::container::v1::Operation >

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

Parameter
Name Description
request google::container::v1::CompleteIPRotationRequest const &
Returns
Type Description
StatusOr< google::container::v1::Operation >

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

Parameter
Name Description
request google::container::v1::SetNodePoolSizeRequest const &
Returns
Type Description
StatusOr< google::container::v1::Operation >

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

Parameter
Name Description
request google::container::v1::SetNetworkPolicyRequest const &
Returns
Type Description
StatusOr< google::container::v1::Operation >

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

Parameter
Name Description
request google::container::v1::SetMaintenancePolicyRequest const &
Returns
Type Description
StatusOr< google::container::v1::Operation >

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

Parameter
Name Description
request google::container::v1::ListUsableSubnetworksRequest
Returns
Type Description
StreamRange< google::container::v1::UsableSubnetwork >

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

Parameter
Name Description
request google::container::v1::CheckAutopilotCompatibilityRequest const &
Returns
Type Description
StatusOr< google::container::v1::CheckAutopilotCompatibilityResponse >