gnmi

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Oct 19, 2020 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(logger *zap.Logger, conn *grpc.ClientConn, sensors []*config.Sensor, outChan telemetry.ExtDSChan) telemetry.NMI

New creates a gNMI and register proper metrics.

func Version

func Version() string

Version returns the current package version.

Types

type GNMI

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

GNMI represents a gNMI for Arista EOS telemetry.

func (*GNMI) Start

func (g *GNMI) Start(ctx context.Context) error

Start starts to get stream and fan-out to workers.

Jump to

Keyboard shortcuts

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