Class 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.
     
    • Nested Class Summary

      • Nested classes/interfaces inherited from class io.grpc.stub.AbstractStub

        io.grpc.stub.AbstractStub.StubFactory<T extends io.grpc.stub.AbstractStub<T>>
    • 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.
      • Methods inherited from class io.grpc.stub.AbstractFutureStub

        newStub, newStub
      • Methods inherited from class io.grpc.stub.AbstractStub

        getCallOptions, getChannel, withCallCredentials, withChannel, withCompression, withDeadline, withDeadlineAfter, withExecutor, withInterceptors, withMaxInboundMessageSize, withMaxOutboundMessageSize, withOption, withWaitForReady
    • Method Detail

      • 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.