grpcindexnodeclient

package
v0.10.3-0...-8c9dab5 Latest Latest
Warning

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

Go to latest
Published: Nov 24, 2024 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

Functions

func NewClient

func NewClient(ctx context.Context, addr string, nodeID int64, encryption bool) (types.IndexNodeClient, error)

NewClient creates a new IndexNode client.

Types

type Client

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

Client is the grpc client of IndexNode.

func (*Client) Close

func (c *Client) Close() error

Close stops IndexNode's grpc client.

func (*Client) CreateJob

func (c *Client) CreateJob(ctx context.Context, req *workerpb.CreateJobRequest, opts ...grpc.CallOption) (*commonpb.Status, error)

CreateJob sends the build index request to IndexNode.

func (*Client) CreateJobV2

func (c *Client) CreateJobV2(ctx context.Context, req *workerpb.CreateJobV2Request, opts ...grpc.CallOption) (*commonpb.Status, error)

func (*Client) DropJobs

func (c *Client) DropJobs(ctx context.Context, req *workerpb.DropJobsRequest, opts ...grpc.CallOption) (*commonpb.Status, error)

DropJobs query the task info of the index task.

func (*Client) DropJobsV2

func (c *Client) DropJobsV2(ctx context.Context, req *workerpb.DropJobsV2Request, opt ...grpc.CallOption) (*commonpb.Status, error)

func (*Client) GetComponentStates

func (c *Client) GetComponentStates(ctx context.Context, req *milvuspb.GetComponentStatesRequest, opts ...grpc.CallOption) (*milvuspb.ComponentStates, error)

GetComponentStates gets the component states of IndexNode.

func (*Client) GetJobStats

GetJobStats query the task info of the index task.

func (*Client) GetMetrics

GetMetrics gets the metrics info of IndexNode.

func (*Client) GetStatisticsChannel

func (c *Client) GetStatisticsChannel(ctx context.Context, req *internalpb.GetStatisticsChannelRequest, opts ...grpc.CallOption) (*milvuspb.StringResponse, error)

func (*Client) QueryJobs

QueryJobs query the task info of the index task.

func (*Client) QueryJobsV2

func (*Client) ShowConfigurations

ShowConfigurations gets specified configurations para of IndexNode

Jump to

Keyboard shortcuts

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