Help us shape the future of Go! Take the 2026 Go Developer Survey

collector

package
v0.49.1 Latest Latest
Warning

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

Go to latest
Published: Oct 21, 2026 License: Apache-2.0 Imports: 22 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Collector

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

func New

func New(ctx context.Context, configStore store.Store[any]) *Collector

func (*Collector) CollectorPreRunE

func (c *Collector) CollectorPreRunE(cmd *cobra.Command, args []string) error

func (*Collector) CollectorRunE

func (c *Collector) CollectorRunE(cmd *cobra.Command, _ []string) error

func (*Collector) InitCollectorFlags

func (c *Collector) InitCollectorFlags(cmd *cobra.Command)

InitSubscribeFlags used to init or reset subscribeCmd flags for gnmic-prompt mode

func (*Collector) Start

func (c *Collector) Start() error

func (*Collector) Stop

func (c *Collector) Stop()

Directories

Path Synopsis
api
gnmi
Package gnmiserver implements the collector's northbound gNMI server.
Package gnmiserver implements the collector's northbound gNMI server.
managers

Jump to

Keyboard shortcuts

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