values

package
v0.6.7 Latest Latest
Warning

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

Go to latest
Published: Aug 5, 2020 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package values implements various gNMI value manipulation facilities.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GnmiTypedValueToNativeType

func GnmiTypedValueToNativeType(gnmiTv *gnmi.TypedValue) (*devicechange.TypedValue, error)

GnmiTypedValueToNativeType converts gnmi type based values in to native byte array devicechange

func NativeChangeToGnmiChange

func NativeChangeToGnmiChange(c *devicechange.Change) (*gnmi.SetRequest, error)

NativeChangeToGnmiChange converts a Protobuf defined Change object to gNMI format

func NativeTypeToGnmiTypedValue

func NativeTypeToGnmiTypedValue(typedValue *devicechange.TypedValue) (*gnmi.TypedValue, error)

NativeTypeToGnmiTypedValue converts native byte array based values in to gnmi types

func PathValuesToGnmiChange

func PathValuesToGnmiChange(values []*devicechange.PathValue) (*gnmi.SetRequest, error)

PathValuesToGnmiChange converts a Protobuf defined array of values objects to gNMI format

Types

This section is empty.

Jump to

Keyboard shortcuts

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