Documentation
¶
Overview ¶
Package a 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.17) 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 Model_SingleKeyPath
- func (n *Model_SingleKeyPath) Config() ygnmi.ConfigQuery[*oc.Model_SingleKey]
- func (n *Model_SingleKeyPath) Counter() *Model_SingleKey_CounterPath
- func (n *Model_SingleKeyPath) Counters() *Model_SingleKey_CountersPath
- 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) Counter() *Model_SingleKey_CounterPathAny
- func (n *Model_SingleKeyPathAny) Counters() *Model_SingleKey_CountersPathAny
- 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_CounterPath
- type Model_SingleKey_CounterPathAny
- type Model_SingleKey_CountersPath
- type Model_SingleKey_CountersPathAny
- 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 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) Counter ¶
func (n *Model_SingleKeyPath) Counter() *Model_SingleKey_CounterPath
Counter (leaf):
Defining module: "openconfig-withlistval" Instantiating module: "openconfig-withlistval" Path from parent: "state/counter" Path from root: "/model/a/single-key/state/counter"
func (*Model_SingleKeyPath) Counters ¶
func (n *Model_SingleKeyPath) Counters() *Model_SingleKey_CountersPath
Counters (leaf-list):
Defining module: "openconfig-withlistval" Instantiating module: "openconfig-withlistval" Path from parent: "state/counters" Path from root: "/model/a/single-key/state/counters"
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 ¶
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 ¶
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) Counter ¶
func (n *Model_SingleKeyPathAny) Counter() *Model_SingleKey_CounterPathAny
Counter (leaf):
Defining module: "openconfig-withlistval" Instantiating module: "openconfig-withlistval" Path from parent: "state/counter" Path from root: "/model/a/single-key/state/counter"
func (*Model_SingleKeyPathAny) Counters ¶
func (n *Model_SingleKeyPathAny) Counters() *Model_SingleKey_CountersPathAny
Counters (leaf-list):
Defining module: "openconfig-withlistval" Instantiating module: "openconfig-withlistval" Path from parent: "state/counters" Path from root: "/model/a/single-key/state/counters"
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 ¶
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 ¶
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 ¶
Model_SingleKeyPathMap represents the /openconfig-withlistval/model/a/single-key YANG schema element.
func (*Model_SingleKeyPathMap) Config ¶
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 ¶
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 ¶
Model_SingleKeyPathMapAny represents the wildcard version of the /openconfig-withlistval/model/a/single-key YANG schema element.
func (*Model_SingleKeyPathMapAny) Config ¶
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 ¶
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_CounterPath ¶
type Model_SingleKey_CounterPath struct {
*ygnmi.NodePath
// contains filtered or unexported fields
}
Model_SingleKey_CounterPath represents the /openconfig-withlistval/model/a/single-key/state/counter YANG schema element.
func (*Model_SingleKey_CounterPath) State ¶
func (n *Model_SingleKey_CounterPath) State() ygnmi.SingletonQuery[float32]
State returns a Query that can be used in gNMI operations.
Defining module: "openconfig-withlistval" Instantiating module: "openconfig-withlistval" Path from parent: "state/counter" Path from root: "/model/a/single-key/state/counter"
type Model_SingleKey_CounterPathAny ¶
type Model_SingleKey_CounterPathAny struct {
*ygnmi.NodePath
// contains filtered or unexported fields
}
Model_SingleKey_CounterPathAny represents the wildcard version of the /openconfig-withlistval/model/a/single-key/state/counter YANG schema element.
func (*Model_SingleKey_CounterPathAny) State ¶
func (n *Model_SingleKey_CounterPathAny) State() ygnmi.WildcardQuery[float32]
State returns a Query that can be used in gNMI operations.
Defining module: "openconfig-withlistval" Instantiating module: "openconfig-withlistval" Path from parent: "state/counter" Path from root: "/model/a/single-key/state/counter"
type Model_SingleKey_CountersPath ¶
type Model_SingleKey_CountersPath struct {
*ygnmi.NodePath
// contains filtered or unexported fields
}
Model_SingleKey_CountersPath represents the /openconfig-withlistval/model/a/single-key/state/counters YANG schema element.
func (*Model_SingleKey_CountersPath) State ¶
func (n *Model_SingleKey_CountersPath) State() ygnmi.SingletonQuery[[]float32]
State returns a Query that can be used in gNMI operations.
Defining module: "openconfig-withlistval" Instantiating module: "openconfig-withlistval" Path from parent: "state/counters" Path from root: "/model/a/single-key/state/counters"
type Model_SingleKey_CountersPathAny ¶
type Model_SingleKey_CountersPathAny struct {
*ygnmi.NodePath
// contains filtered or unexported fields
}
Model_SingleKey_CountersPathAny represents the wildcard version of the /openconfig-withlistval/model/a/single-key/state/counters YANG schema element.
func (*Model_SingleKey_CountersPathAny) State ¶
func (n *Model_SingleKey_CountersPathAny) State() ygnmi.WildcardQuery[[]float32]
State returns a Query that can be used in gNMI operations.
Defining module: "openconfig-withlistval" Instantiating module: "openconfig-withlistval" Path from parent: "state/counters" Path from root: "/model/a/single-key/state/counters"
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 ¶
Model_SingleKey_OrderedListPath represents the /openconfig-withlistval/model/a/single-key/ordered-lists/ordered-list YANG schema element.
type Model_SingleKey_OrderedListPathAny ¶
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 ¶
Model_SingleKey_OrderedListPathMap represents the /openconfig-withlistval/model/a/single-key/ordered-lists/ordered-list YANG schema element.
func (*Model_SingleKey_OrderedListPathMap) Config ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
Model_SingleKey_SingleKeyPath represents the /openconfig-withlistval/model/a/single-key/inner-a/single-key YANG schema element.
type Model_SingleKey_SingleKeyPathAny ¶
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 ¶
Model_SingleKey_SingleKeyPathMap represents the /openconfig-withlistval/model/a/single-key/inner-a/single-key YANG schema element.
func (*Model_SingleKey_SingleKeyPathMap) Config ¶
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 ¶
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 ¶
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 ¶
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 ¶
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"