Documentation
¶
Overview ¶
Package withlistval is a generated package which contains definitions of structs which generate gNMI paths for a YANG schema. The generated paths are based on a compressed form of the schema.
This package was generated by ygnmi version: (devel): (ygot: v0.29.0) using the following YANG input files:
- ../pathgen/testdata/yang/openconfig-simple.yang
- ../pathgen/testdata/yang/openconfig-withlistval.yang
- ../pathgen/testdata/yang/openconfig-nested.yang
Imported modules were sourced from:
Index ¶
- type ModelPath
- func (n *ModelPath) Config() ygnmi.ConfigQuery[*oc.Model]
- func (n *ModelPath) MultiKey(Key1 uint32, Key2 uint64) *Model_MultiKeyPath
- func (n *ModelPath) MultiKeyAny() *Model_MultiKeyPathAny
- func (n *ModelPath) MultiKeyMap() *Model_MultiKeyPathMap
- func (n *ModelPath) NoKeyAny() *Model_NoKeyPathAny
- func (n *ModelPath) SingleKey(Key string) *Model_SingleKeyPath
- func (n *ModelPath) SingleKeyAny() *Model_SingleKeyPathAny
- func (n *ModelPath) SingleKeyMap() *Model_SingleKeyPathMap
- func (n *ModelPath) State() ygnmi.SingletonQuery[*oc.Model]
- type ModelPathAny
- func (n *ModelPathAny) Config() ygnmi.WildcardQuery[*oc.Model]
- func (n *ModelPathAny) MultiKey(Key1 uint32, Key2 uint64) *Model_MultiKeyPathAny
- func (n *ModelPathAny) MultiKeyAny() *Model_MultiKeyPathAny
- func (n *ModelPathAny) MultiKeyMap() *Model_MultiKeyPathMapAny
- func (n *ModelPathAny) NoKeyAny() *Model_NoKeyPathAny
- func (n *ModelPathAny) SingleKey(Key string) *Model_SingleKeyPathAny
- func (n *ModelPathAny) SingleKeyAny() *Model_SingleKeyPathAny
- func (n *ModelPathAny) SingleKeyMap() *Model_SingleKeyPathMapAny
- func (n *ModelPathAny) State() ygnmi.WildcardQuery[*oc.Model]
- type Model_MultiKeyPath
- type Model_MultiKeyPathAny
- func (n *Model_MultiKeyPathAny) Config() ygnmi.WildcardQuery[*oc.Model_MultiKey]
- func (n *Model_MultiKeyPathAny) Key1() *Model_MultiKey_Key1PathAny
- func (n *Model_MultiKeyPathAny) Key2() *Model_MultiKey_Key2PathAny
- func (n *Model_MultiKeyPathAny) State() ygnmi.WildcardQuery[*oc.Model_MultiKey]
- func (n *Model_MultiKeyPathAny) WithKey1(Key1 uint32) *Model_MultiKeyPathAny
- func (n *Model_MultiKeyPathAny) WithKey2(Key2 uint64) *Model_MultiKeyPathAny
- type Model_MultiKeyPathMap
- type Model_MultiKeyPathMapAny
- type Model_MultiKey_Key1Path
- type Model_MultiKey_Key1PathAny
- type Model_MultiKey_Key2Path
- type Model_MultiKey_Key2PathAny
- type Model_NoKeyPath
- type Model_NoKeyPathAny
- type Model_NoKey_FooPath
- type Model_NoKey_FooPathAny
- type Model_NoKey_Foo_KeyPath
- type Model_NoKey_Foo_KeyPathAny
- type Model_NoKey_Foo_ValuePath
- type Model_NoKey_Foo_ValuePathAny
- type Model_SingleKeyPath
- func (n *Model_SingleKeyPath) Config() ygnmi.ConfigQuery[*oc.Model_SingleKey]
- func (n *Model_SingleKeyPath) Key() *Model_SingleKey_KeyPath
- func (n *Model_SingleKeyPath) OrderedListMap() *Model_SingleKey_OrderedListPathMap
- func (n *Model_SingleKeyPath) SingleKeyMap() *Model_SingleKey_SingleKeyPathMap
- func (n *Model_SingleKeyPath) State() ygnmi.SingletonQuery[*oc.Model_SingleKey]
- func (n *Model_SingleKeyPath) Value() *Model_SingleKey_ValuePath
- type Model_SingleKeyPathAny
- func (n *Model_SingleKeyPathAny) Config() ygnmi.WildcardQuery[*oc.Model_SingleKey]
- func (n *Model_SingleKeyPathAny) Key() *Model_SingleKey_KeyPathAny
- func (n *Model_SingleKeyPathAny) OrderedListMap() *Model_SingleKey_OrderedListPathMapAny
- func (n *Model_SingleKeyPathAny) SingleKeyMap() *Model_SingleKey_SingleKeyPathMapAny
- func (n *Model_SingleKeyPathAny) State() ygnmi.WildcardQuery[*oc.Model_SingleKey]
- func (n *Model_SingleKeyPathAny) Value() *Model_SingleKey_ValuePathAny
- type Model_SingleKeyPathMap
- type Model_SingleKeyPathMapAny
- type Model_SingleKey_KeyPath
- type Model_SingleKey_KeyPathAny
- type Model_SingleKey_OrderedListPath
- type Model_SingleKey_OrderedListPathAny
- type Model_SingleKey_OrderedListPathMap
- type Model_SingleKey_OrderedListPathMapAny
- type Model_SingleKey_SingleKeyPath
- type Model_SingleKey_SingleKeyPathAny
- type Model_SingleKey_SingleKeyPathMap
- type Model_SingleKey_SingleKeyPathMapAny
- type Model_SingleKey_ValuePath
- type Model_SingleKey_ValuePathAny
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ModelPath ¶
ModelPath represents the /openconfig-withlistval/model YANG schema element.
func (*ModelPath) Config ¶
func (n *ModelPath) Config() ygnmi.ConfigQuery[*oc.Model]
Config returns a Query that can be used in gNMI operations.
func (*ModelPath) MultiKey ¶
func (n *ModelPath) MultiKey(Key1 uint32, Key2 uint64) *Model_MultiKeyPath
MultiKey (list):
Defining module: "openconfig-withlistval" Instantiating module: "openconfig-withlistval" Path from parent: "b/multi-key" Path from root: "/model/b/multi-key" Key1: uint32 Key2: uint64
func (*ModelPath) MultiKeyAny ¶
func (n *ModelPath) MultiKeyAny() *Model_MultiKeyPathAny
MultiKeyAny (list):
Defining module: "openconfig-withlistval" Instantiating module: "openconfig-withlistval" Path from parent: "b/multi-key" Path from root: "/model/b/multi-key"
func (*ModelPath) MultiKeyMap ¶ added in v0.8.0
func (n *ModelPath) MultiKeyMap() *Model_MultiKeyPathMap
MultiKeyMap (list):
Defining module: "openconfig-withlistval" Instantiating module: "openconfig-withlistval" Path from parent: "b/multi-key" Path from root: "/model/b/multi-key"
func (*ModelPath) NoKeyAny ¶ added in v0.5.0
func (n *ModelPath) NoKeyAny() *Model_NoKeyPathAny
NoKeyAny (list):
Defining module: "openconfig-withlistval" Instantiating module: "openconfig-withlistval" Path from parent: "c/no-key" Path from root: "/model/c/no-key"
func (*ModelPath) SingleKey ¶
func (n *ModelPath) SingleKey(Key string) *Model_SingleKeyPath
SingleKey (list):
Defining module: "openconfig-withlistval" Instantiating module: "openconfig-withlistval" Path from parent: "a/single-key" Path from root: "/model/a/single-key" Key: string
func (*ModelPath) SingleKeyAny ¶
func (n *ModelPath) SingleKeyAny() *Model_SingleKeyPathAny
SingleKeyAny (list):
Defining module: "openconfig-withlistval" Instantiating module: "openconfig-withlistval" Path from parent: "a/single-key" Path from root: "/model/a/single-key"
func (*ModelPath) SingleKeyMap ¶ added in v0.8.0
func (n *ModelPath) SingleKeyMap() *Model_SingleKeyPathMap
SingleKeyMap (list):
Defining module: "openconfig-withlistval" Instantiating module: "openconfig-withlistval" Path from parent: "a/single-key" Path from root: "/model/a/single-key"
type ModelPathAny ¶
ModelPathAny represents the wildcard version of the /openconfig-withlistval/model YANG schema element.
func (*ModelPathAny) Config ¶
func (n *ModelPathAny) Config() ygnmi.WildcardQuery[*oc.Model]
Config returns a Query that can be used in gNMI operations.
func (*ModelPathAny) MultiKey ¶
func (n *ModelPathAny) MultiKey(Key1 uint32, Key2 uint64) *Model_MultiKeyPathAny
MultiKey (list):
Defining module: "openconfig-withlistval" Instantiating module: "openconfig-withlistval" Path from parent: "b/multi-key" Path from root: "/model/b/multi-key" Key1: uint32 Key2: uint64
func (*ModelPathAny) MultiKeyAny ¶
func (n *ModelPathAny) MultiKeyAny() *Model_MultiKeyPathAny
MultiKeyAny (list):
Defining module: "openconfig-withlistval" Instantiating module: "openconfig-withlistval" Path from parent: "b/multi-key" Path from root: "/model/b/multi-key"
func (*ModelPathAny) MultiKeyMap ¶ added in v0.8.0
func (n *ModelPathAny) MultiKeyMap() *Model_MultiKeyPathMapAny
MultiKeyMap (list):
Defining module: "openconfig-withlistval" Instantiating module: "openconfig-withlistval" Path from parent: "b/multi-key" Path from root: "/model/b/multi-key"
func (*ModelPathAny) NoKeyAny ¶ added in v0.5.0
func (n *ModelPathAny) NoKeyAny() *Model_NoKeyPathAny
NoKeyAny (list):
Defining module: "openconfig-withlistval" Instantiating module: "openconfig-withlistval" Path from parent: "c/no-key" Path from root: "/model/c/no-key"
func (*ModelPathAny) SingleKey ¶
func (n *ModelPathAny) SingleKey(Key string) *Model_SingleKeyPathAny
SingleKey (list):
Defining module: "openconfig-withlistval" Instantiating module: "openconfig-withlistval" Path from parent: "a/single-key" Path from root: "/model/a/single-key" Key: string
func (*ModelPathAny) SingleKeyAny ¶
func (n *ModelPathAny) SingleKeyAny() *Model_SingleKeyPathAny
SingleKeyAny (list):
Defining module: "openconfig-withlistval" Instantiating module: "openconfig-withlistval" Path from parent: "a/single-key" Path from root: "/model/a/single-key"
func (*ModelPathAny) SingleKeyMap ¶ added in v0.8.0
func (n *ModelPathAny) SingleKeyMap() *Model_SingleKeyPathMapAny
SingleKeyMap (list):
Defining module: "openconfig-withlistval" Instantiating module: "openconfig-withlistval" Path from parent: "a/single-key" Path from root: "/model/a/single-key"
func (*ModelPathAny) State ¶
func (n *ModelPathAny) State() ygnmi.WildcardQuery[*oc.Model]
State returns a Query that can be used in gNMI operations.
type Model_MultiKeyPath ¶
Model_MultiKeyPath represents the /openconfig-withlistval/model/b/multi-key YANG schema element.
func (*Model_MultiKeyPath) Config ¶
func (n *Model_MultiKeyPath) Config() ygnmi.ConfigQuery[*oc.Model_MultiKey]
Config returns a Query that can be used in gNMI operations.
func (*Model_MultiKeyPath) Key1 ¶
func (n *Model_MultiKeyPath) Key1() *Model_MultiKey_Key1Path
Key1 (leaf):
Defining module: "openconfig-withlistval" Instantiating module: "openconfig-withlistval" Path from parent: "*/key1" Path from root: "/model/b/multi-key/*/key1"
func (*Model_MultiKeyPath) Key2 ¶
func (n *Model_MultiKeyPath) Key2() *Model_MultiKey_Key2Path
Key2 (leaf):
Defining module: "openconfig-withlistval" Instantiating module: "openconfig-withlistval" Path from parent: "*/key2" Path from root: "/model/b/multi-key/*/key2"
func (*Model_MultiKeyPath) State ¶
func (n *Model_MultiKeyPath) State() ygnmi.SingletonQuery[*oc.Model_MultiKey]
State returns a Query that can be used in gNMI operations.
type Model_MultiKeyPathAny ¶
Model_MultiKeyPathAny represents the wildcard version of the /openconfig-withlistval/model/b/multi-key YANG schema element.
func (*Model_MultiKeyPathAny) Config ¶
func (n *Model_MultiKeyPathAny) Config() ygnmi.WildcardQuery[*oc.Model_MultiKey]
Config returns a Query that can be used in gNMI operations.
func (*Model_MultiKeyPathAny) Key1 ¶
func (n *Model_MultiKeyPathAny) Key1() *Model_MultiKey_Key1PathAny
Key1 (leaf):
Defining module: "openconfig-withlistval" Instantiating module: "openconfig-withlistval" Path from parent: "*/key1" Path from root: "/model/b/multi-key/*/key1"
func (*Model_MultiKeyPathAny) Key2 ¶
func (n *Model_MultiKeyPathAny) Key2() *Model_MultiKey_Key2PathAny
Key2 (leaf):
Defining module: "openconfig-withlistval" Instantiating module: "openconfig-withlistval" Path from parent: "*/key2" Path from root: "/model/b/multi-key/*/key2"
func (*Model_MultiKeyPathAny) State ¶
func (n *Model_MultiKeyPathAny) State() ygnmi.WildcardQuery[*oc.Model_MultiKey]
State returns a Query that can be used in gNMI operations.
func (*Model_MultiKeyPathAny) WithKey1 ¶
func (n *Model_MultiKeyPathAny) WithKey1(Key1 uint32) *Model_MultiKeyPathAny
WithKey1 sets Model_MultiKeyPathAny's key "key1" to the specified value. Key1: uint32
func (*Model_MultiKeyPathAny) WithKey2 ¶
func (n *Model_MultiKeyPathAny) WithKey2(Key2 uint64) *Model_MultiKeyPathAny
WithKey2 sets Model_MultiKeyPathAny's key "key2" to the specified value. Key2: uint64
type Model_MultiKeyPathMap ¶ added in v0.8.0
Model_MultiKeyPathMap represents the /openconfig-withlistval/model/b/multi-key YANG schema element.
func (*Model_MultiKeyPathMap) Config ¶ added in v0.8.0
func (n *Model_MultiKeyPathMap) Config() ygnmi.ConfigQuery[map[oc.Model_MultiKey_Key]*oc.Model_MultiKey]
Config returns a Query that can be used in gNMI operations.
func (*Model_MultiKeyPathMap) State ¶ added in v0.8.0
func (n *Model_MultiKeyPathMap) State() ygnmi.SingletonQuery[map[oc.Model_MultiKey_Key]*oc.Model_MultiKey]
State returns a Query that can be used in gNMI operations.
type Model_MultiKeyPathMapAny ¶ added in v0.8.0
Model_MultiKeyPathMapAny represents the wildcard version of the /openconfig-withlistval/model/b/multi-key YANG schema element.
func (*Model_MultiKeyPathMapAny) Config ¶ added in v0.8.0
func (n *Model_MultiKeyPathMapAny) Config() ygnmi.WildcardQuery[map[oc.Model_MultiKey_Key]*oc.Model_MultiKey]
Config returns a Query that can be used in gNMI operations.
func (*Model_MultiKeyPathMapAny) State ¶ added in v0.8.0
func (n *Model_MultiKeyPathMapAny) State() ygnmi.WildcardQuery[map[oc.Model_MultiKey_Key]*oc.Model_MultiKey]
State returns a Query that can be used in gNMI operations.
type Model_MultiKey_Key1Path ¶
Model_MultiKey_Key1Path represents the /openconfig-withlistval/model/b/multi-key/state/key1 YANG schema element.
func (*Model_MultiKey_Key1Path) Config ¶
func (n *Model_MultiKey_Key1Path) Config() ygnmi.ConfigQuery[uint32]
Config returns a Query that can be used in gNMI operations.
Defining module: "openconfig-withlistval" Instantiating module: "openconfig-withlistval" Path from parent: "config/key1" Path from root: "/model/b/multi-key/config/key1"
func (*Model_MultiKey_Key1Path) State ¶
func (n *Model_MultiKey_Key1Path) State() ygnmi.SingletonQuery[uint32]
State returns a Query that can be used in gNMI operations.
Defining module: "openconfig-withlistval" Instantiating module: "openconfig-withlistval" Path from parent: "state/key1" Path from root: "/model/b/multi-key/state/key1"
type Model_MultiKey_Key1PathAny ¶
type Model_MultiKey_Key1PathAny struct {
*ygnmi.NodePath
// contains filtered or unexported fields
}
Model_MultiKey_Key1PathAny represents the wildcard version of the /openconfig-withlistval/model/b/multi-key/state/key1 YANG schema element.
func (*Model_MultiKey_Key1PathAny) Config ¶
func (n *Model_MultiKey_Key1PathAny) Config() ygnmi.WildcardQuery[uint32]
Config returns a Query that can be used in gNMI operations.
Defining module: "openconfig-withlistval" Instantiating module: "openconfig-withlistval" Path from parent: "config/key1" Path from root: "/model/b/multi-key/config/key1"
func (*Model_MultiKey_Key1PathAny) State ¶
func (n *Model_MultiKey_Key1PathAny) State() ygnmi.WildcardQuery[uint32]
State returns a Query that can be used in gNMI operations.
Defining module: "openconfig-withlistval" Instantiating module: "openconfig-withlistval" Path from parent: "state/key1" Path from root: "/model/b/multi-key/state/key1"
type Model_MultiKey_Key2Path ¶
Model_MultiKey_Key2Path represents the /openconfig-withlistval/model/b/multi-key/state/key2 YANG schema element.
func (*Model_MultiKey_Key2Path) Config ¶
func (n *Model_MultiKey_Key2Path) Config() ygnmi.ConfigQuery[uint64]
Config returns a Query that can be used in gNMI operations.
Defining module: "openconfig-withlistval" Instantiating module: "openconfig-withlistval" Path from parent: "config/key2" Path from root: "/model/b/multi-key/config/key2"
func (*Model_MultiKey_Key2Path) State ¶
func (n *Model_MultiKey_Key2Path) State() ygnmi.SingletonQuery[uint64]
State returns a Query that can be used in gNMI operations.
Defining module: "openconfig-withlistval" Instantiating module: "openconfig-withlistval" Path from parent: "state/key2" Path from root: "/model/b/multi-key/state/key2"
type Model_MultiKey_Key2PathAny ¶
type Model_MultiKey_Key2PathAny struct {
*ygnmi.NodePath
// contains filtered or unexported fields
}
Model_MultiKey_Key2PathAny represents the wildcard version of the /openconfig-withlistval/model/b/multi-key/state/key2 YANG schema element.
func (*Model_MultiKey_Key2PathAny) Config ¶
func (n *Model_MultiKey_Key2PathAny) Config() ygnmi.WildcardQuery[uint64]
Config returns a Query that can be used in gNMI operations.
Defining module: "openconfig-withlistval" Instantiating module: "openconfig-withlistval" Path from parent: "config/key2" Path from root: "/model/b/multi-key/config/key2"
func (*Model_MultiKey_Key2PathAny) State ¶
func (n *Model_MultiKey_Key2PathAny) State() ygnmi.WildcardQuery[uint64]
State returns a Query that can be used in gNMI operations.
Defining module: "openconfig-withlistval" Instantiating module: "openconfig-withlistval" Path from parent: "state/key2" Path from root: "/model/b/multi-key/state/key2"
type Model_NoKeyPath ¶ added in v0.5.0
Model_NoKeyPath represents the /openconfig-withlistval/model/c/no-key YANG schema element.
func (*Model_NoKeyPath) State ¶ added in v0.5.0
func (n *Model_NoKeyPath) State() ygnmi.SingletonQuery[*oc.Model_NoKey]
State returns a Query that can be used in gNMI operations.
type Model_NoKeyPathAny ¶ added in v0.5.0
Model_NoKeyPathAny represents the wildcard version of the /openconfig-withlistval/model/c/no-key YANG schema element.
func (*Model_NoKeyPathAny) State ¶ added in v0.5.0
func (n *Model_NoKeyPathAny) State() ygnmi.WildcardQuery[*oc.Model_NoKey]
State returns a Query that can be used in gNMI operations.
type Model_NoKey_FooPath ¶ added in v0.5.0
Model_NoKey_FooPath represents the /openconfig-withlistval/model/c/no-key/foo YANG schema element.
func (*Model_NoKey_FooPath) Key ¶ added in v0.5.0
func (n *Model_NoKey_FooPath) Key() *Model_NoKey_Foo_KeyPath
Key (leaf):
Defining module: "openconfig-withlistval" Instantiating module: "openconfig-withlistval" Path from parent: "state/key" Path from root: "/model/c/no-key/foo/state/key"
func (*Model_NoKey_FooPath) State ¶ added in v0.5.0
func (n *Model_NoKey_FooPath) State() ygnmi.SingletonQuery[*oc.Model_NoKey_Foo]
State returns a Query that can be used in gNMI operations.
func (*Model_NoKey_FooPath) Value ¶ added in v0.5.0
func (n *Model_NoKey_FooPath) Value() *Model_NoKey_Foo_ValuePath
Value (leaf):
Defining module: "openconfig-withlistval" Instantiating module: "openconfig-withlistval" Path from parent: "state/value" Path from root: "/model/c/no-key/foo/state/value"
type Model_NoKey_FooPathAny ¶ added in v0.5.0
Model_NoKey_FooPathAny represents the wildcard version of the /openconfig-withlistval/model/c/no-key/foo YANG schema element.
func (*Model_NoKey_FooPathAny) Key ¶ added in v0.5.0
func (n *Model_NoKey_FooPathAny) Key() *Model_NoKey_Foo_KeyPathAny
Key (leaf):
Defining module: "openconfig-withlistval" Instantiating module: "openconfig-withlistval" Path from parent: "state/key" Path from root: "/model/c/no-key/foo/state/key"
func (*Model_NoKey_FooPathAny) State ¶ added in v0.5.0
func (n *Model_NoKey_FooPathAny) State() ygnmi.WildcardQuery[*oc.Model_NoKey_Foo]
State returns a Query that can be used in gNMI operations.
func (*Model_NoKey_FooPathAny) Value ¶ added in v0.5.0
func (n *Model_NoKey_FooPathAny) Value() *Model_NoKey_Foo_ValuePathAny
Value (leaf):
Defining module: "openconfig-withlistval" Instantiating module: "openconfig-withlistval" Path from parent: "state/value" Path from root: "/model/c/no-key/foo/state/value"
type Model_NoKey_Foo_KeyPath ¶ added in v0.5.0
Model_NoKey_Foo_KeyPath represents the /openconfig-withlistval/model/c/no-key/foo/state/key YANG schema element.
func (*Model_NoKey_Foo_KeyPath) State ¶ added in v0.5.0
func (n *Model_NoKey_Foo_KeyPath) State() ygnmi.SingletonQuery[string]
State returns a Query that can be used in gNMI operations.
Defining module: "openconfig-withlistval" Instantiating module: "openconfig-withlistval" Path from parent: "state/key" Path from root: "/model/c/no-key/foo/state/key"
type Model_NoKey_Foo_KeyPathAny ¶ added in v0.5.0
type Model_NoKey_Foo_KeyPathAny struct {
*ygnmi.NodePath
// contains filtered or unexported fields
}
Model_NoKey_Foo_KeyPathAny represents the wildcard version of the /openconfig-withlistval/model/c/no-key/foo/state/key YANG schema element.
func (*Model_NoKey_Foo_KeyPathAny) State ¶ added in v0.5.0
func (n *Model_NoKey_Foo_KeyPathAny) State() ygnmi.WildcardQuery[string]
State returns a Query that can be used in gNMI operations.
Defining module: "openconfig-withlistval" Instantiating module: "openconfig-withlistval" Path from parent: "state/key" Path from root: "/model/c/no-key/foo/state/key"
type Model_NoKey_Foo_ValuePath ¶ added in v0.5.0
Model_NoKey_Foo_ValuePath represents the /openconfig-withlistval/model/c/no-key/foo/state/value YANG schema element.
func (*Model_NoKey_Foo_ValuePath) State ¶ added in v0.5.0
func (n *Model_NoKey_Foo_ValuePath) State() ygnmi.SingletonQuery[int64]
State returns a Query that can be used in gNMI operations.
Defining module: "openconfig-withlistval" Instantiating module: "openconfig-withlistval" Path from parent: "state/value" Path from root: "/model/c/no-key/foo/state/value"
type Model_NoKey_Foo_ValuePathAny ¶ added in v0.5.0
type Model_NoKey_Foo_ValuePathAny struct {
*ygnmi.NodePath
// contains filtered or unexported fields
}
Model_NoKey_Foo_ValuePathAny represents the wildcard version of the /openconfig-withlistval/model/c/no-key/foo/state/value YANG schema element.
func (*Model_NoKey_Foo_ValuePathAny) State ¶ added in v0.5.0
func (n *Model_NoKey_Foo_ValuePathAny) State() ygnmi.WildcardQuery[int64]
State returns a Query that can be used in gNMI operations.
Defining module: "openconfig-withlistval" Instantiating module: "openconfig-withlistval" Path from parent: "state/value" Path from root: "/model/c/no-key/foo/state/value"
type Model_SingleKeyPath ¶
Model_SingleKeyPath represents the /openconfig-withlistval/model/a/single-key YANG schema element.
func (*Model_SingleKeyPath) Config ¶
func (n *Model_SingleKeyPath) Config() ygnmi.ConfigQuery[*oc.Model_SingleKey]
Config returns a Query that can be used in gNMI operations.
func (*Model_SingleKeyPath) Key ¶
func (n *Model_SingleKeyPath) Key() *Model_SingleKey_KeyPath
Key (leaf):
Defining module: "openconfig-withlistval" Instantiating module: "openconfig-withlistval" Path from parent: "*/key" Path from root: "/model/a/single-key/*/key"
func (*Model_SingleKeyPath) OrderedListMap ¶ added in v0.8.0
func (n *Model_SingleKeyPath) OrderedListMap() *Model_SingleKey_OrderedListPathMap
OrderedListMap (list):
Defining module: "openconfig-withlistval" Instantiating module: "openconfig-withlistval" Path from parent: "ordered-lists/ordered-list" Path from root: "/model/a/single-key/ordered-lists/ordered-list"
func (*Model_SingleKeyPath) SingleKeyMap ¶ added in v0.8.0
func (n *Model_SingleKeyPath) SingleKeyMap() *Model_SingleKey_SingleKeyPathMap
SingleKeyMap (list):
Defining module: "openconfig-withlistval" Instantiating module: "openconfig-withlistval" Path from parent: "inner-a/single-key" Path from root: "/model/a/single-key/inner-a/single-key"
func (*Model_SingleKeyPath) State ¶
func (n *Model_SingleKeyPath) State() ygnmi.SingletonQuery[*oc.Model_SingleKey]
State returns a Query that can be used in gNMI operations.
func (*Model_SingleKeyPath) Value ¶
func (n *Model_SingleKeyPath) Value() *Model_SingleKey_ValuePath
Value (leaf):
Defining module: "openconfig-withlistval" Instantiating module: "openconfig-withlistval" Path from parent: "*/value" Path from root: "/model/a/single-key/*/value"
type Model_SingleKeyPathAny ¶
Model_SingleKeyPathAny represents the wildcard version of the /openconfig-withlistval/model/a/single-key YANG schema element.
func (*Model_SingleKeyPathAny) Config ¶
func (n *Model_SingleKeyPathAny) Config() ygnmi.WildcardQuery[*oc.Model_SingleKey]
Config returns a Query that can be used in gNMI operations.
func (*Model_SingleKeyPathAny) Key ¶
func (n *Model_SingleKeyPathAny) Key() *Model_SingleKey_KeyPathAny
Key (leaf):
Defining module: "openconfig-withlistval" Instantiating module: "openconfig-withlistval" Path from parent: "*/key" Path from root: "/model/a/single-key/*/key"
func (*Model_SingleKeyPathAny) OrderedListMap ¶ added in v0.8.0
func (n *Model_SingleKeyPathAny) OrderedListMap() *Model_SingleKey_OrderedListPathMapAny
OrderedListMap (list):
Defining module: "openconfig-withlistval" Instantiating module: "openconfig-withlistval" Path from parent: "ordered-lists/ordered-list" Path from root: "/model/a/single-key/ordered-lists/ordered-list"
func (*Model_SingleKeyPathAny) SingleKeyMap ¶ added in v0.8.0
func (n *Model_SingleKeyPathAny) SingleKeyMap() *Model_SingleKey_SingleKeyPathMapAny
SingleKeyMap (list):
Defining module: "openconfig-withlistval" Instantiating module: "openconfig-withlistval" Path from parent: "inner-a/single-key" Path from root: "/model/a/single-key/inner-a/single-key"
func (*Model_SingleKeyPathAny) State ¶
func (n *Model_SingleKeyPathAny) State() ygnmi.WildcardQuery[*oc.Model_SingleKey]
State returns a Query that can be used in gNMI operations.
func (*Model_SingleKeyPathAny) Value ¶
func (n *Model_SingleKeyPathAny) Value() *Model_SingleKey_ValuePathAny
Value (leaf):
Defining module: "openconfig-withlistval" Instantiating module: "openconfig-withlistval" Path from parent: "*/value" Path from root: "/model/a/single-key/*/value"
type Model_SingleKeyPathMap ¶ added in v0.8.0
Model_SingleKeyPathMap represents the /openconfig-withlistval/model/a/single-key YANG schema element.
func (*Model_SingleKeyPathMap) Config ¶ added in v0.8.0
func (n *Model_SingleKeyPathMap) Config() ygnmi.ConfigQuery[map[string]*oc.Model_SingleKey]
Config returns a Query that can be used in gNMI operations.
func (*Model_SingleKeyPathMap) State ¶ added in v0.8.0
func (n *Model_SingleKeyPathMap) State() ygnmi.SingletonQuery[map[string]*oc.Model_SingleKey]
State returns a Query that can be used in gNMI operations.
type Model_SingleKeyPathMapAny ¶ added in v0.8.0
Model_SingleKeyPathMapAny represents the wildcard version of the /openconfig-withlistval/model/a/single-key YANG schema element.
func (*Model_SingleKeyPathMapAny) Config ¶ added in v0.8.0
func (n *Model_SingleKeyPathMapAny) Config() ygnmi.WildcardQuery[map[string]*oc.Model_SingleKey]
Config returns a Query that can be used in gNMI operations.
func (*Model_SingleKeyPathMapAny) State ¶ added in v0.8.0
func (n *Model_SingleKeyPathMapAny) State() ygnmi.WildcardQuery[map[string]*oc.Model_SingleKey]
State returns a Query that can be used in gNMI operations.
type Model_SingleKey_KeyPath ¶
Model_SingleKey_KeyPath represents the /openconfig-withlistval/model/a/single-key/state/key YANG schema element.
func (*Model_SingleKey_KeyPath) Config ¶
func (n *Model_SingleKey_KeyPath) Config() ygnmi.ConfigQuery[string]
Config returns a Query that can be used in gNMI operations.
Defining module: "openconfig-withlistval" Instantiating module: "openconfig-withlistval" Path from parent: "config/key" Path from root: "/model/a/single-key/config/key"
func (*Model_SingleKey_KeyPath) State ¶
func (n *Model_SingleKey_KeyPath) State() ygnmi.SingletonQuery[string]
State returns a Query that can be used in gNMI operations.
Defining module: "openconfig-withlistval" Instantiating module: "openconfig-withlistval" Path from parent: "state/key" Path from root: "/model/a/single-key/state/key"
type Model_SingleKey_KeyPathAny ¶
type Model_SingleKey_KeyPathAny struct {
*ygnmi.NodePath
// contains filtered or unexported fields
}
Model_SingleKey_KeyPathAny represents the wildcard version of the /openconfig-withlistval/model/a/single-key/state/key YANG schema element.
func (*Model_SingleKey_KeyPathAny) Config ¶
func (n *Model_SingleKey_KeyPathAny) Config() ygnmi.WildcardQuery[string]
Config returns a Query that can be used in gNMI operations.
Defining module: "openconfig-withlistval" Instantiating module: "openconfig-withlistval" Path from parent: "config/key" Path from root: "/model/a/single-key/config/key"
func (*Model_SingleKey_KeyPathAny) State ¶
func (n *Model_SingleKey_KeyPathAny) State() ygnmi.WildcardQuery[string]
State returns a Query that can be used in gNMI operations.
Defining module: "openconfig-withlistval" Instantiating module: "openconfig-withlistval" Path from parent: "state/key" Path from root: "/model/a/single-key/state/key"
type Model_SingleKey_OrderedListPath ¶ added in v0.8.0
Model_SingleKey_OrderedListPath represents the /openconfig-withlistval/model/a/single-key/ordered-lists/ordered-list YANG schema element.
type Model_SingleKey_OrderedListPathAny ¶ added in v0.8.0
Model_SingleKey_OrderedListPathAny represents the wildcard version of the /openconfig-withlistval/model/a/single-key/ordered-lists/ordered-list YANG schema element.
type Model_SingleKey_OrderedListPathMap ¶ added in v0.8.0
Model_SingleKey_OrderedListPathMap represents the /openconfig-withlistval/model/a/single-key/ordered-lists/ordered-list YANG schema element.
func (*Model_SingleKey_OrderedListPathMap) Config ¶ added in v0.8.0
func (n *Model_SingleKey_OrderedListPathMap) Config() ygnmi.ConfigQuery[*oc.Model_SingleKey_OrderedList_OrderedMap]
Config returns a Query that can be used in gNMI operations.
func (*Model_SingleKey_OrderedListPathMap) State ¶ added in v0.8.0
func (n *Model_SingleKey_OrderedListPathMap) State() ygnmi.SingletonQuery[*oc.Model_SingleKey_OrderedList_OrderedMap]
State returns a Query that can be used in gNMI operations.
type Model_SingleKey_OrderedListPathMapAny ¶ added in v0.8.0
Model_SingleKey_OrderedListPathMapAny represents the wildcard version of the /openconfig-withlistval/model/a/single-key/ordered-lists/ordered-list YANG schema element.
func (*Model_SingleKey_OrderedListPathMapAny) Config ¶ added in v0.8.0
func (n *Model_SingleKey_OrderedListPathMapAny) Config() ygnmi.WildcardQuery[*oc.Model_SingleKey_OrderedList_OrderedMap]
Config returns a Query that can be used in gNMI operations.
func (*Model_SingleKey_OrderedListPathMapAny) State ¶ added in v0.8.0
func (n *Model_SingleKey_OrderedListPathMapAny) State() ygnmi.WildcardQuery[*oc.Model_SingleKey_OrderedList_OrderedMap]
State returns a Query that can be used in gNMI operations.
type Model_SingleKey_SingleKeyPath ¶ added in v0.8.0
Model_SingleKey_SingleKeyPath represents the /openconfig-withlistval/model/a/single-key/inner-a/single-key YANG schema element.
type Model_SingleKey_SingleKeyPathAny ¶ added in v0.8.0
Model_SingleKey_SingleKeyPathAny represents the wildcard version of the /openconfig-withlistval/model/a/single-key/inner-a/single-key YANG schema element.
type Model_SingleKey_SingleKeyPathMap ¶ added in v0.8.0
Model_SingleKey_SingleKeyPathMap represents the /openconfig-withlistval/model/a/single-key/inner-a/single-key YANG schema element.
func (*Model_SingleKey_SingleKeyPathMap) Config ¶ added in v0.8.0
func (n *Model_SingleKey_SingleKeyPathMap) Config() ygnmi.ConfigQuery[map[string]*oc.Model_SingleKey_SingleKey]
Config returns a Query that can be used in gNMI operations.
func (*Model_SingleKey_SingleKeyPathMap) State ¶ added in v0.8.0
func (n *Model_SingleKey_SingleKeyPathMap) State() ygnmi.SingletonQuery[map[string]*oc.Model_SingleKey_SingleKey]
State returns a Query that can be used in gNMI operations.
type Model_SingleKey_SingleKeyPathMapAny ¶ added in v0.8.0
Model_SingleKey_SingleKeyPathMapAny represents the wildcard version of the /openconfig-withlistval/model/a/single-key/inner-a/single-key YANG schema element.
func (*Model_SingleKey_SingleKeyPathMapAny) Config ¶ added in v0.8.0
func (n *Model_SingleKey_SingleKeyPathMapAny) Config() ygnmi.WildcardQuery[map[string]*oc.Model_SingleKey_SingleKey]
Config returns a Query that can be used in gNMI operations.
func (*Model_SingleKey_SingleKeyPathMapAny) State ¶ added in v0.8.0
func (n *Model_SingleKey_SingleKeyPathMapAny) State() ygnmi.WildcardQuery[map[string]*oc.Model_SingleKey_SingleKey]
State returns a Query that can be used in gNMI operations.
type Model_SingleKey_ValuePath ¶
Model_SingleKey_ValuePath represents the /openconfig-withlistval/model/a/single-key/state/value YANG schema element.
func (*Model_SingleKey_ValuePath) Config ¶
func (n *Model_SingleKey_ValuePath) Config() ygnmi.ConfigQuery[int64]
Config returns a Query that can be used in gNMI operations.
Defining module: "openconfig-withlistval" Instantiating module: "openconfig-withlistval" Path from parent: "config/value" Path from root: "/model/a/single-key/config/value"
func (*Model_SingleKey_ValuePath) State ¶
func (n *Model_SingleKey_ValuePath) State() ygnmi.SingletonQuery[int64]
State returns a Query that can be used in gNMI operations.
Defining module: "openconfig-withlistval" Instantiating module: "openconfig-withlistval" Path from parent: "state/value" Path from root: "/model/a/single-key/state/value"
type Model_SingleKey_ValuePathAny ¶
type Model_SingleKey_ValuePathAny struct {
*ygnmi.NodePath
// contains filtered or unexported fields
}
Model_SingleKey_ValuePathAny represents the wildcard version of the /openconfig-withlistval/model/a/single-key/state/value YANG schema element.
func (*Model_SingleKey_ValuePathAny) Config ¶
func (n *Model_SingleKey_ValuePathAny) Config() ygnmi.WildcardQuery[int64]
Config returns a Query that can be used in gNMI operations.
Defining module: "openconfig-withlistval" Instantiating module: "openconfig-withlistval" Path from parent: "config/value" Path from root: "/model/a/single-key/config/value"
func (*Model_SingleKey_ValuePathAny) State ¶
func (n *Model_SingleKey_ValuePathAny) State() ygnmi.WildcardQuery[int64]
State returns a Query that can be used in gNMI operations.
Defining module: "openconfig-withlistval" Instantiating module: "openconfig-withlistval" Path from parent: "state/value" Path from root: "/model/a/single-key/state/value"