Versions in this module Expand all Collapse all v0 v0.6.6 Jul 3, 2020 Changes in this version + func ExtractPaths(deviceEntry *yang.Entry, parentState yang.TriState, parentPath string, ...) (ReadOnlyPathMap, ReadWritePathMap) + func Paths(readOnly ReadOnlyPathMap) []string + func PathsRW(rwPathMap ReadWritePathMap) []string + func RemovePathIndices(path string) string + type GetStateMode int + const GetStateExplicitRoPaths + const GetStateExplicitRoPathsExpandWildcards + const GetStateNone + const GetStateOpState + type ModelPlugin interface + GetStateMode func() int + ModelData func() (string, string, []*gnmi.ModelData, string) + Schema func() (map[string]*yang.Entry, error) + UnmarshalConfigValues func(jsonTree []byte) (*ygot.ValidatedGoStruct, error) + Validate func(*ygot.ValidatedGoStruct, ...ygot.ValidationOption) error + type ModelRegistry struct + LocationStore map[string]string + ModelPlugins map[string]ModelPlugin + ModelReadOnlyPaths map[string]ReadOnlyPathMap + ModelReadWritePaths map[string]ReadWritePathMap + func (registry *ModelRegistry) Capabilities() []*gnmi.ModelData + func (registry *ModelRegistry) RegisterModelPlugin(moduleName string) (string, string, error) + type PathMap interface + JustPaths func() []string + TypeForPath func(path string) (devicechange.ValueType, error) + type ReadOnlyAttrib struct + Datatype devicechange.ValueType + Description string + Units string + type ReadOnlyPathMap map[string]ReadOnlySubPathMap + func (ro ReadOnlyPathMap) JustPaths() []string + func (ro ReadOnlyPathMap) TypeForPath(path string) (devicechange.ValueType, error) + type ReadOnlySubPathMap map[string]ReadOnlyAttrib + type ReadWritePathElem struct + Default string + Description string + Length []string + Mandatory bool + Range []string + Units string + ValueType devicechange.ValueType + type ReadWritePathMap map[string]ReadWritePathElem + func (rw ReadWritePathMap) JustPaths() []string + func (rw ReadWritePathMap) TypeForPath(path string) (devicechange.ValueType, error)