values

package
v0.10.12 Latest Latest
Warning

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

Go to latest
Published: Jan 24, 2022 License: Apache-2.0 Imports: 5 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, modelPath *modelregistry.ReadWritePathElem) (*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.

Directories

Path Synopsis
Package values implements various gNMI value manipulation facilities.
Package values implements various gNMI value manipulation facilities.

Jump to

Keyboard shortcuts

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