Class GatewayServiceGrpc.GatewayServiceImplBase (0.5.0)

public abstract static class GatewayServiceGrpc.GatewayServiceImplBase implements BindableService

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 > GatewayServiceGrpc.GatewayServiceImplBase

Implements

io.grpc.BindableService

Constructors

GatewayServiceImplBase()

public GatewayServiceImplBase()

Methods

bindService()

public final ServerServiceDefinition bindService()
Returns
TypeDescription
io.grpc.ServerServiceDefinition

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>