Documentation ¶
Overview ¶
Package withlistval is a generated package which contains definitions of structs which generate gNMI paths for a YANG schema.
This package was generated by ygnmi version: (devel): (ygot: v0.29.12) 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 OpenconfigWithlistval_ModelPath
- type OpenconfigWithlistval_ModelPathAny
- type OpenconfigWithlistval_Model_CPath
- type OpenconfigWithlistval_Model_CPathAny
- type OpenconfigWithlistval_Model_C_NoKeyPath
- type OpenconfigWithlistval_Model_C_NoKeyPathAny
- type OpenconfigWithlistval_Model_C_NoKey_FooPath
- type OpenconfigWithlistval_Model_C_NoKey_FooPathAny
- type OpenconfigWithlistval_Model_C_NoKey_Foo_StatePath
- type OpenconfigWithlistval_Model_C_NoKey_Foo_StatePathAny
- type OpenconfigWithlistval_Model_C_NoKey_Foo_State_KeyPath
- type OpenconfigWithlistval_Model_C_NoKey_Foo_State_KeyPathAny
- type OpenconfigWithlistval_Model_C_NoKey_Foo_State_ValuePath
- type OpenconfigWithlistval_Model_C_NoKey_Foo_State_ValuePathAny
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type OpenconfigWithlistval_ModelPath ¶
type OpenconfigWithlistval_ModelPath struct { *ygnmi.NodePath ygnmi.ConfigQuery[*oc.OpenconfigWithlistval_Model] }
OpenconfigWithlistval_ModelPath represents the /openconfig-withlistval/model YANG schema element.
func (*OpenconfigWithlistval_ModelPath) A ¶
func (n *OpenconfigWithlistval_ModelPath) A() *a.OpenconfigWithlistval_Model_APath
A (container):
Defining module: "openconfig-withlistval" Instantiating module: "openconfig-withlistval" Path from parent: "a" Path from root: "/model/a"
func (*OpenconfigWithlistval_ModelPath) B ¶
B (container):
Defining module: "openconfig-withlistval" Instantiating module: "openconfig-withlistval" Path from parent: "b" Path from root: "/model/b"
func (*OpenconfigWithlistval_ModelPath) C ¶
func (n *OpenconfigWithlistval_ModelPath) C() *OpenconfigWithlistval_Model_CPath
C (container):
Defining module: "openconfig-withlistval" Instantiating module: "openconfig-withlistval" Path from parent: "c" Path from root: "/model/c"
type OpenconfigWithlistval_ModelPathAny ¶
type OpenconfigWithlistval_ModelPathAny struct { *ygnmi.NodePath ygnmi.WildcardQuery[*oc.OpenconfigWithlistval_Model] }
OpenconfigWithlistval_ModelPathAny represents the wildcard version of the /openconfig-withlistval/model YANG schema element.
func (*OpenconfigWithlistval_ModelPathAny) A ¶
A (container):
Defining module: "openconfig-withlistval" Instantiating module: "openconfig-withlistval" Path from parent: "a" Path from root: "/model/a"
func (*OpenconfigWithlistval_ModelPathAny) B ¶
B (container):
Defining module: "openconfig-withlistval" Instantiating module: "openconfig-withlistval" Path from parent: "b" Path from root: "/model/b"
type OpenconfigWithlistval_Model_CPath ¶
type OpenconfigWithlistval_Model_CPath struct { *ygnmi.NodePath ygnmi.SingletonQuery[*oc.OpenconfigWithlistval_Model_C] }
OpenconfigWithlistval_Model_CPath represents the /openconfig-withlistval/model/c YANG schema element.
func (*OpenconfigWithlistval_Model_CPath) NoKeyAny ¶
func (n *OpenconfigWithlistval_Model_CPath) NoKeyAny() *OpenconfigWithlistval_Model_C_NoKeyPathAny
NoKeyAny (list):
Defining module: "openconfig-withlistval" Instantiating module: "openconfig-withlistval" Path from parent: "no-key" Path from root: "/model/c/no-key"
type OpenconfigWithlistval_Model_CPathAny ¶
type OpenconfigWithlistval_Model_CPathAny struct { *ygnmi.NodePath ygnmi.WildcardQuery[*oc.OpenconfigWithlistval_Model_C] }
OpenconfigWithlistval_Model_CPathAny represents the wildcard version of the /openconfig-withlistval/model/c YANG schema element.
func (*OpenconfigWithlistval_Model_CPathAny) NoKeyAny ¶
func (n *OpenconfigWithlistval_Model_CPathAny) NoKeyAny() *OpenconfigWithlistval_Model_C_NoKeyPathAny
NoKeyAny (list):
Defining module: "openconfig-withlistval" Instantiating module: "openconfig-withlistval" Path from parent: "no-key" Path from root: "/model/c/no-key"
type OpenconfigWithlistval_Model_C_NoKeyPath ¶
type OpenconfigWithlistval_Model_C_NoKeyPath struct { *ygnmi.NodePath ygnmi.SingletonQuery[*oc.OpenconfigWithlistval_Model_C_NoKey] }
OpenconfigWithlistval_Model_C_NoKeyPath represents the /openconfig-withlistval/model/c/no-key YANG schema element.
type OpenconfigWithlistval_Model_C_NoKeyPathAny ¶
type OpenconfigWithlistval_Model_C_NoKeyPathAny struct { *ygnmi.NodePath ygnmi.WildcardQuery[*oc.OpenconfigWithlistval_Model_C_NoKey] }
OpenconfigWithlistval_Model_C_NoKeyPathAny represents the wildcard version of the /openconfig-withlistval/model/c/no-key YANG schema element.
type OpenconfigWithlistval_Model_C_NoKey_FooPath ¶
type OpenconfigWithlistval_Model_C_NoKey_FooPath struct { *ygnmi.NodePath ygnmi.SingletonQuery[*oc.OpenconfigWithlistval_Model_C_NoKey_Foo] }
OpenconfigWithlistval_Model_C_NoKey_FooPath represents the /openconfig-withlistval/model/c/no-key/foo YANG schema element.
func (*OpenconfigWithlistval_Model_C_NoKey_FooPath) State ¶
func (n *OpenconfigWithlistval_Model_C_NoKey_FooPath) State() *OpenconfigWithlistval_Model_C_NoKey_Foo_StatePath
State (container):
Defining module: "openconfig-withlistval" Instantiating module: "openconfig-withlistval" Path from parent: "state" Path from root: "/model/c/no-key/foo/state"
type OpenconfigWithlistval_Model_C_NoKey_FooPathAny ¶
type OpenconfigWithlistval_Model_C_NoKey_FooPathAny struct { *ygnmi.NodePath ygnmi.WildcardQuery[*oc.OpenconfigWithlistval_Model_C_NoKey_Foo] }
OpenconfigWithlistval_Model_C_NoKey_FooPathAny represents the wildcard version of the /openconfig-withlistval/model/c/no-key/foo YANG schema element.
func (*OpenconfigWithlistval_Model_C_NoKey_FooPathAny) State ¶
func (n *OpenconfigWithlistval_Model_C_NoKey_FooPathAny) State() *OpenconfigWithlistval_Model_C_NoKey_Foo_StatePathAny
State (container):
Defining module: "openconfig-withlistval" Instantiating module: "openconfig-withlistval" Path from parent: "state" Path from root: "/model/c/no-key/foo/state"
type OpenconfigWithlistval_Model_C_NoKey_Foo_StatePath ¶
type OpenconfigWithlistval_Model_C_NoKey_Foo_StatePath struct { *ygnmi.NodePath ygnmi.SingletonQuery[*oc.OpenconfigWithlistval_Model_C_NoKey_Foo_State] }
OpenconfigWithlistval_Model_C_NoKey_Foo_StatePath represents the /openconfig-withlistval/model/c/no-key/foo/state YANG schema element.
func (*OpenconfigWithlistval_Model_C_NoKey_Foo_StatePath) Key ¶
func (n *OpenconfigWithlistval_Model_C_NoKey_Foo_StatePath) Key() *OpenconfigWithlistval_Model_C_NoKey_Foo_State_KeyPath
Key (leaf):
Defining module: "openconfig-withlistval" Instantiating module: "openconfig-withlistval" Path from parent: "key" Path from root: "/model/c/no-key/foo/state/key"
func (*OpenconfigWithlistval_Model_C_NoKey_Foo_StatePath) Value ¶
func (n *OpenconfigWithlistval_Model_C_NoKey_Foo_StatePath) Value() *OpenconfigWithlistval_Model_C_NoKey_Foo_State_ValuePath
Value (leaf):
Defining module: "openconfig-withlistval" Instantiating module: "openconfig-withlistval" Path from parent: "value" Path from root: "/model/c/no-key/foo/state/value"
type OpenconfigWithlistval_Model_C_NoKey_Foo_StatePathAny ¶
type OpenconfigWithlistval_Model_C_NoKey_Foo_StatePathAny struct { *ygnmi.NodePath ygnmi.WildcardQuery[*oc.OpenconfigWithlistval_Model_C_NoKey_Foo_State] }
OpenconfigWithlistval_Model_C_NoKey_Foo_StatePathAny represents the wildcard version of the /openconfig-withlistval/model/c/no-key/foo/state YANG schema element.
func (*OpenconfigWithlistval_Model_C_NoKey_Foo_StatePathAny) Key ¶
func (n *OpenconfigWithlistval_Model_C_NoKey_Foo_StatePathAny) Key() *OpenconfigWithlistval_Model_C_NoKey_Foo_State_KeyPathAny
Key (leaf):
Defining module: "openconfig-withlistval" Instantiating module: "openconfig-withlistval" Path from parent: "key" Path from root: "/model/c/no-key/foo/state/key"
func (*OpenconfigWithlistval_Model_C_NoKey_Foo_StatePathAny) Value ¶
func (n *OpenconfigWithlistval_Model_C_NoKey_Foo_StatePathAny) Value() *OpenconfigWithlistval_Model_C_NoKey_Foo_State_ValuePathAny
Value (leaf):
Defining module: "openconfig-withlistval" Instantiating module: "openconfig-withlistval" Path from parent: "value" Path from root: "/model/c/no-key/foo/state/value"
type OpenconfigWithlistval_Model_C_NoKey_Foo_State_KeyPath ¶
type OpenconfigWithlistval_Model_C_NoKey_Foo_State_KeyPath struct { *ygnmi.NodePath ygnmi.SingletonQuery[string] // contains filtered or unexported fields }
OpenconfigWithlistval_Model_C_NoKey_Foo_State_KeyPath represents the /openconfig-withlistval/model/c/no-key/foo/state/key YANG schema element.
type OpenconfigWithlistval_Model_C_NoKey_Foo_State_KeyPathAny ¶
type OpenconfigWithlistval_Model_C_NoKey_Foo_State_KeyPathAny struct { *ygnmi.NodePath ygnmi.WildcardQuery[string] // contains filtered or unexported fields }
OpenconfigWithlistval_Model_C_NoKey_Foo_State_KeyPathAny represents the wildcard version of the /openconfig-withlistval/model/c/no-key/foo/state/key YANG schema element.
type OpenconfigWithlistval_Model_C_NoKey_Foo_State_ValuePath ¶
type OpenconfigWithlistval_Model_C_NoKey_Foo_State_ValuePath struct { *ygnmi.NodePath ygnmi.SingletonQuery[int64] // contains filtered or unexported fields }
OpenconfigWithlistval_Model_C_NoKey_Foo_State_ValuePath represents the /openconfig-withlistval/model/c/no-key/foo/state/value YANG schema element.
type OpenconfigWithlistval_Model_C_NoKey_Foo_State_ValuePathAny ¶
type OpenconfigWithlistval_Model_C_NoKey_Foo_State_ValuePathAny struct { *ygnmi.NodePath ygnmi.WildcardQuery[int64] // contains filtered or unexported fields }
OpenconfigWithlistval_Model_C_NoKey_Foo_State_ValuePathAny represents the wildcard version of the /openconfig-withlistval/model/c/no-key/foo/state/value YANG schema element.