Class GatewayServiceGrpc.GatewayServiceStub
- java.lang.Object
-
- io.grpc.stub.AbstractStub<S>
-
- io.grpc.stub.AbstractAsyncStub<GatewayServiceGrpc.GatewayServiceStub>
-
- com.google.cloud.gkeconnect.gateway.v1beta1.GatewayServiceGrpc.GatewayServiceStub
-
- Enclosing class:
- GatewayServiceGrpc
public static final class GatewayServiceGrpc.GatewayServiceStub extends io.grpc.stub.AbstractAsyncStub<GatewayServiceGrpc.GatewayServiceStub>
A stub to allow clients to do asynchronous rpc calls to service GatewayService.Gateway service is a public API which works as a Kubernetes resource model proxy between end users and registered Kubernetes clusters. Each RPC in this service matches with an HTTP verb. End user will initiate kubectl commands against the Gateway service, and Gateway service will forward user requests to clusters.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected GatewayServiceGrpc.GatewayServiceStubbuild(io.grpc.Channel channel, io.grpc.CallOptions callOptions)voiddeleteResource(com.google.api.HttpBody request, io.grpc.stub.StreamObserver<com.google.api.HttpBody> responseObserver)DeleteResource performs an HTTP DELETE on the Kubernetes API Server.voidgetResource(com.google.api.HttpBody request, io.grpc.stub.StreamObserver<com.google.api.HttpBody> responseObserver)GetResource performs an HTTP GET request on the Kubernetes API Server.voidpatchResource(com.google.api.HttpBody request, io.grpc.stub.StreamObserver<com.google.api.HttpBody> responseObserver)PatchResource performs an HTTP PATCH on the Kubernetes API Server.voidpostResource(com.google.api.HttpBody request, io.grpc.stub.StreamObserver<com.google.api.HttpBody> responseObserver)PostResource performs an HTTP POST on the Kubernetes API Server.voidputResource(com.google.api.HttpBody request, io.grpc.stub.StreamObserver<com.google.api.HttpBody> responseObserver)PutResource performs an HTTP PUT on the Kubernetes API Server.
-
-
-
Method Detail
-
build
protected GatewayServiceGrpc.GatewayServiceStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
- Specified by:
buildin classio.grpc.stub.AbstractStub<GatewayServiceGrpc.GatewayServiceStub>
-
getResource
public void getResource(com.google.api.HttpBody request, io.grpc.stub.StreamObserver<com.google.api.HttpBody> responseObserver)GetResource performs an HTTP GET request on the Kubernetes API Server.
-
postResource
public void postResource(com.google.api.HttpBody request, io.grpc.stub.StreamObserver<com.google.api.HttpBody> responseObserver)PostResource performs an HTTP POST on the Kubernetes API Server.
-
deleteResource
public void deleteResource(com.google.api.HttpBody request, io.grpc.stub.StreamObserver<com.google.api.HttpBody> responseObserver)DeleteResource performs an HTTP DELETE on the Kubernetes API Server.
-
putResource
public void putResource(com.google.api.HttpBody request, io.grpc.stub.StreamObserver<com.google.api.HttpBody> responseObserver)PutResource performs an HTTP PUT on the Kubernetes API Server.
-
patchResource
public void patchResource(com.google.api.HttpBody request, io.grpc.stub.StreamObserver<com.google.api.HttpBody> responseObserver)PatchResource performs an HTTP PATCH on the Kubernetes API Server.
-
-