public static class GkeHubMembershipService
The GKE Hub MembershipService handles the registration of many Kubernetes clusters to Google Cloud, represented with the [Membership][google.cloud.gkehub.v1beta1.Membership] resource.
GKE Hub is currently only available in the global region.
Membership management may be non-trivial: it is recommended to use one of the Google-provided client libraries or tools where possible when working with Membership resources.
Namespace
Google.Cloud.GkeHub.V1Beta1Assembly
Google.Cloud.GkeHub.V1Beta1.dll
Methods
BindService(GkeHubMembershipService.GkeHubMembershipServiceBase)
public static ServerServiceDefinition BindService(GkeHubMembershipService.GkeHubMembershipServiceBase serviceImpl)
Creates service definition that can be registered with a server
Parameter | |
---|---|
Name | Description |
serviceImpl | GkeHubMembershipService.GkeHubMembershipServiceBase An object implementing the server-side handling logic. |
Returns | |
---|---|
Type | Description |
ServerServiceDefinition |
BindService(ServiceBinderBase, GkeHubMembershipService.GkeHubMembershipServiceBase)
public static void BindService(ServiceBinderBase serviceBinder, GkeHubMembershipService.GkeHubMembershipServiceBase serviceImpl)
Register service method with a service binder with or without implementation. Useful when customizing the service binding logic. Note: this method is part of an experimental API that can change or be removed without any prior notice.
Parameters | |
---|---|
Name | Description |
serviceBinder | ServiceBinderBase Service methods will be bound by calling |
serviceImpl | GkeHubMembershipService.GkeHubMembershipServiceBase An object implementing the server-side handling logic. |