Documentation
¶
Overview ¶
Code generated by YGOT. DO NOT EDIT.
Package e2node_1_0_0 is a generated package which contains definitions of structs which represent a YANG schema. The generated schema can be compressed by a series of transformations (compression was false in this case).
This package was generated by /Users/adibrastegarnia/go/pkg/mod/github.com/openconfig/ygot@v0.6.1-0.20200103195725-e3c44fa43926/genutil/names.go using the following YANG input files:
- e2node@2020-05-01.yang
Imported modules were sourced from:
- yang/...
Index ¶
Constants ¶
This section is empty.
Variables ¶
var (
SchemaTree map[string]*yang.Entry
)
var ΛEnumTypes = map[string][]reflect.Type{}
ΛEnumTypes is a map, keyed by a YANG schema path, of the enumerated types that correspond with the leaf. The type is represented as a reflect.Type. The naming of the map ensures that there are no clashes with valid YANG identifiers.
Functions ¶
func Unmarshal ¶
Unmarshal unmarshals data, which must be RFC7951 JSON format, into destStruct, which must be non-nil and the correct GoStruct type. It returns an error if the destStruct is not found in the schema or the data cannot be unmarshaled. The supplied options (opts) are used to control the behaviour of the unmarshal function - for example, determining whether errors are thrown for unknown fields in the input JSON.
Types ¶
type Binary ¶
type Binary []byte
Binary is a type that is used for fields that have a YANG type of binary. It is used such that binary fields can be distinguished from leaf-lists of uint8s (which are mapped to []uint8, equivalent to []byte in reflection).
type Device ¶
type Device struct {
E2Node *E2Node_E2Node `path:"e2node" module:"e2node"`
}
Device represents the /device YANG schema element.
func (*Device) IsYANGGoStruct ¶
func (*Device) IsYANGGoStruct()
IsYANGGoStruct ensures that Device implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.
type E2Node_E2Node ¶
type E2Node_E2Node struct {
Intervals *E2Node_E2Node_Intervals `path:"intervals" module:"e2node"`
}
E2Node_E2Node represents the /e2node/e2node YANG schema element.
func (*E2Node_E2Node) IsYANGGoStruct ¶
func (*E2Node_E2Node) IsYANGGoStruct()
IsYANGGoStruct ensures that E2Node_E2Node implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.
func (*E2Node_E2Node) Validate ¶
func (t *E2Node_E2Node) Validate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
func (*E2Node_E2Node) ΛEnumTypeMap ¶
func (t *E2Node_E2Node) ΛEnumTypeMap() map[string][]reflect.Type
ΛEnumTypeMap returns a map, keyed by YANG schema path, of the enumerated types that are included in the generated code.
type E2Node_E2Node_Intervals ¶
type E2Node_E2Node_Intervals struct {
PdcpMeasReportPerUe *uint32 `path:"PdcpMeasReportPerUe" module:"e2node"`
RadioMeasReportPerCell *uint32 `path:"RadioMeasReportPerCell" module:"e2node"`
RadioMeasReportPerUe *uint32 `path:"RadioMeasReportPerUe" module:"e2node"`
SchedMeasReportPerCell *uint32 `path:"SchedMeasReportPerCell" module:"e2node"`
SchedMeasReportPerUe *uint32 `path:"SchedMeasReportPerUe" module:"e2node"`
}
E2Node_E2Node_Intervals represents the /e2node/e2node/intervals YANG schema element.
func (*E2Node_E2Node_Intervals) IsYANGGoStruct ¶
func (*E2Node_E2Node_Intervals) IsYANGGoStruct()
IsYANGGoStruct ensures that E2Node_E2Node_Intervals implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.
func (*E2Node_E2Node_Intervals) Validate ¶
func (t *E2Node_E2Node_Intervals) Validate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
func (*E2Node_E2Node_Intervals) ΛEnumTypeMap ¶
func (t *E2Node_E2Node_Intervals) ΛEnumTypeMap() map[string][]reflect.Type
ΛEnumTypeMap returns a map, keyed by YANG schema path, of the enumerated types that are included in the generated code.