Class GatewayServiceGrpc.GatewayServiceBlockingStub (0.36.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

Methods

build(Channel channel, CallOptions callOptions)

protected GatewayServiceGrpc.GatewayServiceBlockingStub build(Channel channel, CallOptions callOptions)
Parameters
NameDescription
channelio.grpc.Channel
callOptionsio.grpc.CallOptions
Returns
TypeDescription
GatewayServiceGrpc.GatewayServiceBlockingStub
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