package
0.10.28
Repository: https://github.com/onosproject/aether-roc-api.git
Documentation: pkg.go.dev

# Packages

Package test is a generated GoMock package.

# Functions

BuildElems - create a set of gnmi PathElems For start at this is the element in the path at the ith position (remembering that 0 is empty).
CheckAdditionalProps - if attributes are not spelt properly they will be added to AdditionalProperties map of the JSON Object instead This checks that the only Additional Property is "target" (optional) Otherwise it give the suggested spellings.
CheckForAdditionalProps - general function to deal with Additional Properties.
ConvertGrpcError - capture gRPC error messages properly.
CreateModelPluginObject - iterate through model plugin model structure to build object.
DeleteForElement -- create a gnmi.Delete for a Json element.
ExtractGnmiEnumMap - extract an enum value from YGOT.
ExtractGnmiListKeyMap - get the keys of a map.
ExtractResponseID - the name of the change will be returned as extension 100.
FindModelPluginObject - iterate through model plugin model structure to build object.
GetResponseUpdate -- extract the single Update from the GetResponse.
LeafSelection - used by roc-api.
NewGnmiContext - convert the HTTP context in to a gRPC Context.
NewGnmiGetRequest creates a GetRequest from a REST call.
NewGnmiSetDeleteRequest a single delete in a Set request.
NewGnmiSetRequest -- new set request including updates and deletes.
NewGnmiSetUpdateRequestUpdates a single update in a Set request.
NewGnmiSetUpdateRequestUpdatesDeletes Set request with update and delete.
ReadRequestBody - read the bytes from the Request Body.
RemoveIndexAttributes - remove index attribute updates from a list.
ReplaceUnknownKey - postfix on updates.
ToCamelCase accepted delimiter: -.
ToFloat32 -.
ToFloat32Ptr -.
ToFloat64 -.
ToFloat64Ptr -.
ToInt -.
ToInt32 -.
ToInt32Ptr -.
ToInt64 -.
ToInt64Ptr -.
ToIntArray - convert array of specific type to array of int.
ToIntPtr -.
UpdateForElement -- create a gnmi.Update for a Json element.

# Constants

UnknownID - replaceable value.
UnknownKey - replaceable key.

# Structs

PathID - a tuple for the path name and value.