Interface GatewayServiceGrpc.AsyncService (0.31.0)

public static interface GatewayServiceGrpc.AsyncService

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.

Methods

deleteResource(HttpBody request, StreamObserver<HttpBody> responseObserver)

public default 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 default 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 default 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 default 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 default 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>