core

package
v1.7.14 Latest Latest
Warning

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

Go to latest
Published: Oct 11, 2024 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Overview

Package core provides agent ngt gRPC client functions

Package core provides agent ngt gRPC client functions

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client interface {
	vald.Client
	client.ObjectReader
	client.Indexer
}

Client represents agent NGT client interface.

func New

func New(opts ...Option) (Client, error)

New returns Client implementation if no error occurs.

func NewAgentClient added in v1.1.1

func NewAgentClient(cc *grpc.ClientConn) Client

type Option

type Option func(*agentClient) error

Option is agentClient configure.

func WithAddrs

func WithAddrs(addrs ...string) Option

WithAddr returns Option that sets addr.

func WithGRPCClient

func WithGRPCClient(g grpc.Client) Option

func WithValdClient

func WithValdClient(vc vald.Client) Option

Jump to

Keyboard shortcuts

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