pb

package
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: Mar 8, 2021 License: MPL-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_ingress_proto protoreflect.FileDescriptor
View Source
var FoldIngress_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "ingress.FoldIngress",
	HandlerType: (*FoldIngressServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "GetManifest",
			Handler:    _FoldIngress_GetManifest_Handler,
		},
		{
			MethodName: "DoRequest",
			Handler:    _FoldIngress_DoRequest_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "ingress.proto",
}

FoldIngress_ServiceDesc is the grpc.ServiceDesc for FoldIngress service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

Functions

func RegisterFoldIngressServer

func RegisterFoldIngressServer(s grpc.ServiceRegistrar, srv FoldIngressServer)

Types

type FoldIngressClient

type FoldIngressClient interface {
	// Retrieve the manifest from the service.
	GetManifest(ctx context.Context, in *ManifestReq, opts ...grpc.CallOption) (*manifest.Manifest, error)
	// Ask the service to process an HTTP request.
	DoRequest(ctx context.Context, in *manifest.FoldHTTPRequest, opts ...grpc.CallOption) (*manifest.FoldHTTPResponse, error)
}

FoldIngressClient is the client API for FoldIngress service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

type FoldIngressServer

type FoldIngressServer interface {
	// Retrieve the manifest from the service.
	GetManifest(context.Context, *ManifestReq) (*manifest.Manifest, error)
	// Ask the service to process an HTTP request.
	DoRequest(context.Context, *manifest.FoldHTTPRequest) (*manifest.FoldHTTPResponse, error)
	// contains filtered or unexported methods
}

FoldIngressServer is the server API for FoldIngress service. All implementations must embed UnimplementedFoldIngressServer for forward compatibility

type ManifestReq

type ManifestReq struct {
	// contains filtered or unexported fields
}

func (*ManifestReq) Descriptor deprecated

func (*ManifestReq) Descriptor() ([]byte, []int)

Deprecated: Use ManifestReq.ProtoReflect.Descriptor instead.

func (*ManifestReq) ProtoMessage

func (*ManifestReq) ProtoMessage()

func (*ManifestReq) ProtoReflect

func (x *ManifestReq) ProtoReflect() protoreflect.Message

func (*ManifestReq) Reset

func (x *ManifestReq) Reset()

func (*ManifestReq) String

func (x *ManifestReq) String() string

type UnimplementedFoldIngressServer

type UnimplementedFoldIngressServer struct {
}

UnimplementedFoldIngressServer must be embedded to have forward compatible implementations.

func (UnimplementedFoldIngressServer) DoRequest

func (UnimplementedFoldIngressServer) GetManifest

type UnsafeFoldIngressServer

type UnsafeFoldIngressServer interface {
	// contains filtered or unexported methods
}

UnsafeFoldIngressServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to FoldIngressServer will result in compilation errors.

Jump to

Keyboard shortcuts

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