gatewaypb

package
v0.8.12 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 8, 2024 License: Apache-2.0 Imports: 9 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_google_cloud_gkeconnect_gateway_v1beta1_gateway_proto protoreflect.FileDescriptor

Functions

func RegisterGatewayServiceServer

func RegisterGatewayServiceServer(s *grpc.Server, srv GatewayServiceServer)

Types

type GatewayServiceClient

type GatewayServiceClient interface {
	// GetResource performs an HTTP GET request on the Kubernetes API Server.
	GetResource(ctx context.Context, in *httpbody.HttpBody, opts ...grpc.CallOption) (*httpbody.HttpBody, error)
	// PostResource performs an HTTP POST on the Kubernetes API Server.
	PostResource(ctx context.Context, in *httpbody.HttpBody, opts ...grpc.CallOption) (*httpbody.HttpBody, error)
	// DeleteResource performs an HTTP DELETE on the Kubernetes API Server.
	DeleteResource(ctx context.Context, in *httpbody.HttpBody, opts ...grpc.CallOption) (*httpbody.HttpBody, error)
	// PutResource performs an HTTP PUT on the Kubernetes API Server.
	PutResource(ctx context.Context, in *httpbody.HttpBody, opts ...grpc.CallOption) (*httpbody.HttpBody, error)
	// PatchResource performs an HTTP PATCH on the Kubernetes API Server.
	PatchResource(ctx context.Context, in *httpbody.HttpBody, opts ...grpc.CallOption) (*httpbody.HttpBody, error)
}

GatewayServiceClient is the client API for GatewayService service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

type GatewayServiceServer

type GatewayServiceServer interface {
	// GetResource performs an HTTP GET request on the Kubernetes API Server.
	GetResource(context.Context, *httpbody.HttpBody) (*httpbody.HttpBody, error)
	// PostResource performs an HTTP POST on the Kubernetes API Server.
	PostResource(context.Context, *httpbody.HttpBody) (*httpbody.HttpBody, error)
	// DeleteResource performs an HTTP DELETE on the Kubernetes API Server.
	DeleteResource(context.Context, *httpbody.HttpBody) (*httpbody.HttpBody, error)
	// PutResource performs an HTTP PUT on the Kubernetes API Server.
	PutResource(context.Context, *httpbody.HttpBody) (*httpbody.HttpBody, error)
	// PatchResource performs an HTTP PATCH on the Kubernetes API Server.
	PatchResource(context.Context, *httpbody.HttpBody) (*httpbody.HttpBody, error)
}

GatewayServiceServer is the server API for GatewayService service.

type UnimplementedGatewayServiceServer

type UnimplementedGatewayServiceServer struct {
}

UnimplementedGatewayServiceServer can be embedded to have forward compatible implementations.

func (*UnimplementedGatewayServiceServer) DeleteResource

func (*UnimplementedGatewayServiceServer) GetResource

func (*UnimplementedGatewayServiceServer) PatchResource

func (*UnimplementedGatewayServiceServer) PostResource

func (*UnimplementedGatewayServiceServer) PutResource

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL