proto

package
v0.7.7 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const (
	// StringVal :
	StringVal = "string_val"

	// IntVal :
	IntVal = "int_val"

	// BoolVal :
	BoolVal = "bool_val"
)

Variables

This section is empty.

Functions

func MakeProtoDeletePath

func MakeProtoDeletePath(target string, path string) string

MakeProtoDeletePath returns a delete: element for a given target and path

func MakeProtoPath

func MakeProtoPath(target string, path string) string

MakeProtoPath returns a path: element for a given target and path

func MakeProtoTarget

func MakeProtoTarget(target string, path string) string

MakeProtoTarget returns a GNMI proto path for a given target

func MakeProtoUpdatePath

func MakeProtoUpdatePath(devicePath DevicePath) string

MakeProtoUpdatePath returns an update: element for a target, path, and new value

Types

type DevicePath

type DevicePath struct {
	DeviceName    string
	Path          string
	PathDataType  string
	PathDataValue string
}

DevicePath describes the results of a get operation for a single Path It specifies the device, Path, and value

Jump to

Keyboard shortcuts

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