Class GatewayServiceGrpc.GatewayServiceFutureStub
- java.lang.Object
-
- io.grpc.stub.AbstractStub<S>
-
- io.grpc.stub.AbstractFutureStub<GatewayServiceGrpc.GatewayServiceFutureStub>
-
- com.google.cloud.gkeconnect.gateway.v1beta1.GatewayServiceGrpc.GatewayServiceFutureStub
-
- Enclosing class:
- GatewayServiceGrpc
public static final class GatewayServiceGrpc.GatewayServiceFutureStub extends io.grpc.stub.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.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected GatewayServiceGrpc.GatewayServiceFutureStub
build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
com.google.common.util.concurrent.ListenableFuture<com.google.api.HttpBody>
deleteResource(com.google.api.HttpBody request)
DeleteResource performs an HTTP DELETE on the Kubernetes API Server.com.google.common.util.concurrent.ListenableFuture<com.google.api.HttpBody>
getResource(com.google.api.HttpBody request)
GetResource performs an HTTP GET request on the Kubernetes API Server.com.google.common.util.concurrent.ListenableFuture<com.google.api.HttpBody>
patchResource(com.google.api.HttpBody request)
PatchResource performs an HTTP PATCH on the Kubernetes API Server.com.google.common.util.concurrent.ListenableFuture<com.google.api.HttpBody>
postResource(com.google.api.HttpBody request)
PostResource performs an HTTP POST on the Kubernetes API Server.com.google.common.util.concurrent.ListenableFuture<com.google.api.HttpBody>
putResource(com.google.api.HttpBody request)
PutResource performs an HTTP PUT on the Kubernetes API Server.
-
-
-
Method Detail
-
build
protected GatewayServiceGrpc.GatewayServiceFutureStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
- Specified by:
build
in classio.grpc.stub.AbstractStub<GatewayServiceGrpc.GatewayServiceFutureStub>
-
getResource
public com.google.common.util.concurrent.ListenableFuture<com.google.api.HttpBody> getResource(com.google.api.HttpBody request)
GetResource performs an HTTP GET request on the Kubernetes API Server.
-
postResource
public com.google.common.util.concurrent.ListenableFuture<com.google.api.HttpBody> postResource(com.google.api.HttpBody request)
PostResource performs an HTTP POST on the Kubernetes API Server.
-
deleteResource
public com.google.common.util.concurrent.ListenableFuture<com.google.api.HttpBody> deleteResource(com.google.api.HttpBody request)
DeleteResource performs an HTTP DELETE on the Kubernetes API Server.
-
putResource
public com.google.common.util.concurrent.ListenableFuture<com.google.api.HttpBody> putResource(com.google.api.HttpBody request)
PutResource performs an HTTP PUT on the Kubernetes API Server.
-
patchResource
public com.google.common.util.concurrent.ListenableFuture<com.google.api.HttpBody> patchResource(com.google.api.HttpBody request)
PatchResource performs an HTTP PATCH on the Kubernetes API Server.
-
-