Documentation
¶
Overview ¶
Package v1 implements the version v1 client for communicating with CloudVision.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewV1Client ¶
NewV1Client returns a new v1client object.
Types ¶
type Metadata ¶
type Metadata struct { DeviceID string // TypeCheck indicates whether the gNMI server should perform OpenConfig type-checking. TypeCheck bool // OpenConfig indicates whether transmitted gNMI data is OpenConfig-modeled. OpenConfig bool DeviceType *string Alive *bool CollectorVersion string }
Metadata represents all grpc metadata about a device.
func NewMetadataFromIncoming ¶
NewMetadataFromIncoming returns a metadata from an incoming context.
Click to show internal directories.
Click to hide internal directories.