public static final class GatewayServiceGrpc.GatewayServiceStub extends AbstractAsyncStub<GatewayServiceGrpc.GatewayServiceStub>
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
Inherited Members
io.grpc.stub.AbstractAsyncStub.<T>newStub(io.grpc.stub.AbstractStub.StubFactory<T>,io.grpc.Channel)
io.grpc.stub.AbstractAsyncStub.<T>newStub(io.grpc.stub.AbstractStub.StubFactory<T>,io.grpc.Channel,io.grpc.CallOptions)
io.grpc.stub.AbstractStub.<T>withOption(io.grpc.CallOptions.Key<T>,T)
io.grpc.stub.AbstractStub.build(io.grpc.Channel,io.grpc.CallOptions)
io.grpc.stub.AbstractStub.getCallOptions()
io.grpc.stub.AbstractStub.getChannel()
io.grpc.stub.AbstractStub.withCallCredentials(io.grpc.CallCredentials)
io.grpc.stub.AbstractStub.withChannel(io.grpc.Channel)
io.grpc.stub.AbstractStub.withCompression(java.lang.String)
io.grpc.stub.AbstractStub.withDeadline(io.grpc.Deadline)
io.grpc.stub.AbstractStub.withDeadlineAfter(long,java.util.concurrent.TimeUnit)
io.grpc.stub.AbstractStub.withExecutor(java.util.concurrent.Executor)
io.grpc.stub.AbstractStub.withInterceptors(io.grpc.ClientInterceptor...)
io.grpc.stub.AbstractStub.withMaxInboundMessageSize(int)
io.grpc.stub.AbstractStub.withMaxOutboundMessageSize(int)
io.grpc.stub.AbstractStub.withWaitForReady()
Methods
build(Channel channel, CallOptions callOptions)
protected GatewayServiceGrpc.GatewayServiceStub build(Channel channel, CallOptions callOptions)
Parameters
Name | Description |
channel | io.grpc.Channel
|
callOptions | io.grpc.CallOptions
|
Returns
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
Name | Description |
request | com.google.api.HttpBody
|
responseObserver | io.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
Name | Description |
request | com.google.api.HttpBody
|
responseObserver | io.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
Name | Description |
request | com.google.api.HttpBody
|
responseObserver | io.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
Name | Description |
request | com.google.api.HttpBody
|
responseObserver | io.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
Name | Description |
request | com.google.api.HttpBody
|
responseObserver | io.grpc.stub.StreamObserver<com.google.api.HttpBody>
|