client

package module
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Sep 8, 2021 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GRPCClient

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

func NewGRPCClient

func NewGRPCClient(grpcAddress string) (*GRPCClient, error)

func NewGRPCClientWithContext

func NewGRPCClientWithContext(grpcAddress string, baseCtx context.Context) (*GRPCClient, error)

func NewGRPCClientWithContextTLS

func NewGRPCClientWithContextTLS(grpcAddress string, baseCtx context.Context, certFile, commonName string) (*GRPCClient, error)

func (*GRPCClient) BulkDelete

func (c *GRPCClient) BulkDelete(req *protobuf.DeleteDocuments, opts ...grpc.CallOption) (*emptypb.Empty, error)

func (*GRPCClient) Close

func (c *GRPCClient) Close() error

func (*GRPCClient) Cluster

func (c *GRPCClient) Cluster(opts ...grpc.CallOption) (*protobuf.ClusterResponse, error)

func (*GRPCClient) Delete

func (c *GRPCClient) Delete(req *protobuf.DeleteDocument, opts ...grpc.CallOption) (*emptypb.Empty, error)

func (*GRPCClient) DeleteDictionary

func (*GRPCClient) Join

func (c *GRPCClient) Join(req *protobuf.JoinRequest, opts ...grpc.CallOption) error

func (*GRPCClient) Leave

func (c *GRPCClient) Leave(req *protobuf.LeaveRequest, opts ...grpc.CallOption) error

func (*GRPCClient) LivenessCheck

func (c *GRPCClient) LivenessCheck(opts ...grpc.CallOption) (*protobuf.LivenessCheckResponse, error)

func (*GRPCClient) Node

func (c *GRPCClient) Node(opts ...grpc.CallOption) (*protobuf.NodeResponse, error)

func (*GRPCClient) ReadinessCheck

func (c *GRPCClient) ReadinessCheck(opts ...grpc.CallOption) (*protobuf.ReadinessCheckResponse, error)

func (*GRPCClient) Search

func (*GRPCClient) Target

func (c *GRPCClient) Target() string

func (*GRPCClient) Upload

func (c *GRPCClient) Upload(req *protobuf.Documents, opts ...grpc.CallOption) (*emptypb.Empty, error)

func (*GRPCClient) UploadDictionary

func (*GRPCClient) Watch

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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