utils

package
v0.12.0 Latest Latest
Warning

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

Go to latest
Published: Sep 2, 2021 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GNMINotificationPrettyString

func GNMINotificationPrettyString(notification *gnmi.Notification) string

GNMINotificationPrettyString returns a human-readable string for a gnmi.Notification.

func GNMIUpdatePrettyString

func GNMIUpdatePrettyString(update *gnmi.Update) string

GNMIUpdatePrettyString returns a human-readable string for a gnmi.Update.

func GetNumberValues added in v0.10.0

func GetNumberValues(tv *gnmi.TypedValue) (float64, bool)

func PathToXPath

func PathToXPath(path *gnmi.Path) string

PathToXPath returns an XPath-style string for a gnmi.Path.

Types

This section is empty.

Jump to

Keyboard shortcuts

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