public static final class GatewayServiceGrpc.GatewayServiceFutureStub extends AbstractFutureStub<GatewayServiceGrpc.GatewayServiceFutureStub>
A stub to allow clients to do ListenableFuture-style 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.AbstractFutureStub >
GatewayServiceGrpc.GatewayServiceFutureStub
Inherited Members
io.grpc.stub.AbstractFutureStub.<T>newStub(io.grpc.stub.AbstractStub.StubFactory<T>,io.grpc.Channel)
io.grpc.stub.AbstractFutureStub.<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.GatewayServiceFutureStub build(Channel channel, CallOptions callOptions)
Parameters |
Name |
Description |
channel |
io.grpc.Channel
|
callOptions |
io.grpc.CallOptions
|
Overrides
io.grpc.stub.AbstractStub.build(io.grpc.Channel,io.grpc.CallOptions)
deleteResource(HttpBody request)
public ListenableFuture<HttpBody> deleteResource(HttpBody request)
DeleteResource performs an HTTP DELETE on the Kubernetes API Server.
Parameter |
Name |
Description |
request |
com.google.api.HttpBody
|
Returns |
Type |
Description |
com.google.common.util.concurrent.ListenableFuture<com.google.api.HttpBody> |
|
getResource(HttpBody request)
public ListenableFuture<HttpBody> getResource(HttpBody request)
GetResource performs an HTTP GET request on the Kubernetes API Server.
Parameter |
Name |
Description |
request |
com.google.api.HttpBody
|
Returns |
Type |
Description |
com.google.common.util.concurrent.ListenableFuture<com.google.api.HttpBody> |
|
patchResource(HttpBody request)
public ListenableFuture<HttpBody> patchResource(HttpBody request)
PatchResource performs an HTTP PATCH on the Kubernetes API Server.
Parameter |
Name |
Description |
request |
com.google.api.HttpBody
|
Returns |
Type |
Description |
com.google.common.util.concurrent.ListenableFuture<com.google.api.HttpBody> |
|
postResource(HttpBody request)
public ListenableFuture<HttpBody> postResource(HttpBody request)
PostResource performs an HTTP POST on the Kubernetes API Server.
Parameter |
Name |
Description |
request |
com.google.api.HttpBody
|
Returns |
Type |
Description |
com.google.common.util.concurrent.ListenableFuture<com.google.api.HttpBody> |
|
putResource(HttpBody request)
public ListenableFuture<HttpBody> putResource(HttpBody request)
PutResource performs an HTTP PUT on the Kubernetes API Server.
Parameter |
Name |
Description |
request |
com.google.api.HttpBody
|
Returns |
Type |
Description |
com.google.common.util.concurrent.ListenableFuture<com.google.api.HttpBody> |
|