Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
var File_ingress_proto protoreflect.FileDescriptor
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.
func NewFoldIngressClient ¶
func NewFoldIngressClient(cc grpc.ClientConnInterface) FoldIngressClient
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) DoRequest(context.Context, *manifest.FoldHTTPRequest) (*manifest.FoldHTTPResponse, error)
func (UnimplementedFoldIngressServer) GetManifest ¶
func (UnimplementedFoldIngressServer) GetManifest(context.Context, *ManifestReq) (*manifest.Manifest, error)
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.