Documentation ¶
Overview ¶
Package values implements various gNMI value manipulation facilities.
Index ¶
- func GnmiTypedValueToNativeType(gnmiTv *gnmi.TypedValue) (*devicechange.TypedValue, error)
- func NativeChangeToGnmiChange(c *devicechange.Change) (*gnmi.SetRequest, error)
- func NativeTypeToGnmiTypedValue(typedValue *devicechange.TypedValue) (*gnmi.TypedValue, error)
- func PathValuesToGnmiChange(values []*devicechange.PathValue) (*gnmi.SetRequest, error)
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.
Click to show internal directories.
Click to hide internal directories.