Class GatewayServiceGrpc (0.23.0)

public final class GatewayServiceGrpc

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 > GatewayServiceGrpc

Static Fields

SERVICE_NAME

public static final String SERVICE_NAME
Field Value
TypeDescription
String

Static Methods

bindService(GatewayServiceGrpc.AsyncService service)

public static final ServerServiceDefinition bindService(GatewayServiceGrpc.AsyncService service)
Parameter
NameDescription
serviceGatewayServiceGrpc.AsyncService
Returns
TypeDescription
io.grpc.ServerServiceDefinition

getDeleteResourceMethod()

public static MethodDescriptor<HttpBody,HttpBody> getDeleteResourceMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<com.google.api.HttpBody,com.google.api.HttpBody>

getGetResourceMethod()

public static MethodDescriptor<HttpBody,HttpBody> getGetResourceMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<com.google.api.HttpBody,com.google.api.HttpBody>

getPatchResourceMethod()

public static MethodDescriptor<HttpBody,HttpBody> getPatchResourceMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<com.google.api.HttpBody,com.google.api.HttpBody>

getPostResourceMethod()

public static MethodDescriptor<HttpBody,HttpBody> getPostResourceMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<com.google.api.HttpBody,com.google.api.HttpBody>

getPutResourceMethod()

public static MethodDescriptor<HttpBody,HttpBody> getPutResourceMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<com.google.api.HttpBody,com.google.api.HttpBody>

getServiceDescriptor()

public static ServiceDescriptor getServiceDescriptor()
Returns
TypeDescription
io.grpc.ServiceDescriptor

newBlockingStub(Channel channel)

public static GatewayServiceGrpc.GatewayServiceBlockingStub newBlockingStub(Channel channel)

Creates a new blocking-style stub that supports unary and streaming output calls on the service

Parameter
NameDescription
channelio.grpc.Channel
Returns
TypeDescription
GatewayServiceGrpc.GatewayServiceBlockingStub

newFutureStub(Channel channel)

public static GatewayServiceGrpc.GatewayServiceFutureStub newFutureStub(Channel channel)

Creates a new ListenableFuture-style stub that supports unary calls on the service

Parameter
NameDescription
channelio.grpc.Channel
Returns
TypeDescription
GatewayServiceGrpc.GatewayServiceFutureStub

newStub(Channel channel)

public static GatewayServiceGrpc.GatewayServiceStub newStub(Channel channel)

Creates a new async stub that supports all call types for the service

Parameter
NameDescription
channelio.grpc.Channel
Returns
TypeDescription
GatewayServiceGrpc.GatewayServiceStub