Class GatewayServiceGrpc.GatewayServiceBlockingStub (0.41.0)

public static final class GatewayServiceGrpc.GatewayServiceBlockingStub extends AbstractBlockingStub<GatewayServiceGrpc.GatewayServiceBlockingStub>

A stub to allow clients to do synchronous 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.AbstractBlockingStub > GatewayServiceGrpc.GatewayServiceBlockingStub
io.grpc.stub.AbstractBlockingStub.<T>newStub(io.grpc.stub.AbstractStub.StubFactory<T>,io.grpc.Channel)
io.grpc.stub.AbstractBlockingStub.<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.GatewayServiceBlockingStub build(Channel channel, CallOptions callOptions)
Parameters
NameDescription
channelio.grpc.Channel
callOptionsio.grpc.CallOptions
Overrides
io.grpc.stub.AbstractStub.build(io.grpc.Channel,io.grpc.CallOptions)

deleteResource(HttpBody request)

public HttpBody deleteResource(HttpBody request)

DeleteResource performs an HTTP DELETE on the Kubernetes API Server.

Parameter
NameDescription
requestcom.google.api.HttpBody
Returns
TypeDescription
com.google.api.HttpBody

getResource(HttpBody request)

public HttpBody getResource(HttpBody request)

GetResource performs an HTTP GET request on the Kubernetes API Server.

Parameter
NameDescription
requestcom.google.api.HttpBody
Returns
TypeDescription
com.google.api.HttpBody

patchResource(HttpBody request)

public HttpBody patchResource(HttpBody request)

PatchResource performs an HTTP PATCH on the Kubernetes API Server.

Parameter
NameDescription
requestcom.google.api.HttpBody
Returns
TypeDescription
com.google.api.HttpBody

postResource(HttpBody request)

public HttpBody postResource(HttpBody request)

PostResource performs an HTTP POST on the Kubernetes API Server.

Parameter
NameDescription
requestcom.google.api.HttpBody
Returns
TypeDescription
com.google.api.HttpBody

putResource(HttpBody request)

public HttpBody putResource(HttpBody request)

PutResource performs an HTTP PUT on the Kubernetes API Server.

Parameter
NameDescription
requestcom.google.api.HttpBody
Returns
TypeDescription
com.google.api.HttpBody