agent

package
v0.0.0-...-f12ef76 Latest Latest
Warning

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

Go to latest
Published: Mar 27, 2023 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Agent

type Agent interface {
	Send(req *discovery.DiscoveryRequest) error
	Close() error
	Connect(ctx context.Context) error
	Run(ctx context.Context, handler func(response *discovery.DiscoveryResponse))
	SetConnectLimit(limit *rate.Limiter)
}

Agent the interface of pilot xDS client agent.

func New

func New(address string, opts *Options, log logr.Logger) Agent

New ...

type Options

type Options struct {
	Type      string
	Address   string
	PodName   string
	Namespace string
	Suffix    string
}

Options the meta info of agent.

func (*Options) NodeID

func (opts *Options) NodeID() string

Jump to

Keyboard shortcuts

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