Class GatewayServiceGrpc.GatewayServiceStub

  • Enclosing class:
    GatewayServiceGrpc

    public static final class GatewayServiceGrpc.GatewayServiceStub
    extends io.grpc.stub.AbstractAsyncStub<GatewayServiceGrpc.GatewayServiceStub>
    A stub to allow clients to do asynchronous 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.GatewayServiceStub build​(io.grpc.Channel channel, io.grpc.CallOptions callOptions)  
      void deleteResource​(com.google.api.HttpBody request, io.grpc.stub.StreamObserver<com.google.api.HttpBody> responseObserver)
      DeleteResource performs an HTTP DELETE on the Kubernetes API Server.
      void getResource​(com.google.api.HttpBody request, io.grpc.stub.StreamObserver<com.google.api.HttpBody> responseObserver)
      GetResource performs an HTTP GET request on the Kubernetes API Server.
      void patchResource​(com.google.api.HttpBody request, io.grpc.stub.StreamObserver<com.google.api.HttpBody> responseObserver)
      PatchResource performs an HTTP PATCH on the Kubernetes API Server.
      void postResource​(com.google.api.HttpBody request, io.grpc.stub.StreamObserver<com.google.api.HttpBody> responseObserver)
      PostResource performs an HTTP POST on the Kubernetes API Server.
      void putResource​(com.google.api.HttpBody request, io.grpc.stub.StreamObserver<com.google.api.HttpBody> responseObserver)
      PutResource performs an HTTP PUT on the Kubernetes API Server.
      • Methods inherited from class io.grpc.stub.AbstractAsyncStub

        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 void getResource​(com.google.api.HttpBody request,
                                io.grpc.stub.StreamObserver<com.google.api.HttpBody> responseObserver)
         GetResource performs an HTTP GET request on the Kubernetes API Server.
         
      • postResource

        public void postResource​(com.google.api.HttpBody request,
                                 io.grpc.stub.StreamObserver<com.google.api.HttpBody> responseObserver)
         PostResource performs an HTTP POST on the Kubernetes API Server.
         
      • deleteResource

        public void deleteResource​(com.google.api.HttpBody request,
                                   io.grpc.stub.StreamObserver<com.google.api.HttpBody> responseObserver)
         DeleteResource performs an HTTP DELETE on the Kubernetes API Server.
         
      • putResource

        public void putResource​(com.google.api.HttpBody request,
                                io.grpc.stub.StreamObserver<com.google.api.HttpBody> responseObserver)
         PutResource performs an HTTP PUT on the Kubernetes API Server.
         
      • patchResource

        public void patchResource​(com.google.api.HttpBody request,
                                  io.grpc.stub.StreamObserver<com.google.api.HttpBody> responseObserver)
         PatchResource performs an HTTP PATCH on the Kubernetes API Server.