Class GatewayServiceGrpc.GatewayServiceStub (0.28.0)

public static final class GatewayServiceGrpc.GatewayServiceStub extends 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.

Inheritance

java.lang.Object > io.grpc.stub.AbstractStub > io.grpc.stub.AbstractAsyncStub > GatewayServiceGrpc.GatewayServiceStub

Methods

build(Channel channel, CallOptions callOptions)

protected GatewayServiceGrpc.GatewayServiceStub build(Channel channel, CallOptions callOptions)
Parameters
NameDescription
channelio.grpc.Channel
callOptionsio.grpc.CallOptions
Returns
TypeDescription
GatewayServiceGrpc.GatewayServiceStub
Overrides
io.grpc.stub.AbstractStub.build(io.grpc.Channel,io.grpc.CallOptions)

deleteResource(HttpBody request, StreamObserver<HttpBody> responseObserver)

public void deleteResource(HttpBody request, StreamObserver<HttpBody> responseObserver)

DeleteResource performs an HTTP DELETE on the Kubernetes API Server.

Parameters
NameDescription
requestcom.google.api.HttpBody
responseObserverio.grpc.stub.StreamObserver<com.google.api.HttpBody>

getResource(HttpBody request, StreamObserver<HttpBody> responseObserver)

public void getResource(HttpBody request, StreamObserver<HttpBody> responseObserver)

GetResource performs an HTTP GET request on the Kubernetes API Server.

Parameters
NameDescription
requestcom.google.api.HttpBody
responseObserverio.grpc.stub.StreamObserver<com.google.api.HttpBody>

patchResource(HttpBody request, StreamObserver<HttpBody> responseObserver)

public void patchResource(HttpBody request, StreamObserver<HttpBody> responseObserver)

PatchResource performs an HTTP PATCH on the Kubernetes API Server.

Parameters
NameDescription
requestcom.google.api.HttpBody
responseObserverio.grpc.stub.StreamObserver<com.google.api.HttpBody>

postResource(HttpBody request, StreamObserver<HttpBody> responseObserver)

public void postResource(HttpBody request, StreamObserver<HttpBody> responseObserver)

PostResource performs an HTTP POST on the Kubernetes API Server.

Parameters
NameDescription
requestcom.google.api.HttpBody
responseObserverio.grpc.stub.StreamObserver<com.google.api.HttpBody>

putResource(HttpBody request, StreamObserver<HttpBody> responseObserver)

public void putResource(HttpBody request, StreamObserver<HttpBody> responseObserver)

PutResource performs an HTTP PUT on the Kubernetes API Server.

Parameters
NameDescription
requestcom.google.api.HttpBody
responseObserverio.grpc.stub.StreamObserver<com.google.api.HttpBody>