Class GkeHubConnection (2.14.0)

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

To create a concrete instance, see MakeGkeHubConnection().

For mocking, see gkehub_v1_mocks::MockGkeHubConnection.

Functions

virtual options()

Returns
Type Description
Options

virtual ListMemberships(google::cloud::gkehub::v1::ListMembershipsRequest)

Parameter
Name Description
request google::cloud::gkehub::v1::ListMembershipsRequest
Returns
Type Description
StreamRange< google::cloud::gkehub::v1::Membership >

virtual ListFeatures(google::cloud::gkehub::v1::ListFeaturesRequest)

Parameter
Name Description
request google::cloud::gkehub::v1::ListFeaturesRequest
Returns
Type Description
StreamRange< google::cloud::gkehub::v1::Feature >

virtual GetMembership(google::cloud::gkehub::v1::GetMembershipRequest const &)

Parameter
Name Description
request google::cloud::gkehub::v1::GetMembershipRequest const &
Returns
Type Description
StatusOr< google::cloud::gkehub::v1::Membership >

virtual GetFeature(google::cloud::gkehub::v1::GetFeatureRequest const &)

Parameter
Name Description
request google::cloud::gkehub::v1::GetFeatureRequest const &
Returns
Type Description
StatusOr< google::cloud::gkehub::v1::Feature >

virtual CreateMembership(google::cloud::gkehub::v1::CreateMembershipRequest const &)

Parameter
Name Description
request google::cloud::gkehub::v1::CreateMembershipRequest const &
Returns
Type Description
future< StatusOr< google::cloud::gkehub::v1::Membership > >

virtual CreateFeature(google::cloud::gkehub::v1::CreateFeatureRequest const &)

Parameter
Name Description
request google::cloud::gkehub::v1::CreateFeatureRequest const &
Returns
Type Description
future< StatusOr< google::cloud::gkehub::v1::Feature > >

virtual DeleteMembership(google::cloud::gkehub::v1::DeleteMembershipRequest const &)

Parameter
Name Description
request google::cloud::gkehub::v1::DeleteMembershipRequest const &
Returns
Type Description
future< StatusOr< google::cloud::gkehub::v1::OperationMetadata > >

virtual DeleteFeature(google::cloud::gkehub::v1::DeleteFeatureRequest const &)

Parameter
Name Description
request google::cloud::gkehub::v1::DeleteFeatureRequest const &
Returns
Type Description
future< StatusOr< google::cloud::gkehub::v1::OperationMetadata > >

virtual UpdateMembership(google::cloud::gkehub::v1::UpdateMembershipRequest const &)

Parameter
Name Description
request google::cloud::gkehub::v1::UpdateMembershipRequest const &
Returns
Type Description
future< StatusOr< google::cloud::gkehub::v1::Membership > >

virtual UpdateFeature(google::cloud::gkehub::v1::UpdateFeatureRequest const &)

Parameter
Name Description
request google::cloud::gkehub::v1::UpdateFeatureRequest const &
Returns
Type Description
future< StatusOr< google::cloud::gkehub::v1::Feature > >

virtual GenerateConnectManifest(google::cloud::gkehub::v1::GenerateConnectManifestRequest const &)

Parameter
Name Description
request google::cloud::gkehub::v1::GenerateConnectManifestRequest const &
Returns
Type Description
StatusOr< google::cloud::gkehub::v1::GenerateConnectManifestResponse >