ingress

package
v1.7.12 Latest Latest
Warning

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

Go to latest
Published: Feb 21, 2024 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_v1_filter_ingress_ingress_filter_proto protoreflect.FileDescriptor
View Source
var Filter_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "filter.ingress.v1.Filter",
	HandlerType: (*FilterServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "GenVector",
			Handler:    _Filter_GenVector_Handler,
		},
		{
			MethodName: "FilterVector",
			Handler:    _Filter_FilterVector_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "v1/filter/ingress/ingress_filter.proto",
}

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

Functions

func RegisterFilterServer

func RegisterFilterServer(s grpc.ServiceRegistrar, srv FilterServer)

Types

type FilterClient

type FilterClient interface {
	// Represent the RPC to generate the vector.
	GenVector(ctx context.Context, in *payload.Object_Blob, opts ...grpc.CallOption) (*payload.Object_Vector, error)
	// Represent the RPC to filter the vector.
	FilterVector(ctx context.Context, in *payload.Object_Vector, opts ...grpc.CallOption) (*payload.Object_Vector, error)
}

FilterClient is the client API for Filter 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 NewFilterClient

func NewFilterClient(cc grpc.ClientConnInterface) FilterClient

type FilterServer

type FilterServer interface {
	// Represent the RPC to generate the vector.
	GenVector(context.Context, *payload.Object_Blob) (*payload.Object_Vector, error)
	// Represent the RPC to filter the vector.
	FilterVector(context.Context, *payload.Object_Vector) (*payload.Object_Vector, error)
	// contains filtered or unexported methods
}

FilterServer is the server API for Filter service. All implementations must embed UnimplementedFilterServer for forward compatibility

type UnimplementedFilterServer

type UnimplementedFilterServer struct {
}

UnimplementedFilterServer must be embedded to have forward compatible implementations.

func (UnimplementedFilterServer) FilterVector

func (UnimplementedFilterServer) GenVector

type UnsafeFilterServer added in v1.2.1

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

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

Jump to

Keyboard shortcuts

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