Class GatewayServiceGrpc (0.43.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
Type Description
String

Static Methods

bindService(GatewayServiceGrpc.AsyncService service)

public static final ServerServiceDefinition bindService(GatewayServiceGrpc.AsyncService service)
Parameter
Name Description
service GatewayServiceGrpc.AsyncService
Returns
Type Description
io.grpc.ServerServiceDefinition

getDeleteResourceMethod()

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

getGetResourceMethod()

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

getPatchResourceMethod()

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

getPostResourceMethod()

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

getPutResourceMethod()

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

getServiceDescriptor()

public static ServiceDescriptor getServiceDescriptor()
Returns
Type Description
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
Name Description
channel io.grpc.Channel
Returns
Type Description
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
Name Description
channel io.grpc.Channel
Returns
Type Description
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
Name Description
channel io.grpc.Channel
Returns
Type Description
GatewayServiceGrpc.GatewayServiceStub