Documentation ¶
Overview ¶
Package uexampleoc 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 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:
Package uexampleoc 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 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:
Package uexampleoc 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 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:
Package uexampleoc 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 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:
Package uexampleoc 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 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 ¶
- Variables
- func Schema() (*ytypes.Schema, error)
- func Unmarshal(data []byte, destStruct ygot.GoStruct, opts ...ytypes.UnmarshalOpt) error
- func UnzipSchema() (map[string]*yang.Entry, error)
- type Binary
- type Device
- func (t *Device) GetA() *OpenconfigNested_A
- func (t *Device) GetContainer() *OpenconfigNested_Container
- func (t *Device) GetModel() *OpenconfigWithlistval_Model
- func (t *Device) GetOrCreateA() *OpenconfigNested_A
- func (t *Device) GetOrCreateContainer() *OpenconfigNested_Container
- func (t *Device) GetOrCreateModel() *OpenconfigWithlistval_Model
- func (t *Device) GetOrCreateParent() *OpenconfigSimple_Parent
- func (t *Device) GetOrCreateRemoteContainer() *OpenconfigSimple_RemoteContainer
- func (t *Device) GetParent() *OpenconfigSimple_Parent
- func (t *Device) GetRemoteContainer() *OpenconfigSimple_RemoteContainer
- func (*Device) IsYANGGoStruct()
- func (t *Device) PopulateDefaults()
- func (t *Device) Validate(opts ...ygot.ValidationOption) error
- func (*Device) ΛBelongingModule() string
- func (t *Device) ΛEnumTypeMap() map[string][]reflect.Type
- func (t *Device) ΛValidate(opts ...ygot.ValidationOption) error
- type E_Simple_Parent_Child_Config_Three
- type OpenconfigNested_A
- func (t *OpenconfigNested_A) GetB() *OpenconfigNested_A_B
- func (t *OpenconfigNested_A) GetOrCreateB() *OpenconfigNested_A_B
- func (*OpenconfigNested_A) IsYANGGoStruct()
- func (t *OpenconfigNested_A) PopulateDefaults()
- func (t *OpenconfigNested_A) Validate(opts ...ygot.ValidationOption) error
- func (*OpenconfigNested_A) ΛBelongingModule() string
- func (t *OpenconfigNested_A) ΛEnumTypeMap() map[string][]reflect.Type
- func (t *OpenconfigNested_A) ΛValidate(opts ...ygot.ValidationOption) error
- type OpenconfigNested_A_B
- func (t *OpenconfigNested_A_B) GetC() *OpenconfigNested_A_B_C
- func (t *OpenconfigNested_A_B) GetOrCreateC() *OpenconfigNested_A_B_C
- func (*OpenconfigNested_A_B) IsYANGGoStruct()
- func (t *OpenconfigNested_A_B) PopulateDefaults()
- func (t *OpenconfigNested_A_B) Validate(opts ...ygot.ValidationOption) error
- func (*OpenconfigNested_A_B) ΛBelongingModule() string
- func (t *OpenconfigNested_A_B) ΛEnumTypeMap() map[string][]reflect.Type
- func (t *OpenconfigNested_A_B) ΛValidate(opts ...ygot.ValidationOption) error
- type OpenconfigNested_A_B_C
- func (t *OpenconfigNested_A_B_C) GetD() *OpenconfigNested_A_B_C_D
- func (t *OpenconfigNested_A_B_C) GetOrCreateD() *OpenconfigNested_A_B_C_D
- func (*OpenconfigNested_A_B_C) IsYANGGoStruct()
- func (t *OpenconfigNested_A_B_C) PopulateDefaults()
- func (t *OpenconfigNested_A_B_C) Validate(opts ...ygot.ValidationOption) error
- func (*OpenconfigNested_A_B_C) ΛBelongingModule() string
- func (t *OpenconfigNested_A_B_C) ΛEnumTypeMap() map[string][]reflect.Type
- func (t *OpenconfigNested_A_B_C) ΛValidate(opts ...ygot.ValidationOption) error
- type OpenconfigNested_A_B_C_D
- func (t *OpenconfigNested_A_B_C_D) GetE() *OpenconfigNested_A_B_C_D_E
- func (t *OpenconfigNested_A_B_C_D) GetOrCreateE() *OpenconfigNested_A_B_C_D_E
- func (*OpenconfigNested_A_B_C_D) IsYANGGoStruct()
- func (t *OpenconfigNested_A_B_C_D) PopulateDefaults()
- func (t *OpenconfigNested_A_B_C_D) Validate(opts ...ygot.ValidationOption) error
- func (*OpenconfigNested_A_B_C_D) ΛBelongingModule() string
- func (t *OpenconfigNested_A_B_C_D) ΛEnumTypeMap() map[string][]reflect.Type
- func (t *OpenconfigNested_A_B_C_D) ΛValidate(opts ...ygot.ValidationOption) error
- type OpenconfigNested_A_B_C_D_E
- func (t *OpenconfigNested_A_B_C_D_E) GetF() *OpenconfigNested_A_B_C_D_E_F
- func (t *OpenconfigNested_A_B_C_D_E) GetOrCreateF() *OpenconfigNested_A_B_C_D_E_F
- func (*OpenconfigNested_A_B_C_D_E) IsYANGGoStruct()
- func (t *OpenconfigNested_A_B_C_D_E) PopulateDefaults()
- func (t *OpenconfigNested_A_B_C_D_E) Validate(opts ...ygot.ValidationOption) error
- func (*OpenconfigNested_A_B_C_D_E) ΛBelongingModule() string
- func (t *OpenconfigNested_A_B_C_D_E) ΛEnumTypeMap() map[string][]reflect.Type
- func (t *OpenconfigNested_A_B_C_D_E) ΛValidate(opts ...ygot.ValidationOption) error
- type OpenconfigNested_A_B_C_D_E_F
- func (t *OpenconfigNested_A_B_C_D_E_F) GetG() *OpenconfigNested_A_B_C_D_E_F_G
- func (t *OpenconfigNested_A_B_C_D_E_F) GetOrCreateG() *OpenconfigNested_A_B_C_D_E_F_G
- func (*OpenconfigNested_A_B_C_D_E_F) IsYANGGoStruct()
- func (t *OpenconfigNested_A_B_C_D_E_F) PopulateDefaults()
- func (t *OpenconfigNested_A_B_C_D_E_F) Validate(opts ...ygot.ValidationOption) error
- func (*OpenconfigNested_A_B_C_D_E_F) ΛBelongingModule() string
- func (t *OpenconfigNested_A_B_C_D_E_F) ΛEnumTypeMap() map[string][]reflect.Type
- func (t *OpenconfigNested_A_B_C_D_E_F) ΛValidate(opts ...ygot.ValidationOption) error
- type OpenconfigNested_A_B_C_D_E_F_G
- func (t *OpenconfigNested_A_B_C_D_E_F_G) GetH() *OpenconfigNested_A_B_C_D_E_F_G_H
- func (t *OpenconfigNested_A_B_C_D_E_F_G) GetOrCreateH() *OpenconfigNested_A_B_C_D_E_F_G_H
- func (*OpenconfigNested_A_B_C_D_E_F_G) IsYANGGoStruct()
- func (t *OpenconfigNested_A_B_C_D_E_F_G) PopulateDefaults()
- func (t *OpenconfigNested_A_B_C_D_E_F_G) Validate(opts ...ygot.ValidationOption) error
- func (*OpenconfigNested_A_B_C_D_E_F_G) ΛBelongingModule() string
- func (t *OpenconfigNested_A_B_C_D_E_F_G) ΛEnumTypeMap() map[string][]reflect.Type
- func (t *OpenconfigNested_A_B_C_D_E_F_G) ΛValidate(opts ...ygot.ValidationOption) error
- type OpenconfigNested_A_B_C_D_E_F_G_H
- func (t *OpenconfigNested_A_B_C_D_E_F_G_H) GetI() *OpenconfigNested_A_B_C_D_E_F_G_H_I
- func (t *OpenconfigNested_A_B_C_D_E_F_G_H) GetOrCreateI() *OpenconfigNested_A_B_C_D_E_F_G_H_I
- func (*OpenconfigNested_A_B_C_D_E_F_G_H) IsYANGGoStruct()
- func (t *OpenconfigNested_A_B_C_D_E_F_G_H) PopulateDefaults()
- func (t *OpenconfigNested_A_B_C_D_E_F_G_H) Validate(opts ...ygot.ValidationOption) error
- func (*OpenconfigNested_A_B_C_D_E_F_G_H) ΛBelongingModule() string
- func (t *OpenconfigNested_A_B_C_D_E_F_G_H) ΛEnumTypeMap() map[string][]reflect.Type
- func (t *OpenconfigNested_A_B_C_D_E_F_G_H) ΛValidate(opts ...ygot.ValidationOption) error
- type OpenconfigNested_A_B_C_D_E_F_G_H_I
- func (t *OpenconfigNested_A_B_C_D_E_F_G_H_I) GetJ() *OpenconfigNested_A_B_C_D_E_F_G_H_I_J
- func (t *OpenconfigNested_A_B_C_D_E_F_G_H_I) GetOrCreateJ() *OpenconfigNested_A_B_C_D_E_F_G_H_I_J
- func (*OpenconfigNested_A_B_C_D_E_F_G_H_I) IsYANGGoStruct()
- func (t *OpenconfigNested_A_B_C_D_E_F_G_H_I) PopulateDefaults()
- func (t *OpenconfigNested_A_B_C_D_E_F_G_H_I) Validate(opts ...ygot.ValidationOption) error
- func (*OpenconfigNested_A_B_C_D_E_F_G_H_I) ΛBelongingModule() string
- func (t *OpenconfigNested_A_B_C_D_E_F_G_H_I) ΛEnumTypeMap() map[string][]reflect.Type
- func (t *OpenconfigNested_A_B_C_D_E_F_G_H_I) ΛValidate(opts ...ygot.ValidationOption) error
- type OpenconfigNested_A_B_C_D_E_F_G_H_I_J
- func (t *OpenconfigNested_A_B_C_D_E_F_G_H_I_J) GetK() *OpenconfigNested_A_B_C_D_E_F_G_H_I_J_K
- func (t *OpenconfigNested_A_B_C_D_E_F_G_H_I_J) GetOrCreateK() *OpenconfigNested_A_B_C_D_E_F_G_H_I_J_K
- func (*OpenconfigNested_A_B_C_D_E_F_G_H_I_J) IsYANGGoStruct()
- func (t *OpenconfigNested_A_B_C_D_E_F_G_H_I_J) PopulateDefaults()
- func (t *OpenconfigNested_A_B_C_D_E_F_G_H_I_J) Validate(opts ...ygot.ValidationOption) error
- func (*OpenconfigNested_A_B_C_D_E_F_G_H_I_J) ΛBelongingModule() string
- func (t *OpenconfigNested_A_B_C_D_E_F_G_H_I_J) ΛEnumTypeMap() map[string][]reflect.Type
- func (t *OpenconfigNested_A_B_C_D_E_F_G_H_I_J) ΛValidate(opts ...ygot.ValidationOption) error
- type OpenconfigNested_A_B_C_D_E_F_G_H_I_J_K
- func (t *OpenconfigNested_A_B_C_D_E_F_G_H_I_J_K) GetL() *OpenconfigNested_A_B_C_D_E_F_G_H_I_J_K_L
- func (t *OpenconfigNested_A_B_C_D_E_F_G_H_I_J_K) GetOrCreateL() *OpenconfigNested_A_B_C_D_E_F_G_H_I_J_K_L
- func (*OpenconfigNested_A_B_C_D_E_F_G_H_I_J_K) IsYANGGoStruct()
- func (t *OpenconfigNested_A_B_C_D_E_F_G_H_I_J_K) PopulateDefaults()
- func (t *OpenconfigNested_A_B_C_D_E_F_G_H_I_J_K) Validate(opts ...ygot.ValidationOption) error
- func (*OpenconfigNested_A_B_C_D_E_F_G_H_I_J_K) ΛBelongingModule() string
- func (t *OpenconfigNested_A_B_C_D_E_F_G_H_I_J_K) ΛEnumTypeMap() map[string][]reflect.Type
- func (t *OpenconfigNested_A_B_C_D_E_F_G_H_I_J_K) ΛValidate(opts ...ygot.ValidationOption) error
- type OpenconfigNested_A_B_C_D_E_F_G_H_I_J_K_L
- func (t *OpenconfigNested_A_B_C_D_E_F_G_H_I_J_K_L) GetM() *OpenconfigNested_A_B_C_D_E_F_G_H_I_J_K_L_M
- func (t *OpenconfigNested_A_B_C_D_E_F_G_H_I_J_K_L) GetOrCreateM() *OpenconfigNested_A_B_C_D_E_F_G_H_I_J_K_L_M
- func (*OpenconfigNested_A_B_C_D_E_F_G_H_I_J_K_L) IsYANGGoStruct()
- func (t *OpenconfigNested_A_B_C_D_E_F_G_H_I_J_K_L) PopulateDefaults()
- func (t *OpenconfigNested_A_B_C_D_E_F_G_H_I_J_K_L) Validate(opts ...ygot.ValidationOption) error
- func (*OpenconfigNested_A_B_C_D_E_F_G_H_I_J_K_L) ΛBelongingModule() string
- func (t *OpenconfigNested_A_B_C_D_E_F_G_H_I_J_K_L) ΛEnumTypeMap() map[string][]reflect.Type
- func (t *OpenconfigNested_A_B_C_D_E_F_G_H_I_J_K_L) ΛValidate(opts ...ygot.ValidationOption) error
- type OpenconfigNested_A_B_C_D_E_F_G_H_I_J_K_L_M
- func (t *OpenconfigNested_A_B_C_D_E_F_G_H_I_J_K_L_M) GetOrCreateState() *OpenconfigNested_A_B_C_D_E_F_G_H_I_J_K_L_M_State
- func (t *OpenconfigNested_A_B_C_D_E_F_G_H_I_J_K_L_M) GetState() *OpenconfigNested_A_B_C_D_E_F_G_H_I_J_K_L_M_State
- func (*OpenconfigNested_A_B_C_D_E_F_G_H_I_J_K_L_M) IsYANGGoStruct()
- func (t *OpenconfigNested_A_B_C_D_E_F_G_H_I_J_K_L_M) PopulateDefaults()
- func (t *OpenconfigNested_A_B_C_D_E_F_G_H_I_J_K_L_M) Validate(opts ...ygot.ValidationOption) error
- func (*OpenconfigNested_A_B_C_D_E_F_G_H_I_J_K_L_M) ΛBelongingModule() string
- func (t *OpenconfigNested_A_B_C_D_E_F_G_H_I_J_K_L_M) ΛEnumTypeMap() map[string][]reflect.Type
- func (t *OpenconfigNested_A_B_C_D_E_F_G_H_I_J_K_L_M) ΛValidate(opts ...ygot.ValidationOption) error
- type OpenconfigNested_A_B_C_D_E_F_G_H_I_J_K_L_M_State
- func (t *OpenconfigNested_A_B_C_D_E_F_G_H_I_J_K_L_M_State) GetFoo() string
- func (*OpenconfigNested_A_B_C_D_E_F_G_H_I_J_K_L_M_State) IsYANGGoStruct()
- func (t *OpenconfigNested_A_B_C_D_E_F_G_H_I_J_K_L_M_State) PopulateDefaults()
- func (t *OpenconfigNested_A_B_C_D_E_F_G_H_I_J_K_L_M_State) SetFoo(v string)
- func (t *OpenconfigNested_A_B_C_D_E_F_G_H_I_J_K_L_M_State) Validate(opts ...ygot.ValidationOption) error
- func (*OpenconfigNested_A_B_C_D_E_F_G_H_I_J_K_L_M_State) ΛBelongingModule() string
- func (t *OpenconfigNested_A_B_C_D_E_F_G_H_I_J_K_L_M_State) ΛEnumTypeMap() map[string][]reflect.Type
- func (t *OpenconfigNested_A_B_C_D_E_F_G_H_I_J_K_L_M_State) ΛValidate(opts ...ygot.ValidationOption) error
- type OpenconfigNested_Container
- func (t *OpenconfigNested_Container) GetEnabled() bool
- func (*OpenconfigNested_Container) IsYANGGoStruct()
- func (t *OpenconfigNested_Container) PopulateDefaults()
- func (t *OpenconfigNested_Container) SetEnabled(v bool)
- func (t *OpenconfigNested_Container) Validate(opts ...ygot.ValidationOption) error
- func (*OpenconfigNested_Container) ΛBelongingModule() string
- func (t *OpenconfigNested_Container) ΛEnumTypeMap() map[string][]reflect.Type
- func (t *OpenconfigNested_Container) ΛValidate(opts ...ygot.ValidationOption) error
- type OpenconfigSimple_Parent
- func (t *OpenconfigSimple_Parent) GetChild() *OpenconfigSimple_Parent_Child
- func (t *OpenconfigSimple_Parent) GetOrCreateChild() *OpenconfigSimple_Parent_Child
- func (*OpenconfigSimple_Parent) IsYANGGoStruct()
- func (t *OpenconfigSimple_Parent) PopulateDefaults()
- func (t *OpenconfigSimple_Parent) Validate(opts ...ygot.ValidationOption) error
- func (*OpenconfigSimple_Parent) ΛBelongingModule() string
- func (t *OpenconfigSimple_Parent) ΛEnumTypeMap() map[string][]reflect.Type
- func (t *OpenconfigSimple_Parent) ΛValidate(opts ...ygot.ValidationOption) error
- type OpenconfigSimple_Parent_Child
- func (t *OpenconfigSimple_Parent_Child) GetConfig() *OpenconfigSimple_Parent_Child_Config
- func (t *OpenconfigSimple_Parent_Child) GetOrCreateConfig() *OpenconfigSimple_Parent_Child_Config
- func (t *OpenconfigSimple_Parent_Child) GetOrCreateState() *OpenconfigSimple_Parent_Child_State
- func (t *OpenconfigSimple_Parent_Child) GetState() *OpenconfigSimple_Parent_Child_State
- func (*OpenconfigSimple_Parent_Child) IsYANGGoStruct()
- func (t *OpenconfigSimple_Parent_Child) PopulateDefaults()
- func (t *OpenconfigSimple_Parent_Child) Validate(opts ...ygot.ValidationOption) error
- func (*OpenconfigSimple_Parent_Child) ΛBelongingModule() string
- func (t *OpenconfigSimple_Parent_Child) ΛEnumTypeMap() map[string][]reflect.Type
- func (t *OpenconfigSimple_Parent_Child) ΛValidate(opts ...ygot.ValidationOption) error
- type OpenconfigSimple_Parent_Child_Config
- func (t *OpenconfigSimple_Parent_Child_Config) GetFive() Binary
- func (t *OpenconfigSimple_Parent_Child_Config) GetFour() Binary
- func (t *OpenconfigSimple_Parent_Child_Config) GetOne() string
- func (t *OpenconfigSimple_Parent_Child_Config) GetSix() []Binary
- func (t *OpenconfigSimple_Parent_Child_Config) GetThree() E_Simple_Parent_Child_Config_Three
- func (*OpenconfigSimple_Parent_Child_Config) IsYANGGoStruct()
- func (t *OpenconfigSimple_Parent_Child_Config) PopulateDefaults()
- func (t *OpenconfigSimple_Parent_Child_Config) SetFive(v Binary)
- func (t *OpenconfigSimple_Parent_Child_Config) SetFour(v Binary)
- func (t *OpenconfigSimple_Parent_Child_Config) SetOne(v string)
- func (t *OpenconfigSimple_Parent_Child_Config) SetSix(v []Binary)
- func (t *OpenconfigSimple_Parent_Child_Config) SetThree(v E_Simple_Parent_Child_Config_Three)
- func (t *OpenconfigSimple_Parent_Child_Config) Validate(opts ...ygot.ValidationOption) error
- func (*OpenconfigSimple_Parent_Child_Config) ΛBelongingModule() string
- func (t *OpenconfigSimple_Parent_Child_Config) ΛEnumTypeMap() map[string][]reflect.Type
- func (t *OpenconfigSimple_Parent_Child_Config) ΛValidate(opts ...ygot.ValidationOption) error
- type OpenconfigSimple_Parent_Child_State
- func (t *OpenconfigSimple_Parent_Child_State) GetFive() Binary
- func (t *OpenconfigSimple_Parent_Child_State) GetFour() Binary
- func (t *OpenconfigSimple_Parent_Child_State) GetOne() string
- func (t *OpenconfigSimple_Parent_Child_State) GetSix() []Binary
- func (t *OpenconfigSimple_Parent_Child_State) GetThree() E_Simple_Parent_Child_Config_Three
- func (t *OpenconfigSimple_Parent_Child_State) GetTwo() string
- func (*OpenconfigSimple_Parent_Child_State) IsYANGGoStruct()
- func (t *OpenconfigSimple_Parent_Child_State) PopulateDefaults()
- func (t *OpenconfigSimple_Parent_Child_State) SetFive(v Binary)
- func (t *OpenconfigSimple_Parent_Child_State) SetFour(v Binary)
- func (t *OpenconfigSimple_Parent_Child_State) SetOne(v string)
- func (t *OpenconfigSimple_Parent_Child_State) SetSix(v []Binary)
- func (t *OpenconfigSimple_Parent_Child_State) SetThree(v E_Simple_Parent_Child_Config_Three)
- func (t *OpenconfigSimple_Parent_Child_State) SetTwo(v string)
- func (t *OpenconfigSimple_Parent_Child_State) Validate(opts ...ygot.ValidationOption) error
- func (*OpenconfigSimple_Parent_Child_State) ΛBelongingModule() string
- func (t *OpenconfigSimple_Parent_Child_State) ΛEnumTypeMap() map[string][]reflect.Type
- func (t *OpenconfigSimple_Parent_Child_State) ΛValidate(opts ...ygot.ValidationOption) error
- type OpenconfigSimple_RemoteContainer
- func (t *OpenconfigSimple_RemoteContainer) GetConfig() *OpenconfigSimple_RemoteContainer_Config
- func (t *OpenconfigSimple_RemoteContainer) GetOrCreateConfig() *OpenconfigSimple_RemoteContainer_Config
- func (t *OpenconfigSimple_RemoteContainer) GetOrCreateState() *OpenconfigSimple_RemoteContainer_State
- func (t *OpenconfigSimple_RemoteContainer) GetState() *OpenconfigSimple_RemoteContainer_State
- func (*OpenconfigSimple_RemoteContainer) IsYANGGoStruct()
- func (t *OpenconfigSimple_RemoteContainer) PopulateDefaults()
- func (t *OpenconfigSimple_RemoteContainer) Validate(opts ...ygot.ValidationOption) error
- func (*OpenconfigSimple_RemoteContainer) ΛBelongingModule() string
- func (t *OpenconfigSimple_RemoteContainer) ΛEnumTypeMap() map[string][]reflect.Type
- func (t *OpenconfigSimple_RemoteContainer) ΛValidate(opts ...ygot.ValidationOption) error
- type OpenconfigSimple_RemoteContainer_Config
- func (t *OpenconfigSimple_RemoteContainer_Config) GetALeaf() string
- func (*OpenconfigSimple_RemoteContainer_Config) IsYANGGoStruct()
- func (t *OpenconfigSimple_RemoteContainer_Config) PopulateDefaults()
- func (t *OpenconfigSimple_RemoteContainer_Config) SetALeaf(v string)
- func (t *OpenconfigSimple_RemoteContainer_Config) Validate(opts ...ygot.ValidationOption) error
- func (*OpenconfigSimple_RemoteContainer_Config) ΛBelongingModule() string
- func (t *OpenconfigSimple_RemoteContainer_Config) ΛEnumTypeMap() map[string][]reflect.Type
- func (t *OpenconfigSimple_RemoteContainer_Config) ΛValidate(opts ...ygot.ValidationOption) error
- type OpenconfigSimple_RemoteContainer_State
- func (t *OpenconfigSimple_RemoteContainer_State) GetALeaf() string
- func (*OpenconfigSimple_RemoteContainer_State) IsYANGGoStruct()
- func (t *OpenconfigSimple_RemoteContainer_State) PopulateDefaults()
- func (t *OpenconfigSimple_RemoteContainer_State) SetALeaf(v string)
- func (t *OpenconfigSimple_RemoteContainer_State) Validate(opts ...ygot.ValidationOption) error
- func (*OpenconfigSimple_RemoteContainer_State) ΛBelongingModule() string
- func (t *OpenconfigSimple_RemoteContainer_State) ΛEnumTypeMap() map[string][]reflect.Type
- func (t *OpenconfigSimple_RemoteContainer_State) ΛValidate(opts ...ygot.ValidationOption) error
- type OpenconfigWithlistval_Model
- func (t *OpenconfigWithlistval_Model) GetA() *OpenconfigWithlistval_Model_A
- func (t *OpenconfigWithlistval_Model) GetB() *OpenconfigWithlistval_Model_B
- func (t *OpenconfigWithlistval_Model) GetC() *OpenconfigWithlistval_Model_C
- func (t *OpenconfigWithlistval_Model) GetOrCreateA() *OpenconfigWithlistval_Model_A
- func (t *OpenconfigWithlistval_Model) GetOrCreateB() *OpenconfigWithlistval_Model_B
- func (t *OpenconfigWithlistval_Model) GetOrCreateC() *OpenconfigWithlistval_Model_C
- func (*OpenconfigWithlistval_Model) IsYANGGoStruct()
- func (t *OpenconfigWithlistval_Model) PopulateDefaults()
- func (t *OpenconfigWithlistval_Model) Validate(opts ...ygot.ValidationOption) error
- func (*OpenconfigWithlistval_Model) ΛBelongingModule() string
- func (t *OpenconfigWithlistval_Model) ΛEnumTypeMap() map[string][]reflect.Type
- func (t *OpenconfigWithlistval_Model) ΛValidate(opts ...ygot.ValidationOption) error
- type OpenconfigWithlistval_Model_A
- func (t *OpenconfigWithlistval_Model_A) AppendSingleKey(v *OpenconfigWithlistval_Model_A_SingleKey) error
- func (t *OpenconfigWithlistval_Model_A) DeleteSingleKey(Key string)
- func (t *OpenconfigWithlistval_Model_A) GetOrCreateSingleKey(Key string) *OpenconfigWithlistval_Model_A_SingleKey
- func (t *OpenconfigWithlistval_Model_A) GetSingleKey(Key string) *OpenconfigWithlistval_Model_A_SingleKey
- func (*OpenconfigWithlistval_Model_A) IsYANGGoStruct()
- func (t *OpenconfigWithlistval_Model_A) NewSingleKey(Key string) (*OpenconfigWithlistval_Model_A_SingleKey, error)
- func (t *OpenconfigWithlistval_Model_A) PopulateDefaults()
- func (t *OpenconfigWithlistval_Model_A) RenameSingleKey(oldK, newK string) error
- func (t *OpenconfigWithlistval_Model_A) Validate(opts ...ygot.ValidationOption) error
- func (*OpenconfigWithlistval_Model_A) ΛBelongingModule() string
- func (t *OpenconfigWithlistval_Model_A) ΛEnumTypeMap() map[string][]reflect.Type
- func (t *OpenconfigWithlistval_Model_A) ΛValidate(opts ...ygot.ValidationOption) error
- type OpenconfigWithlistval_Model_A_SingleKey
- func (t *OpenconfigWithlistval_Model_A_SingleKey) GetConfig() *OpenconfigWithlistval_Model_A_SingleKey_Config
- func (t *OpenconfigWithlistval_Model_A_SingleKey) GetInnerA() *OpenconfigWithlistval_Model_A_SingleKey_InnerA
- func (t *OpenconfigWithlistval_Model_A_SingleKey) GetKey() string
- func (t *OpenconfigWithlistval_Model_A_SingleKey) GetOrCreateConfig() *OpenconfigWithlistval_Model_A_SingleKey_Config
- func (t *OpenconfigWithlistval_Model_A_SingleKey) GetOrCreateInnerA() *OpenconfigWithlistval_Model_A_SingleKey_InnerA
- func (t *OpenconfigWithlistval_Model_A_SingleKey) GetOrCreateOrderedLists() *OpenconfigWithlistval_Model_A_SingleKey_OrderedLists
- func (t *OpenconfigWithlistval_Model_A_SingleKey) GetOrCreateState() *OpenconfigWithlistval_Model_A_SingleKey_State
- func (t *OpenconfigWithlistval_Model_A_SingleKey) GetOrderedLists() *OpenconfigWithlistval_Model_A_SingleKey_OrderedLists
- func (t *OpenconfigWithlistval_Model_A_SingleKey) GetState() *OpenconfigWithlistval_Model_A_SingleKey_State
- func (*OpenconfigWithlistval_Model_A_SingleKey) IsYANGGoStruct()
- func (t *OpenconfigWithlistval_Model_A_SingleKey) PopulateDefaults()
- func (t *OpenconfigWithlistval_Model_A_SingleKey) SetKey(v string)
- func (t *OpenconfigWithlistval_Model_A_SingleKey) Validate(opts ...ygot.ValidationOption) error
- func (*OpenconfigWithlistval_Model_A_SingleKey) ΛBelongingModule() string
- func (t *OpenconfigWithlistval_Model_A_SingleKey) ΛEnumTypeMap() map[string][]reflect.Type
- func (t *OpenconfigWithlistval_Model_A_SingleKey) ΛListKeyMap() (map[string]interface{}, error)
- func (t *OpenconfigWithlistval_Model_A_SingleKey) ΛValidate(opts ...ygot.ValidationOption) error
- type OpenconfigWithlistval_Model_A_SingleKey_Config
- func (t *OpenconfigWithlistval_Model_A_SingleKey_Config) GetKey() string
- func (t *OpenconfigWithlistval_Model_A_SingleKey_Config) GetValue() int64
- func (*OpenconfigWithlistval_Model_A_SingleKey_Config) IsYANGGoStruct()
- func (t *OpenconfigWithlistval_Model_A_SingleKey_Config) PopulateDefaults()
- func (t *OpenconfigWithlistval_Model_A_SingleKey_Config) SetKey(v string)
- func (t *OpenconfigWithlistval_Model_A_SingleKey_Config) SetValue(v int64)
- func (t *OpenconfigWithlistval_Model_A_SingleKey_Config) Validate(opts ...ygot.ValidationOption) error
- func (*OpenconfigWithlistval_Model_A_SingleKey_Config) ΛBelongingModule() string
- func (t *OpenconfigWithlistval_Model_A_SingleKey_Config) ΛEnumTypeMap() map[string][]reflect.Type
- func (t *OpenconfigWithlistval_Model_A_SingleKey_Config) ΛValidate(opts ...ygot.ValidationOption) error
- type OpenconfigWithlistval_Model_A_SingleKey_InnerA
- func (t *OpenconfigWithlistval_Model_A_SingleKey_InnerA) AppendSingleKey(v *OpenconfigWithlistval_Model_A_SingleKey_InnerA_SingleKey) error
- func (t *OpenconfigWithlistval_Model_A_SingleKey_InnerA) DeleteSingleKey(Key string)
- func (t *OpenconfigWithlistval_Model_A_SingleKey_InnerA) GetOrCreateSingleKey(Key string) *OpenconfigWithlistval_Model_A_SingleKey_InnerA_SingleKey
- func (t *OpenconfigWithlistval_Model_A_SingleKey_InnerA) GetSingleKey(Key string) *OpenconfigWithlistval_Model_A_SingleKey_InnerA_SingleKey
- func (*OpenconfigWithlistval_Model_A_SingleKey_InnerA) IsYANGGoStruct()
- func (t *OpenconfigWithlistval_Model_A_SingleKey_InnerA) NewSingleKey(Key string) (*OpenconfigWithlistval_Model_A_SingleKey_InnerA_SingleKey, error)
- func (t *OpenconfigWithlistval_Model_A_SingleKey_InnerA) PopulateDefaults()
- func (t *OpenconfigWithlistval_Model_A_SingleKey_InnerA) RenameSingleKey(oldK, newK string) error
- func (t *OpenconfigWithlistval_Model_A_SingleKey_InnerA) Validate(opts ...ygot.ValidationOption) error
- func (*OpenconfigWithlistval_Model_A_SingleKey_InnerA) ΛBelongingModule() string
- func (t *OpenconfigWithlistval_Model_A_SingleKey_InnerA) ΛEnumTypeMap() map[string][]reflect.Type
- func (t *OpenconfigWithlistval_Model_A_SingleKey_InnerA) ΛValidate(opts ...ygot.ValidationOption) error
- type OpenconfigWithlistval_Model_A_SingleKey_InnerA_SingleKey
- func (t *OpenconfigWithlistval_Model_A_SingleKey_InnerA_SingleKey) GetConfig() *OpenconfigWithlistval_Model_A_SingleKey_InnerA_SingleKey_Config
- func (t *OpenconfigWithlistval_Model_A_SingleKey_InnerA_SingleKey) GetKey() string
- func (t *OpenconfigWithlistval_Model_A_SingleKey_InnerA_SingleKey) GetOrCreateConfig() *OpenconfigWithlistval_Model_A_SingleKey_InnerA_SingleKey_Config
- func (t *OpenconfigWithlistval_Model_A_SingleKey_InnerA_SingleKey) GetOrCreateState() *OpenconfigWithlistval_Model_A_SingleKey_InnerA_SingleKey_State
- func (t *OpenconfigWithlistval_Model_A_SingleKey_InnerA_SingleKey) GetState() *OpenconfigWithlistval_Model_A_SingleKey_InnerA_SingleKey_State
- func (*OpenconfigWithlistval_Model_A_SingleKey_InnerA_SingleKey) IsYANGGoStruct()
- func (t *OpenconfigWithlistval_Model_A_SingleKey_InnerA_SingleKey) PopulateDefaults()
- func (t *OpenconfigWithlistval_Model_A_SingleKey_InnerA_SingleKey) SetKey(v string)
- func (t *OpenconfigWithlistval_Model_A_SingleKey_InnerA_SingleKey) Validate(opts ...ygot.ValidationOption) error
- func (*OpenconfigWithlistval_Model_A_SingleKey_InnerA_SingleKey) ΛBelongingModule() string
- func (t *OpenconfigWithlistval_Model_A_SingleKey_InnerA_SingleKey) ΛEnumTypeMap() map[string][]reflect.Type
- func (t *OpenconfigWithlistval_Model_A_SingleKey_InnerA_SingleKey) ΛListKeyMap() (map[string]interface{}, error)
- func (t *OpenconfigWithlistval_Model_A_SingleKey_InnerA_SingleKey) ΛValidate(opts ...ygot.ValidationOption) error
- type OpenconfigWithlistval_Model_A_SingleKey_InnerA_SingleKey_Config
- func (t *OpenconfigWithlistval_Model_A_SingleKey_InnerA_SingleKey_Config) GetKey() string
- func (t *OpenconfigWithlistval_Model_A_SingleKey_InnerA_SingleKey_Config) GetValue() int64
- func (*OpenconfigWithlistval_Model_A_SingleKey_InnerA_SingleKey_Config) IsYANGGoStruct()
- func (t *OpenconfigWithlistval_Model_A_SingleKey_InnerA_SingleKey_Config) PopulateDefaults()
- func (t *OpenconfigWithlistval_Model_A_SingleKey_InnerA_SingleKey_Config) SetKey(v string)
- func (t *OpenconfigWithlistval_Model_A_SingleKey_InnerA_SingleKey_Config) SetValue(v int64)
- func (t *OpenconfigWithlistval_Model_A_SingleKey_InnerA_SingleKey_Config) Validate(opts ...ygot.ValidationOption) error
- func (*OpenconfigWithlistval_Model_A_SingleKey_InnerA_SingleKey_Config) ΛBelongingModule() string
- func (t *OpenconfigWithlistval_Model_A_SingleKey_InnerA_SingleKey_Config) ΛEnumTypeMap() map[string][]reflect.Type
- func (t *OpenconfigWithlistval_Model_A_SingleKey_InnerA_SingleKey_Config) ΛValidate(opts ...ygot.ValidationOption) error
- type OpenconfigWithlistval_Model_A_SingleKey_InnerA_SingleKey_State
- func (t *OpenconfigWithlistval_Model_A_SingleKey_InnerA_SingleKey_State) GetKey() string
- func (t *OpenconfigWithlistval_Model_A_SingleKey_InnerA_SingleKey_State) GetValue() int64
- func (*OpenconfigWithlistval_Model_A_SingleKey_InnerA_SingleKey_State) IsYANGGoStruct()
- func (t *OpenconfigWithlistval_Model_A_SingleKey_InnerA_SingleKey_State) PopulateDefaults()
- func (t *OpenconfigWithlistval_Model_A_SingleKey_InnerA_SingleKey_State) SetKey(v string)
- func (t *OpenconfigWithlistval_Model_A_SingleKey_InnerA_SingleKey_State) SetValue(v int64)
- func (t *OpenconfigWithlistval_Model_A_SingleKey_InnerA_SingleKey_State) Validate(opts ...ygot.ValidationOption) error
- func (*OpenconfigWithlistval_Model_A_SingleKey_InnerA_SingleKey_State) ΛBelongingModule() string
- func (t *OpenconfigWithlistval_Model_A_SingleKey_InnerA_SingleKey_State) ΛEnumTypeMap() map[string][]reflect.Type
- func (t *OpenconfigWithlistval_Model_A_SingleKey_InnerA_SingleKey_State) ΛValidate(opts ...ygot.ValidationOption) error
- type OpenconfigWithlistval_Model_A_SingleKey_OrderedLists
- func (s *OpenconfigWithlistval_Model_A_SingleKey_OrderedLists) AppendNewOrderedList(Key string) (*OpenconfigWithlistval_Model_A_SingleKey_OrderedLists_OrderedList, error)
- func (s *OpenconfigWithlistval_Model_A_SingleKey_OrderedLists) AppendOrderedList(v *OpenconfigWithlistval_Model_A_SingleKey_OrderedLists_OrderedList) error
- func (s *OpenconfigWithlistval_Model_A_SingleKey_OrderedLists) DeleteOrderedList(Key string) bool
- func (s *OpenconfigWithlistval_Model_A_SingleKey_OrderedLists) GetOrderedList(Key string) *OpenconfigWithlistval_Model_A_SingleKey_OrderedLists_OrderedList
- func (*OpenconfigWithlistval_Model_A_SingleKey_OrderedLists) IsYANGGoStruct()
- func (t *OpenconfigWithlistval_Model_A_SingleKey_OrderedLists) PopulateDefaults()
- func (t *OpenconfigWithlistval_Model_A_SingleKey_OrderedLists) Validate(opts ...ygot.ValidationOption) error
- func (*OpenconfigWithlistval_Model_A_SingleKey_OrderedLists) ΛBelongingModule() string
- func (t *OpenconfigWithlistval_Model_A_SingleKey_OrderedLists) ΛEnumTypeMap() map[string][]reflect.Type
- func (t *OpenconfigWithlistval_Model_A_SingleKey_OrderedLists) ΛValidate(opts ...ygot.ValidationOption) error
- type OpenconfigWithlistval_Model_A_SingleKey_OrderedLists_OrderedList
- func (t *OpenconfigWithlistval_Model_A_SingleKey_OrderedLists_OrderedList) GetConfig() *OpenconfigWithlistval_Model_A_SingleKey_OrderedLists_OrderedList_Config
- func (t *OpenconfigWithlistval_Model_A_SingleKey_OrderedLists_OrderedList) GetKey() string
- func (t *OpenconfigWithlistval_Model_A_SingleKey_OrderedLists_OrderedList) GetOrCreateConfig() *OpenconfigWithlistval_Model_A_SingleKey_OrderedLists_OrderedList_Config
- func (t *OpenconfigWithlistval_Model_A_SingleKey_OrderedLists_OrderedList) GetOrCreateState() *OpenconfigWithlistval_Model_A_SingleKey_OrderedLists_OrderedList_State
- func (t *OpenconfigWithlistval_Model_A_SingleKey_OrderedLists_OrderedList) GetState() *OpenconfigWithlistval_Model_A_SingleKey_OrderedLists_OrderedList_State
- func (*OpenconfigWithlistval_Model_A_SingleKey_OrderedLists_OrderedList) IsYANGGoStruct()
- func (t *OpenconfigWithlistval_Model_A_SingleKey_OrderedLists_OrderedList) PopulateDefaults()
- func (t *OpenconfigWithlistval_Model_A_SingleKey_OrderedLists_OrderedList) SetKey(v string)
- func (t *OpenconfigWithlistval_Model_A_SingleKey_OrderedLists_OrderedList) Validate(opts ...ygot.ValidationOption) error
- func (*OpenconfigWithlistval_Model_A_SingleKey_OrderedLists_OrderedList) ΛBelongingModule() string
- func (t *OpenconfigWithlistval_Model_A_SingleKey_OrderedLists_OrderedList) ΛEnumTypeMap() map[string][]reflect.Type
- func (t *OpenconfigWithlistval_Model_A_SingleKey_OrderedLists_OrderedList) ΛListKeyMap() (map[string]interface{}, error)
- func (t *OpenconfigWithlistval_Model_A_SingleKey_OrderedLists_OrderedList) ΛValidate(opts ...ygot.ValidationOption) error
- type OpenconfigWithlistval_Model_A_SingleKey_OrderedLists_OrderedList_Config
- func (t *OpenconfigWithlistval_Model_A_SingleKey_OrderedLists_OrderedList_Config) GetKey() string
- func (t *OpenconfigWithlistval_Model_A_SingleKey_OrderedLists_OrderedList_Config) GetValue() int64
- func (*OpenconfigWithlistval_Model_A_SingleKey_OrderedLists_OrderedList_Config) IsYANGGoStruct()
- func (t *OpenconfigWithlistval_Model_A_SingleKey_OrderedLists_OrderedList_Config) PopulateDefaults()
- func (t *OpenconfigWithlistval_Model_A_SingleKey_OrderedLists_OrderedList_Config) SetKey(v string)
- func (t *OpenconfigWithlistval_Model_A_SingleKey_OrderedLists_OrderedList_Config) SetValue(v int64)
- func (t *OpenconfigWithlistval_Model_A_SingleKey_OrderedLists_OrderedList_Config) Validate(opts ...ygot.ValidationOption) error
- func (*OpenconfigWithlistval_Model_A_SingleKey_OrderedLists_OrderedList_Config) ΛBelongingModule() string
- func (t *OpenconfigWithlistval_Model_A_SingleKey_OrderedLists_OrderedList_Config) ΛEnumTypeMap() map[string][]reflect.Type
- func (t *OpenconfigWithlistval_Model_A_SingleKey_OrderedLists_OrderedList_Config) ΛValidate(opts ...ygot.ValidationOption) error
- type OpenconfigWithlistval_Model_A_SingleKey_OrderedLists_OrderedList_OrderedMap
- func (o *OpenconfigWithlistval_Model_A_SingleKey_OrderedLists_OrderedList_OrderedMap) Append(v *OpenconfigWithlistval_Model_A_SingleKey_OrderedLists_OrderedList) error
- func (o *OpenconfigWithlistval_Model_A_SingleKey_OrderedLists_OrderedList_OrderedMap) AppendNew(Key string) (*OpenconfigWithlistval_Model_A_SingleKey_OrderedLists_OrderedList, error)
- func (o *OpenconfigWithlistval_Model_A_SingleKey_OrderedLists_OrderedList_OrderedMap) Delete(key string) bool
- func (o *OpenconfigWithlistval_Model_A_SingleKey_OrderedLists_OrderedList_OrderedMap) Get(key string) *OpenconfigWithlistval_Model_A_SingleKey_OrderedLists_OrderedList
- func (*OpenconfigWithlistval_Model_A_SingleKey_OrderedLists_OrderedList_OrderedMap) IsYANGOrderedList()
- func (o *OpenconfigWithlistval_Model_A_SingleKey_OrderedLists_OrderedList_OrderedMap) Keys() []string
- func (o *OpenconfigWithlistval_Model_A_SingleKey_OrderedLists_OrderedList_OrderedMap) Len() int
- func (o *OpenconfigWithlistval_Model_A_SingleKey_OrderedLists_OrderedList_OrderedMap) Values() []*OpenconfigWithlistval_Model_A_SingleKey_OrderedLists_OrderedList
- type OpenconfigWithlistval_Model_A_SingleKey_OrderedLists_OrderedList_State
- func (t *OpenconfigWithlistval_Model_A_SingleKey_OrderedLists_OrderedList_State) GetKey() string
- func (t *OpenconfigWithlistval_Model_A_SingleKey_OrderedLists_OrderedList_State) GetValue() int64
- func (*OpenconfigWithlistval_Model_A_SingleKey_OrderedLists_OrderedList_State) IsYANGGoStruct()
- func (t *OpenconfigWithlistval_Model_A_SingleKey_OrderedLists_OrderedList_State) PopulateDefaults()
- func (t *OpenconfigWithlistval_Model_A_SingleKey_OrderedLists_OrderedList_State) SetKey(v string)
- func (t *OpenconfigWithlistval_Model_A_SingleKey_OrderedLists_OrderedList_State) SetValue(v int64)
- func (t *OpenconfigWithlistval_Model_A_SingleKey_OrderedLists_OrderedList_State) Validate(opts ...ygot.ValidationOption) error
- func (*OpenconfigWithlistval_Model_A_SingleKey_OrderedLists_OrderedList_State) ΛBelongingModule() string
- func (t *OpenconfigWithlistval_Model_A_SingleKey_OrderedLists_OrderedList_State) ΛEnumTypeMap() map[string][]reflect.Type
- func (t *OpenconfigWithlistval_Model_A_SingleKey_OrderedLists_OrderedList_State) ΛValidate(opts ...ygot.ValidationOption) error
- type OpenconfigWithlistval_Model_A_SingleKey_State
- func (t *OpenconfigWithlistval_Model_A_SingleKey_State) GetCounter() Binary
- func (t *OpenconfigWithlistval_Model_A_SingleKey_State) GetCounters() []Binary
- func (t *OpenconfigWithlistval_Model_A_SingleKey_State) GetKey() string
- func (t *OpenconfigWithlistval_Model_A_SingleKey_State) GetValue() int64
- func (*OpenconfigWithlistval_Model_A_SingleKey_State) IsYANGGoStruct()
- func (t *OpenconfigWithlistval_Model_A_SingleKey_State) PopulateDefaults()
- func (t *OpenconfigWithlistval_Model_A_SingleKey_State) SetCounter(v Binary)
- func (t *OpenconfigWithlistval_Model_A_SingleKey_State) SetCounters(v []Binary)
- func (t *OpenconfigWithlistval_Model_A_SingleKey_State) SetKey(v string)
- func (t *OpenconfigWithlistval_Model_A_SingleKey_State) SetValue(v int64)
- func (t *OpenconfigWithlistval_Model_A_SingleKey_State) Validate(opts ...ygot.ValidationOption) error
- func (*OpenconfigWithlistval_Model_A_SingleKey_State) ΛBelongingModule() string
- func (t *OpenconfigWithlistval_Model_A_SingleKey_State) ΛEnumTypeMap() map[string][]reflect.Type
- func (t *OpenconfigWithlistval_Model_A_SingleKey_State) ΛValidate(opts ...ygot.ValidationOption) error
- type OpenconfigWithlistval_Model_B
- func (t *OpenconfigWithlistval_Model_B) AppendMultiKey(v *OpenconfigWithlistval_Model_B_MultiKey) error
- func (t *OpenconfigWithlistval_Model_B) DeleteMultiKey(Key1 uint32, Key2 uint64)
- func (t *OpenconfigWithlistval_Model_B) GetMultiKey(Key1 uint32, Key2 uint64) *OpenconfigWithlistval_Model_B_MultiKey
- func (t *OpenconfigWithlistval_Model_B) GetOrCreateMultiKey(Key1 uint32, Key2 uint64) *OpenconfigWithlistval_Model_B_MultiKey
- func (*OpenconfigWithlistval_Model_B) IsYANGGoStruct()
- func (t *OpenconfigWithlistval_Model_B) NewMultiKey(Key1 uint32, Key2 uint64) (*OpenconfigWithlistval_Model_B_MultiKey, error)
- func (t *OpenconfigWithlistval_Model_B) PopulateDefaults()
- func (t *OpenconfigWithlistval_Model_B) RenameMultiKey(oldK, newK OpenconfigWithlistval_Model_B_MultiKey_Key) error
- func (t *OpenconfigWithlistval_Model_B) Validate(opts ...ygot.ValidationOption) error
- func (*OpenconfigWithlistval_Model_B) ΛBelongingModule() string
- func (t *OpenconfigWithlistval_Model_B) ΛEnumTypeMap() map[string][]reflect.Type
- func (t *OpenconfigWithlistval_Model_B) ΛValidate(opts ...ygot.ValidationOption) error
- type OpenconfigWithlistval_Model_B_MultiKey
- func (t *OpenconfigWithlistval_Model_B_MultiKey) GetConfig() *OpenconfigWithlistval_Model_B_MultiKey_Config
- func (t *OpenconfigWithlistval_Model_B_MultiKey) GetKey1() uint32
- func (t *OpenconfigWithlistval_Model_B_MultiKey) GetKey2() uint64
- func (t *OpenconfigWithlistval_Model_B_MultiKey) GetOrCreateConfig() *OpenconfigWithlistval_Model_B_MultiKey_Config
- func (t *OpenconfigWithlistval_Model_B_MultiKey) GetOrCreateState() *OpenconfigWithlistval_Model_B_MultiKey_State
- func (t *OpenconfigWithlistval_Model_B_MultiKey) GetState() *OpenconfigWithlistval_Model_B_MultiKey_State
- func (*OpenconfigWithlistval_Model_B_MultiKey) IsYANGGoStruct()
- func (t *OpenconfigWithlistval_Model_B_MultiKey) PopulateDefaults()
- func (t *OpenconfigWithlistval_Model_B_MultiKey) SetKey1(v uint32)
- func (t *OpenconfigWithlistval_Model_B_MultiKey) SetKey2(v uint64)
- func (t *OpenconfigWithlistval_Model_B_MultiKey) Validate(opts ...ygot.ValidationOption) error
- func (*OpenconfigWithlistval_Model_B_MultiKey) ΛBelongingModule() string
- func (t *OpenconfigWithlistval_Model_B_MultiKey) ΛEnumTypeMap() map[string][]reflect.Type
- func (t *OpenconfigWithlistval_Model_B_MultiKey) ΛListKeyMap() (map[string]interface{}, error)
- func (t *OpenconfigWithlistval_Model_B_MultiKey) ΛValidate(opts ...ygot.ValidationOption) error
- type OpenconfigWithlistval_Model_B_MultiKey_Config
- func (t *OpenconfigWithlistval_Model_B_MultiKey_Config) GetKey1() uint32
- func (t *OpenconfigWithlistval_Model_B_MultiKey_Config) GetKey2() uint64
- func (*OpenconfigWithlistval_Model_B_MultiKey_Config) IsYANGGoStruct()
- func (t *OpenconfigWithlistval_Model_B_MultiKey_Config) PopulateDefaults()
- func (t *OpenconfigWithlistval_Model_B_MultiKey_Config) SetKey1(v uint32)
- func (t *OpenconfigWithlistval_Model_B_MultiKey_Config) SetKey2(v uint64)
- func (t *OpenconfigWithlistval_Model_B_MultiKey_Config) Validate(opts ...ygot.ValidationOption) error
- func (*OpenconfigWithlistval_Model_B_MultiKey_Config) ΛBelongingModule() string
- func (t *OpenconfigWithlistval_Model_B_MultiKey_Config) ΛEnumTypeMap() map[string][]reflect.Type
- func (t *OpenconfigWithlistval_Model_B_MultiKey_Config) ΛValidate(opts ...ygot.ValidationOption) error
- type OpenconfigWithlistval_Model_B_MultiKey_Key
- type OpenconfigWithlistval_Model_B_MultiKey_State
- func (t *OpenconfigWithlistval_Model_B_MultiKey_State) GetKey1() uint32
- func (t *OpenconfigWithlistval_Model_B_MultiKey_State) GetKey2() uint64
- func (*OpenconfigWithlistval_Model_B_MultiKey_State) IsYANGGoStruct()
- func (t *OpenconfigWithlistval_Model_B_MultiKey_State) PopulateDefaults()
- func (t *OpenconfigWithlistval_Model_B_MultiKey_State) SetKey1(v uint32)
- func (t *OpenconfigWithlistval_Model_B_MultiKey_State) SetKey2(v uint64)
- func (t *OpenconfigWithlistval_Model_B_MultiKey_State) Validate(opts ...ygot.ValidationOption) error
- func (*OpenconfigWithlistval_Model_B_MultiKey_State) ΛBelongingModule() string
- func (t *OpenconfigWithlistval_Model_B_MultiKey_State) ΛEnumTypeMap() map[string][]reflect.Type
- func (t *OpenconfigWithlistval_Model_B_MultiKey_State) ΛValidate(opts ...ygot.ValidationOption) error
- type OpenconfigWithlistval_Model_C
- func (*OpenconfigWithlistval_Model_C) IsYANGGoStruct()
- func (t *OpenconfigWithlistval_Model_C) PopulateDefaults()
- func (t *OpenconfigWithlistval_Model_C) Validate(opts ...ygot.ValidationOption) error
- func (*OpenconfigWithlistval_Model_C) ΛBelongingModule() string
- func (t *OpenconfigWithlistval_Model_C) ΛEnumTypeMap() map[string][]reflect.Type
- func (t *OpenconfigWithlistval_Model_C) ΛValidate(opts ...ygot.ValidationOption) error
- type OpenconfigWithlistval_Model_C_NoKey
- func (t *OpenconfigWithlistval_Model_C_NoKey) GetFoo() *OpenconfigWithlistval_Model_C_NoKey_Foo
- func (t *OpenconfigWithlistval_Model_C_NoKey) GetOrCreateFoo() *OpenconfigWithlistval_Model_C_NoKey_Foo
- func (*OpenconfigWithlistval_Model_C_NoKey) IsYANGGoStruct()
- func (t *OpenconfigWithlistval_Model_C_NoKey) PopulateDefaults()
- func (t *OpenconfigWithlistval_Model_C_NoKey) Validate(opts ...ygot.ValidationOption) error
- func (*OpenconfigWithlistval_Model_C_NoKey) ΛBelongingModule() string
- func (t *OpenconfigWithlistval_Model_C_NoKey) ΛEnumTypeMap() map[string][]reflect.Type
- func (t *OpenconfigWithlistval_Model_C_NoKey) ΛValidate(opts ...ygot.ValidationOption) error
- type OpenconfigWithlistval_Model_C_NoKey_Foo
- func (t *OpenconfigWithlistval_Model_C_NoKey_Foo) GetOrCreateState() *OpenconfigWithlistval_Model_C_NoKey_Foo_State
- func (t *OpenconfigWithlistval_Model_C_NoKey_Foo) GetState() *OpenconfigWithlistval_Model_C_NoKey_Foo_State
- func (*OpenconfigWithlistval_Model_C_NoKey_Foo) IsYANGGoStruct()
- func (t *OpenconfigWithlistval_Model_C_NoKey_Foo) PopulateDefaults()
- func (t *OpenconfigWithlistval_Model_C_NoKey_Foo) Validate(opts ...ygot.ValidationOption) error
- func (*OpenconfigWithlistval_Model_C_NoKey_Foo) ΛBelongingModule() string
- func (t *OpenconfigWithlistval_Model_C_NoKey_Foo) ΛEnumTypeMap() map[string][]reflect.Type
- func (t *OpenconfigWithlistval_Model_C_NoKey_Foo) ΛValidate(opts ...ygot.ValidationOption) error
- type OpenconfigWithlistval_Model_C_NoKey_Foo_State
- func (t *OpenconfigWithlistval_Model_C_NoKey_Foo_State) GetKey() string
- func (t *OpenconfigWithlistval_Model_C_NoKey_Foo_State) GetValue() int64
- func (*OpenconfigWithlistval_Model_C_NoKey_Foo_State) IsYANGGoStruct()
- func (t *OpenconfigWithlistval_Model_C_NoKey_Foo_State) PopulateDefaults()
- func (t *OpenconfigWithlistval_Model_C_NoKey_Foo_State) SetKey(v string)
- func (t *OpenconfigWithlistval_Model_C_NoKey_Foo_State) SetValue(v int64)
- func (t *OpenconfigWithlistval_Model_C_NoKey_Foo_State) Validate(opts ...ygot.ValidationOption) error
- func (*OpenconfigWithlistval_Model_C_NoKey_Foo_State) ΛBelongingModule() string
- func (t *OpenconfigWithlistval_Model_C_NoKey_Foo_State) ΛEnumTypeMap() map[string][]reflect.Type
- func (t *OpenconfigWithlistval_Model_C_NoKey_Foo_State) ΛValidate(opts ...ygot.ValidationOption) error
- type UnionBool
- type UnionFloat64
- type UnionInt16
- type UnionInt32
- type UnionInt64
- type UnionInt8
- type UnionString
- type UnionUint16
- type UnionUint32
- type UnionUint64
- type UnionUint8
- type UnionUnsupported
- type YANGEmpty
Constants ¶
This section is empty.
Variables ¶
var ΛEnum = map[string]map[int64]ygot.EnumDefinition{
"E_Simple_Parent_Child_Config_Three": {
1: {Name: "ONE"},
2: {Name: "TWO"},
},
}
ΛEnum is a map, keyed by the name of the type defined for each enum in the generated Go code, which provides a mapping between the constant int64 value of each value of the enumeration, and the string that is used to represent it in the YANG schema. The map is named ΛEnum in order to avoid clash with any valid YANG identifier.
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 ¶ added in v0.10.0
type Device struct { A *OpenconfigNested_A `path:"a" module:"openconfig-nested"` Container *OpenconfigNested_Container `path:"container" module:"openconfig-nested"` Model *OpenconfigWithlistval_Model `path:"model" module:"openconfig-withlistval"` Parent *OpenconfigSimple_Parent `path:"parent" module:"openconfig-simple"` RemoteContainer *OpenconfigSimple_RemoteContainer `path:"remote-container" module:"openconfig-simple"` }
Device represents the /device YANG schema element.
func (*Device) GetA ¶ added in v0.10.0
func (t *Device) GetA() *OpenconfigNested_A
GetA returns the value of the A struct pointer from Device. If the receiver or the field A is nil, nil is returned such that the Get* methods can be safely chained.
func (*Device) GetContainer ¶ added in v0.10.0
func (t *Device) GetContainer() *OpenconfigNested_Container
GetContainer returns the value of the Container struct pointer from Device. If the receiver or the field Container is nil, nil is returned such that the Get* methods can be safely chained.
func (*Device) GetModel ¶ added in v0.10.0
func (t *Device) GetModel() *OpenconfigWithlistval_Model
GetModel returns the value of the Model struct pointer from Device. If the receiver or the field Model is nil, nil is returned such that the Get* methods can be safely chained.
func (*Device) GetOrCreateA ¶ added in v0.10.0
func (t *Device) GetOrCreateA() *OpenconfigNested_A
GetOrCreateA retrieves the value of the A field or returns the existing field if it already exists.
func (*Device) GetOrCreateContainer ¶ added in v0.10.0
func (t *Device) GetOrCreateContainer() *OpenconfigNested_Container
GetOrCreateContainer retrieves the value of the Container field or returns the existing field if it already exists.
func (*Device) GetOrCreateModel ¶ added in v0.10.0
func (t *Device) GetOrCreateModel() *OpenconfigWithlistval_Model
GetOrCreateModel retrieves the value of the Model field or returns the existing field if it already exists.
func (*Device) GetOrCreateParent ¶ added in v0.10.0
func (t *Device) GetOrCreateParent() *OpenconfigSimple_Parent
GetOrCreateParent retrieves the value of the Parent field or returns the existing field if it already exists.
func (*Device) GetOrCreateRemoteContainer ¶ added in v0.10.0
func (t *Device) GetOrCreateRemoteContainer() *OpenconfigSimple_RemoteContainer
GetOrCreateRemoteContainer retrieves the value of the RemoteContainer field or returns the existing field if it already exists.
func (*Device) GetParent ¶ added in v0.10.0
func (t *Device) GetParent() *OpenconfigSimple_Parent
GetParent returns the value of the Parent struct pointer from Device. If the receiver or the field Parent is nil, nil is returned such that the Get* methods can be safely chained.
func (*Device) GetRemoteContainer ¶ added in v0.10.0
func (t *Device) GetRemoteContainer() *OpenconfigSimple_RemoteContainer
GetRemoteContainer returns the value of the RemoteContainer struct pointer from Device. If the receiver or the field RemoteContainer is nil, nil is returned such that the Get* methods can be safely chained.
func (*Device) IsYANGGoStruct ¶ added in v0.10.0
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.
func (*Device) PopulateDefaults ¶ added in v0.10.0
func (t *Device) PopulateDefaults()
PopulateDefaults recursively populates unset leaf fields in the Device with default values as specified in the YANG schema, instantiating any nil container fields.
func (*Device) Validate ¶ added in v0.10.0
func (t *Device) Validate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
func (*Device) ΛBelongingModule ¶ added in v0.10.0
ΛBelongingModule returns the name of the module that defines the namespace of Device.
func (*Device) ΛEnumTypeMap ¶ added in v0.10.0
ΛEnumTypeMap returns a map, keyed by YANG schema path, of the enumerated types that are included in the generated code.
type E_Simple_Parent_Child_Config_Three ¶
type E_Simple_Parent_Child_Config_Three int64
E_Simple_Parent_Child_Config_Three is a derived int64 type which is used to represent the enumerated node Simple_Parent_Child_Config_Three. An additional value named Simple_Parent_Child_Config_Three_UNSET is added to the enumeration which is used as the nil value, indicating that the enumeration was not explicitly set by the program importing the generated structures.
const ( // Simple_Parent_Child_Config_Three_UNSET corresponds to the value UNSET of Simple_Parent_Child_Config_Three Simple_Parent_Child_Config_Three_UNSET E_Simple_Parent_Child_Config_Three = 0 // Simple_Parent_Child_Config_Three_ONE corresponds to the value ONE of Simple_Parent_Child_Config_Three Simple_Parent_Child_Config_Three_ONE E_Simple_Parent_Child_Config_Three = 1 // Simple_Parent_Child_Config_Three_TWO corresponds to the value TWO of Simple_Parent_Child_Config_Three Simple_Parent_Child_Config_Three_TWO E_Simple_Parent_Child_Config_Three = 2 )
func (E_Simple_Parent_Child_Config_Three) IsYANGGoEnum ¶
func (E_Simple_Parent_Child_Config_Three) IsYANGGoEnum()
IsYANGGoEnum ensures that Simple_Parent_Child_Config_Three implements the yang.GoEnum interface. This ensures that Simple_Parent_Child_Config_Three can be identified as a mapped type for a YANG enumeration.
func (E_Simple_Parent_Child_Config_Three) String ¶
func (e E_Simple_Parent_Child_Config_Three) String() string
String returns a logging-friendly string for E_Simple_Parent_Child_Config_Three.
func (E_Simple_Parent_Child_Config_Three) ΛMap ¶
func (E_Simple_Parent_Child_Config_Three) ΛMap() map[string]map[int64]ygot.EnumDefinition
ΛMap returns the value lookup map associated with Simple_Parent_Child_Config_Three.
type OpenconfigNested_A ¶
type OpenconfigNested_A struct {
B *OpenconfigNested_A_B `path:"b" module:"openconfig-nested"`
}
OpenconfigNested_A represents the /openconfig-nested/a YANG schema element.
func (*OpenconfigNested_A) GetB ¶
func (t *OpenconfigNested_A) GetB() *OpenconfigNested_A_B
GetB returns the value of the B struct pointer from OpenconfigNested_A. If the receiver or the field B is nil, nil is returned such that the Get* methods can be safely chained.
func (*OpenconfigNested_A) GetOrCreateB ¶
func (t *OpenconfigNested_A) GetOrCreateB() *OpenconfigNested_A_B
GetOrCreateB retrieves the value of the B field or returns the existing field if it already exists.
func (*OpenconfigNested_A) IsYANGGoStruct ¶
func (*OpenconfigNested_A) IsYANGGoStruct()
IsYANGGoStruct ensures that OpenconfigNested_A implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.
func (*OpenconfigNested_A) PopulateDefaults ¶
func (t *OpenconfigNested_A) PopulateDefaults()
PopulateDefaults recursively populates unset leaf fields in the OpenconfigNested_A with default values as specified in the YANG schema, instantiating any nil container fields.
func (*OpenconfigNested_A) Validate ¶
func (t *OpenconfigNested_A) Validate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
func (*OpenconfigNested_A) ΛBelongingModule ¶
func (*OpenconfigNested_A) ΛBelongingModule() string
ΛBelongingModule returns the name of the module that defines the namespace of OpenconfigNested_A.
func (*OpenconfigNested_A) ΛEnumTypeMap ¶
func (t *OpenconfigNested_A) Λ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.
func (*OpenconfigNested_A) ΛValidate ¶
func (t *OpenconfigNested_A) ΛValidate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
type OpenconfigNested_A_B ¶
type OpenconfigNested_A_B struct {
C *OpenconfigNested_A_B_C `path:"c" module:"openconfig-nested"`
}
OpenconfigNested_A_B represents the /openconfig-nested/a/b YANG schema element.
func (*OpenconfigNested_A_B) GetC ¶
func (t *OpenconfigNested_A_B) GetC() *OpenconfigNested_A_B_C
GetC returns the value of the C struct pointer from OpenconfigNested_A_B. If the receiver or the field C is nil, nil is returned such that the Get* methods can be safely chained.
func (*OpenconfigNested_A_B) GetOrCreateC ¶
func (t *OpenconfigNested_A_B) GetOrCreateC() *OpenconfigNested_A_B_C
GetOrCreateC retrieves the value of the C field or returns the existing field if it already exists.
func (*OpenconfigNested_A_B) IsYANGGoStruct ¶
func (*OpenconfigNested_A_B) IsYANGGoStruct()
IsYANGGoStruct ensures that OpenconfigNested_A_B implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.
func (*OpenconfigNested_A_B) PopulateDefaults ¶
func (t *OpenconfigNested_A_B) PopulateDefaults()
PopulateDefaults recursively populates unset leaf fields in the OpenconfigNested_A_B with default values as specified in the YANG schema, instantiating any nil container fields.
func (*OpenconfigNested_A_B) Validate ¶
func (t *OpenconfigNested_A_B) Validate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
func (*OpenconfigNested_A_B) ΛBelongingModule ¶
func (*OpenconfigNested_A_B) ΛBelongingModule() string
ΛBelongingModule returns the name of the module that defines the namespace of OpenconfigNested_A_B.
func (*OpenconfigNested_A_B) ΛEnumTypeMap ¶
func (t *OpenconfigNested_A_B) Λ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.
func (*OpenconfigNested_A_B) ΛValidate ¶
func (t *OpenconfigNested_A_B) ΛValidate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
type OpenconfigNested_A_B_C ¶
type OpenconfigNested_A_B_C struct {
D *OpenconfigNested_A_B_C_D `path:"d" module:"openconfig-nested"`
}
OpenconfigNested_A_B_C represents the /openconfig-nested/a/b/c YANG schema element.
func (*OpenconfigNested_A_B_C) GetD ¶
func (t *OpenconfigNested_A_B_C) GetD() *OpenconfigNested_A_B_C_D
GetD returns the value of the D struct pointer from OpenconfigNested_A_B_C. If the receiver or the field D is nil, nil is returned such that the Get* methods can be safely chained.
func (*OpenconfigNested_A_B_C) GetOrCreateD ¶
func (t *OpenconfigNested_A_B_C) GetOrCreateD() *OpenconfigNested_A_B_C_D
GetOrCreateD retrieves the value of the D field or returns the existing field if it already exists.
func (*OpenconfigNested_A_B_C) IsYANGGoStruct ¶
func (*OpenconfigNested_A_B_C) IsYANGGoStruct()
IsYANGGoStruct ensures that OpenconfigNested_A_B_C implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.
func (*OpenconfigNested_A_B_C) PopulateDefaults ¶
func (t *OpenconfigNested_A_B_C) PopulateDefaults()
PopulateDefaults recursively populates unset leaf fields in the OpenconfigNested_A_B_C with default values as specified in the YANG schema, instantiating any nil container fields.
func (*OpenconfigNested_A_B_C) Validate ¶
func (t *OpenconfigNested_A_B_C) Validate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
func (*OpenconfigNested_A_B_C) ΛBelongingModule ¶
func (*OpenconfigNested_A_B_C) ΛBelongingModule() string
ΛBelongingModule returns the name of the module that defines the namespace of OpenconfigNested_A_B_C.
func (*OpenconfigNested_A_B_C) ΛEnumTypeMap ¶
func (t *OpenconfigNested_A_B_C) Λ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.
func (*OpenconfigNested_A_B_C) ΛValidate ¶
func (t *OpenconfigNested_A_B_C) ΛValidate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
type OpenconfigNested_A_B_C_D ¶
type OpenconfigNested_A_B_C_D struct {
E *OpenconfigNested_A_B_C_D_E `path:"e" module:"openconfig-nested"`
}
OpenconfigNested_A_B_C_D represents the /openconfig-nested/a/b/c/d YANG schema element.
func (*OpenconfigNested_A_B_C_D) GetE ¶
func (t *OpenconfigNested_A_B_C_D) GetE() *OpenconfigNested_A_B_C_D_E
GetE returns the value of the E struct pointer from OpenconfigNested_A_B_C_D. If the receiver or the field E is nil, nil is returned such that the Get* methods can be safely chained.
func (*OpenconfigNested_A_B_C_D) GetOrCreateE ¶
func (t *OpenconfigNested_A_B_C_D) GetOrCreateE() *OpenconfigNested_A_B_C_D_E
GetOrCreateE retrieves the value of the E field or returns the existing field if it already exists.
func (*OpenconfigNested_A_B_C_D) IsYANGGoStruct ¶
func (*OpenconfigNested_A_B_C_D) IsYANGGoStruct()
IsYANGGoStruct ensures that OpenconfigNested_A_B_C_D implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.
func (*OpenconfigNested_A_B_C_D) PopulateDefaults ¶
func (t *OpenconfigNested_A_B_C_D) PopulateDefaults()
PopulateDefaults recursively populates unset leaf fields in the OpenconfigNested_A_B_C_D with default values as specified in the YANG schema, instantiating any nil container fields.
func (*OpenconfigNested_A_B_C_D) Validate ¶
func (t *OpenconfigNested_A_B_C_D) Validate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
func (*OpenconfigNested_A_B_C_D) ΛBelongingModule ¶
func (*OpenconfigNested_A_B_C_D) ΛBelongingModule() string
ΛBelongingModule returns the name of the module that defines the namespace of OpenconfigNested_A_B_C_D.
func (*OpenconfigNested_A_B_C_D) ΛEnumTypeMap ¶
func (t *OpenconfigNested_A_B_C_D) Λ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.
func (*OpenconfigNested_A_B_C_D) ΛValidate ¶
func (t *OpenconfigNested_A_B_C_D) ΛValidate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
type OpenconfigNested_A_B_C_D_E ¶
type OpenconfigNested_A_B_C_D_E struct {
F *OpenconfigNested_A_B_C_D_E_F `path:"f" module:"openconfig-nested"`
}
OpenconfigNested_A_B_C_D_E represents the /openconfig-nested/a/b/c/d/e YANG schema element.
func (*OpenconfigNested_A_B_C_D_E) GetF ¶
func (t *OpenconfigNested_A_B_C_D_E) GetF() *OpenconfigNested_A_B_C_D_E_F
GetF returns the value of the F struct pointer from OpenconfigNested_A_B_C_D_E. If the receiver or the field F is nil, nil is returned such that the Get* methods can be safely chained.
func (*OpenconfigNested_A_B_C_D_E) GetOrCreateF ¶
func (t *OpenconfigNested_A_B_C_D_E) GetOrCreateF() *OpenconfigNested_A_B_C_D_E_F
GetOrCreateF retrieves the value of the F field or returns the existing field if it already exists.
func (*OpenconfigNested_A_B_C_D_E) IsYANGGoStruct ¶
func (*OpenconfigNested_A_B_C_D_E) IsYANGGoStruct()
IsYANGGoStruct ensures that OpenconfigNested_A_B_C_D_E implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.
func (*OpenconfigNested_A_B_C_D_E) PopulateDefaults ¶
func (t *OpenconfigNested_A_B_C_D_E) PopulateDefaults()
PopulateDefaults recursively populates unset leaf fields in the OpenconfigNested_A_B_C_D_E with default values as specified in the YANG schema, instantiating any nil container fields.
func (*OpenconfigNested_A_B_C_D_E) Validate ¶
func (t *OpenconfigNested_A_B_C_D_E) Validate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
func (*OpenconfigNested_A_B_C_D_E) ΛBelongingModule ¶
func (*OpenconfigNested_A_B_C_D_E) ΛBelongingModule() string
ΛBelongingModule returns the name of the module that defines the namespace of OpenconfigNested_A_B_C_D_E.
func (*OpenconfigNested_A_B_C_D_E) ΛEnumTypeMap ¶
func (t *OpenconfigNested_A_B_C_D_E) Λ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.
func (*OpenconfigNested_A_B_C_D_E) ΛValidate ¶
func (t *OpenconfigNested_A_B_C_D_E) ΛValidate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
type OpenconfigNested_A_B_C_D_E_F ¶
type OpenconfigNested_A_B_C_D_E_F struct {
G *OpenconfigNested_A_B_C_D_E_F_G `path:"g" module:"openconfig-nested"`
}
OpenconfigNested_A_B_C_D_E_F represents the /openconfig-nested/a/b/c/d/e/f YANG schema element.
func (*OpenconfigNested_A_B_C_D_E_F) GetG ¶
func (t *OpenconfigNested_A_B_C_D_E_F) GetG() *OpenconfigNested_A_B_C_D_E_F_G
GetG returns the value of the G struct pointer from OpenconfigNested_A_B_C_D_E_F. If the receiver or the field G is nil, nil is returned such that the Get* methods can be safely chained.
func (*OpenconfigNested_A_B_C_D_E_F) GetOrCreateG ¶
func (t *OpenconfigNested_A_B_C_D_E_F) GetOrCreateG() *OpenconfigNested_A_B_C_D_E_F_G
GetOrCreateG retrieves the value of the G field or returns the existing field if it already exists.
func (*OpenconfigNested_A_B_C_D_E_F) IsYANGGoStruct ¶
func (*OpenconfigNested_A_B_C_D_E_F) IsYANGGoStruct()
IsYANGGoStruct ensures that OpenconfigNested_A_B_C_D_E_F implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.
func (*OpenconfigNested_A_B_C_D_E_F) PopulateDefaults ¶
func (t *OpenconfigNested_A_B_C_D_E_F) PopulateDefaults()
PopulateDefaults recursively populates unset leaf fields in the OpenconfigNested_A_B_C_D_E_F with default values as specified in the YANG schema, instantiating any nil container fields.
func (*OpenconfigNested_A_B_C_D_E_F) Validate ¶
func (t *OpenconfigNested_A_B_C_D_E_F) Validate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
func (*OpenconfigNested_A_B_C_D_E_F) ΛBelongingModule ¶
func (*OpenconfigNested_A_B_C_D_E_F) ΛBelongingModule() string
ΛBelongingModule returns the name of the module that defines the namespace of OpenconfigNested_A_B_C_D_E_F.
func (*OpenconfigNested_A_B_C_D_E_F) ΛEnumTypeMap ¶
func (t *OpenconfigNested_A_B_C_D_E_F) Λ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.
func (*OpenconfigNested_A_B_C_D_E_F) ΛValidate ¶
func (t *OpenconfigNested_A_B_C_D_E_F) ΛValidate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
type OpenconfigNested_A_B_C_D_E_F_G ¶
type OpenconfigNested_A_B_C_D_E_F_G struct {
H *OpenconfigNested_A_B_C_D_E_F_G_H `path:"h" module:"openconfig-nested"`
}
OpenconfigNested_A_B_C_D_E_F_G represents the /openconfig-nested/a/b/c/d/e/f/g YANG schema element.
func (*OpenconfigNested_A_B_C_D_E_F_G) GetH ¶
func (t *OpenconfigNested_A_B_C_D_E_F_G) GetH() *OpenconfigNested_A_B_C_D_E_F_G_H
GetH returns the value of the H struct pointer from OpenconfigNested_A_B_C_D_E_F_G. If the receiver or the field H is nil, nil is returned such that the Get* methods can be safely chained.
func (*OpenconfigNested_A_B_C_D_E_F_G) GetOrCreateH ¶
func (t *OpenconfigNested_A_B_C_D_E_F_G) GetOrCreateH() *OpenconfigNested_A_B_C_D_E_F_G_H
GetOrCreateH retrieves the value of the H field or returns the existing field if it already exists.
func (*OpenconfigNested_A_B_C_D_E_F_G) IsYANGGoStruct ¶
func (*OpenconfigNested_A_B_C_D_E_F_G) IsYANGGoStruct()
IsYANGGoStruct ensures that OpenconfigNested_A_B_C_D_E_F_G implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.
func (*OpenconfigNested_A_B_C_D_E_F_G) PopulateDefaults ¶
func (t *OpenconfigNested_A_B_C_D_E_F_G) PopulateDefaults()
PopulateDefaults recursively populates unset leaf fields in the OpenconfigNested_A_B_C_D_E_F_G with default values as specified in the YANG schema, instantiating any nil container fields.
func (*OpenconfigNested_A_B_C_D_E_F_G) Validate ¶
func (t *OpenconfigNested_A_B_C_D_E_F_G) Validate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
func (*OpenconfigNested_A_B_C_D_E_F_G) ΛBelongingModule ¶
func (*OpenconfigNested_A_B_C_D_E_F_G) ΛBelongingModule() string
ΛBelongingModule returns the name of the module that defines the namespace of OpenconfigNested_A_B_C_D_E_F_G.
func (*OpenconfigNested_A_B_C_D_E_F_G) ΛEnumTypeMap ¶
func (t *OpenconfigNested_A_B_C_D_E_F_G) Λ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.
func (*OpenconfigNested_A_B_C_D_E_F_G) ΛValidate ¶
func (t *OpenconfigNested_A_B_C_D_E_F_G) ΛValidate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
type OpenconfigNested_A_B_C_D_E_F_G_H ¶
type OpenconfigNested_A_B_C_D_E_F_G_H struct {
I *OpenconfigNested_A_B_C_D_E_F_G_H_I `path:"i" module:"openconfig-nested"`
}
OpenconfigNested_A_B_C_D_E_F_G_H represents the /openconfig-nested/a/b/c/d/e/f/g/h YANG schema element.
func (*OpenconfigNested_A_B_C_D_E_F_G_H) GetI ¶
func (t *OpenconfigNested_A_B_C_D_E_F_G_H) GetI() *OpenconfigNested_A_B_C_D_E_F_G_H_I
GetI returns the value of the I struct pointer from OpenconfigNested_A_B_C_D_E_F_G_H. If the receiver or the field I is nil, nil is returned such that the Get* methods can be safely chained.
func (*OpenconfigNested_A_B_C_D_E_F_G_H) GetOrCreateI ¶
func (t *OpenconfigNested_A_B_C_D_E_F_G_H) GetOrCreateI() *OpenconfigNested_A_B_C_D_E_F_G_H_I
GetOrCreateI retrieves the value of the I field or returns the existing field if it already exists.
func (*OpenconfigNested_A_B_C_D_E_F_G_H) IsYANGGoStruct ¶
func (*OpenconfigNested_A_B_C_D_E_F_G_H) IsYANGGoStruct()
IsYANGGoStruct ensures that OpenconfigNested_A_B_C_D_E_F_G_H implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.
func (*OpenconfigNested_A_B_C_D_E_F_G_H) PopulateDefaults ¶
func (t *OpenconfigNested_A_B_C_D_E_F_G_H) PopulateDefaults()
PopulateDefaults recursively populates unset leaf fields in the OpenconfigNested_A_B_C_D_E_F_G_H with default values as specified in the YANG schema, instantiating any nil container fields.
func (*OpenconfigNested_A_B_C_D_E_F_G_H) Validate ¶
func (t *OpenconfigNested_A_B_C_D_E_F_G_H) Validate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
func (*OpenconfigNested_A_B_C_D_E_F_G_H) ΛBelongingModule ¶
func (*OpenconfigNested_A_B_C_D_E_F_G_H) ΛBelongingModule() string
ΛBelongingModule returns the name of the module that defines the namespace of OpenconfigNested_A_B_C_D_E_F_G_H.
func (*OpenconfigNested_A_B_C_D_E_F_G_H) ΛEnumTypeMap ¶
func (t *OpenconfigNested_A_B_C_D_E_F_G_H) Λ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.
func (*OpenconfigNested_A_B_C_D_E_F_G_H) ΛValidate ¶
func (t *OpenconfigNested_A_B_C_D_E_F_G_H) ΛValidate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
type OpenconfigNested_A_B_C_D_E_F_G_H_I ¶
type OpenconfigNested_A_B_C_D_E_F_G_H_I struct {
J *OpenconfigNested_A_B_C_D_E_F_G_H_I_J `path:"j" module:"openconfig-nested"`
}
OpenconfigNested_A_B_C_D_E_F_G_H_I represents the /openconfig-nested/a/b/c/d/e/f/g/h/i YANG schema element.
func (*OpenconfigNested_A_B_C_D_E_F_G_H_I) GetJ ¶
func (t *OpenconfigNested_A_B_C_D_E_F_G_H_I) GetJ() *OpenconfigNested_A_B_C_D_E_F_G_H_I_J
GetJ returns the value of the J struct pointer from OpenconfigNested_A_B_C_D_E_F_G_H_I. If the receiver or the field J is nil, nil is returned such that the Get* methods can be safely chained.
func (*OpenconfigNested_A_B_C_D_E_F_G_H_I) GetOrCreateJ ¶
func (t *OpenconfigNested_A_B_C_D_E_F_G_H_I) GetOrCreateJ() *OpenconfigNested_A_B_C_D_E_F_G_H_I_J
GetOrCreateJ retrieves the value of the J field or returns the existing field if it already exists.
func (*OpenconfigNested_A_B_C_D_E_F_G_H_I) IsYANGGoStruct ¶
func (*OpenconfigNested_A_B_C_D_E_F_G_H_I) IsYANGGoStruct()
IsYANGGoStruct ensures that OpenconfigNested_A_B_C_D_E_F_G_H_I implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.
func (*OpenconfigNested_A_B_C_D_E_F_G_H_I) PopulateDefaults ¶
func (t *OpenconfigNested_A_B_C_D_E_F_G_H_I) PopulateDefaults()
PopulateDefaults recursively populates unset leaf fields in the OpenconfigNested_A_B_C_D_E_F_G_H_I with default values as specified in the YANG schema, instantiating any nil container fields.
func (*OpenconfigNested_A_B_C_D_E_F_G_H_I) Validate ¶
func (t *OpenconfigNested_A_B_C_D_E_F_G_H_I) Validate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
func (*OpenconfigNested_A_B_C_D_E_F_G_H_I) ΛBelongingModule ¶
func (*OpenconfigNested_A_B_C_D_E_F_G_H_I) ΛBelongingModule() string
ΛBelongingModule returns the name of the module that defines the namespace of OpenconfigNested_A_B_C_D_E_F_G_H_I.
func (*OpenconfigNested_A_B_C_D_E_F_G_H_I) ΛEnumTypeMap ¶
func (t *OpenconfigNested_A_B_C_D_E_F_G_H_I) Λ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.
func (*OpenconfigNested_A_B_C_D_E_F_G_H_I) ΛValidate ¶
func (t *OpenconfigNested_A_B_C_D_E_F_G_H_I) ΛValidate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
type OpenconfigNested_A_B_C_D_E_F_G_H_I_J ¶
type OpenconfigNested_A_B_C_D_E_F_G_H_I_J struct {
K *OpenconfigNested_A_B_C_D_E_F_G_H_I_J_K `path:"k" module:"openconfig-nested"`
}
OpenconfigNested_A_B_C_D_E_F_G_H_I_J represents the /openconfig-nested/a/b/c/d/e/f/g/h/i/j YANG schema element.
func (*OpenconfigNested_A_B_C_D_E_F_G_H_I_J) GetK ¶
func (t *OpenconfigNested_A_B_C_D_E_F_G_H_I_J) GetK() *OpenconfigNested_A_B_C_D_E_F_G_H_I_J_K
GetK returns the value of the K struct pointer from OpenconfigNested_A_B_C_D_E_F_G_H_I_J. If the receiver or the field K is nil, nil is returned such that the Get* methods can be safely chained.
func (*OpenconfigNested_A_B_C_D_E_F_G_H_I_J) GetOrCreateK ¶
func (t *OpenconfigNested_A_B_C_D_E_F_G_H_I_J) GetOrCreateK() *OpenconfigNested_A_B_C_D_E_F_G_H_I_J_K
GetOrCreateK retrieves the value of the K field or returns the existing field if it already exists.
func (*OpenconfigNested_A_B_C_D_E_F_G_H_I_J) IsYANGGoStruct ¶
func (*OpenconfigNested_A_B_C_D_E_F_G_H_I_J) IsYANGGoStruct()
IsYANGGoStruct ensures that OpenconfigNested_A_B_C_D_E_F_G_H_I_J implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.
func (*OpenconfigNested_A_B_C_D_E_F_G_H_I_J) PopulateDefaults ¶
func (t *OpenconfigNested_A_B_C_D_E_F_G_H_I_J) PopulateDefaults()
PopulateDefaults recursively populates unset leaf fields in the OpenconfigNested_A_B_C_D_E_F_G_H_I_J with default values as specified in the YANG schema, instantiating any nil container fields.
func (*OpenconfigNested_A_B_C_D_E_F_G_H_I_J) Validate ¶
func (t *OpenconfigNested_A_B_C_D_E_F_G_H_I_J) Validate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
func (*OpenconfigNested_A_B_C_D_E_F_G_H_I_J) ΛBelongingModule ¶
func (*OpenconfigNested_A_B_C_D_E_F_G_H_I_J) ΛBelongingModule() string
ΛBelongingModule returns the name of the module that defines the namespace of OpenconfigNested_A_B_C_D_E_F_G_H_I_J.
func (*OpenconfigNested_A_B_C_D_E_F_G_H_I_J) ΛEnumTypeMap ¶
func (t *OpenconfigNested_A_B_C_D_E_F_G_H_I_J) Λ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.
func (*OpenconfigNested_A_B_C_D_E_F_G_H_I_J) ΛValidate ¶
func (t *OpenconfigNested_A_B_C_D_E_F_G_H_I_J) ΛValidate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
type OpenconfigNested_A_B_C_D_E_F_G_H_I_J_K ¶
type OpenconfigNested_A_B_C_D_E_F_G_H_I_J_K struct {
L *OpenconfigNested_A_B_C_D_E_F_G_H_I_J_K_L `path:"l" module:"openconfig-nested"`
}
OpenconfigNested_A_B_C_D_E_F_G_H_I_J_K represents the /openconfig-nested/a/b/c/d/e/f/g/h/i/j/k YANG schema element.
func (*OpenconfigNested_A_B_C_D_E_F_G_H_I_J_K) GetL ¶
GetL returns the value of the L struct pointer from OpenconfigNested_A_B_C_D_E_F_G_H_I_J_K. If the receiver or the field L is nil, nil is returned such that the Get* methods can be safely chained.
func (*OpenconfigNested_A_B_C_D_E_F_G_H_I_J_K) GetOrCreateL ¶
func (t *OpenconfigNested_A_B_C_D_E_F_G_H_I_J_K) GetOrCreateL() *OpenconfigNested_A_B_C_D_E_F_G_H_I_J_K_L
GetOrCreateL retrieves the value of the L field or returns the existing field if it already exists.
func (*OpenconfigNested_A_B_C_D_E_F_G_H_I_J_K) IsYANGGoStruct ¶
func (*OpenconfigNested_A_B_C_D_E_F_G_H_I_J_K) IsYANGGoStruct()
IsYANGGoStruct ensures that OpenconfigNested_A_B_C_D_E_F_G_H_I_J_K implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.
func (*OpenconfigNested_A_B_C_D_E_F_G_H_I_J_K) PopulateDefaults ¶
func (t *OpenconfigNested_A_B_C_D_E_F_G_H_I_J_K) PopulateDefaults()
PopulateDefaults recursively populates unset leaf fields in the OpenconfigNested_A_B_C_D_E_F_G_H_I_J_K with default values as specified in the YANG schema, instantiating any nil container fields.
func (*OpenconfigNested_A_B_C_D_E_F_G_H_I_J_K) Validate ¶
func (t *OpenconfigNested_A_B_C_D_E_F_G_H_I_J_K) Validate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
func (*OpenconfigNested_A_B_C_D_E_F_G_H_I_J_K) ΛBelongingModule ¶
func (*OpenconfigNested_A_B_C_D_E_F_G_H_I_J_K) ΛBelongingModule() string
ΛBelongingModule returns the name of the module that defines the namespace of OpenconfigNested_A_B_C_D_E_F_G_H_I_J_K.
func (*OpenconfigNested_A_B_C_D_E_F_G_H_I_J_K) ΛEnumTypeMap ¶
func (t *OpenconfigNested_A_B_C_D_E_F_G_H_I_J_K) Λ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.
func (*OpenconfigNested_A_B_C_D_E_F_G_H_I_J_K) ΛValidate ¶
func (t *OpenconfigNested_A_B_C_D_E_F_G_H_I_J_K) ΛValidate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
type OpenconfigNested_A_B_C_D_E_F_G_H_I_J_K_L ¶
type OpenconfigNested_A_B_C_D_E_F_G_H_I_J_K_L struct {
M *OpenconfigNested_A_B_C_D_E_F_G_H_I_J_K_L_M `path:"m" module:"openconfig-nested"`
}
OpenconfigNested_A_B_C_D_E_F_G_H_I_J_K_L represents the /openconfig-nested/a/b/c/d/e/f/g/h/i/j/k/l YANG schema element.
func (*OpenconfigNested_A_B_C_D_E_F_G_H_I_J_K_L) GetM ¶
func (t *OpenconfigNested_A_B_C_D_E_F_G_H_I_J_K_L) GetM() *OpenconfigNested_A_B_C_D_E_F_G_H_I_J_K_L_M
GetM returns the value of the M struct pointer from OpenconfigNested_A_B_C_D_E_F_G_H_I_J_K_L. If the receiver or the field M is nil, nil is returned such that the Get* methods can be safely chained.
func (*OpenconfigNested_A_B_C_D_E_F_G_H_I_J_K_L) GetOrCreateM ¶
func (t *OpenconfigNested_A_B_C_D_E_F_G_H_I_J_K_L) GetOrCreateM() *OpenconfigNested_A_B_C_D_E_F_G_H_I_J_K_L_M
GetOrCreateM retrieves the value of the M field or returns the existing field if it already exists.
func (*OpenconfigNested_A_B_C_D_E_F_G_H_I_J_K_L) IsYANGGoStruct ¶
func (*OpenconfigNested_A_B_C_D_E_F_G_H_I_J_K_L) IsYANGGoStruct()
IsYANGGoStruct ensures that OpenconfigNested_A_B_C_D_E_F_G_H_I_J_K_L implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.
func (*OpenconfigNested_A_B_C_D_E_F_G_H_I_J_K_L) PopulateDefaults ¶
func (t *OpenconfigNested_A_B_C_D_E_F_G_H_I_J_K_L) PopulateDefaults()
PopulateDefaults recursively populates unset leaf fields in the OpenconfigNested_A_B_C_D_E_F_G_H_I_J_K_L with default values as specified in the YANG schema, instantiating any nil container fields.
func (*OpenconfigNested_A_B_C_D_E_F_G_H_I_J_K_L) Validate ¶
func (t *OpenconfigNested_A_B_C_D_E_F_G_H_I_J_K_L) Validate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
func (*OpenconfigNested_A_B_C_D_E_F_G_H_I_J_K_L) ΛBelongingModule ¶
func (*OpenconfigNested_A_B_C_D_E_F_G_H_I_J_K_L) ΛBelongingModule() string
ΛBelongingModule returns the name of the module that defines the namespace of OpenconfigNested_A_B_C_D_E_F_G_H_I_J_K_L.
func (*OpenconfigNested_A_B_C_D_E_F_G_H_I_J_K_L) ΛEnumTypeMap ¶
func (t *OpenconfigNested_A_B_C_D_E_F_G_H_I_J_K_L) Λ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.
func (*OpenconfigNested_A_B_C_D_E_F_G_H_I_J_K_L) ΛValidate ¶
func (t *OpenconfigNested_A_B_C_D_E_F_G_H_I_J_K_L) ΛValidate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
type OpenconfigNested_A_B_C_D_E_F_G_H_I_J_K_L_M ¶
type OpenconfigNested_A_B_C_D_E_F_G_H_I_J_K_L_M struct {
State *OpenconfigNested_A_B_C_D_E_F_G_H_I_J_K_L_M_State `path:"state" module:"openconfig-nested"`
}
OpenconfigNested_A_B_C_D_E_F_G_H_I_J_K_L_M represents the /openconfig-nested/a/b/c/d/e/f/g/h/i/j/k/l/m YANG schema element.
func (*OpenconfigNested_A_B_C_D_E_F_G_H_I_J_K_L_M) GetOrCreateState ¶
func (t *OpenconfigNested_A_B_C_D_E_F_G_H_I_J_K_L_M) GetOrCreateState() *OpenconfigNested_A_B_C_D_E_F_G_H_I_J_K_L_M_State
GetOrCreateState retrieves the value of the State field or returns the existing field if it already exists.
func (*OpenconfigNested_A_B_C_D_E_F_G_H_I_J_K_L_M) GetState ¶
func (t *OpenconfigNested_A_B_C_D_E_F_G_H_I_J_K_L_M) GetState() *OpenconfigNested_A_B_C_D_E_F_G_H_I_J_K_L_M_State
GetState returns the value of the State struct pointer from OpenconfigNested_A_B_C_D_E_F_G_H_I_J_K_L_M. If the receiver or the field State is nil, nil is returned such that the Get* methods can be safely chained.
func (*OpenconfigNested_A_B_C_D_E_F_G_H_I_J_K_L_M) IsYANGGoStruct ¶
func (*OpenconfigNested_A_B_C_D_E_F_G_H_I_J_K_L_M) IsYANGGoStruct()
IsYANGGoStruct ensures that OpenconfigNested_A_B_C_D_E_F_G_H_I_J_K_L_M implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.
func (*OpenconfigNested_A_B_C_D_E_F_G_H_I_J_K_L_M) PopulateDefaults ¶
func (t *OpenconfigNested_A_B_C_D_E_F_G_H_I_J_K_L_M) PopulateDefaults()
PopulateDefaults recursively populates unset leaf fields in the OpenconfigNested_A_B_C_D_E_F_G_H_I_J_K_L_M with default values as specified in the YANG schema, instantiating any nil container fields.
func (*OpenconfigNested_A_B_C_D_E_F_G_H_I_J_K_L_M) Validate ¶
func (t *OpenconfigNested_A_B_C_D_E_F_G_H_I_J_K_L_M) Validate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
func (*OpenconfigNested_A_B_C_D_E_F_G_H_I_J_K_L_M) ΛBelongingModule ¶
func (*OpenconfigNested_A_B_C_D_E_F_G_H_I_J_K_L_M) ΛBelongingModule() string
ΛBelongingModule returns the name of the module that defines the namespace of OpenconfigNested_A_B_C_D_E_F_G_H_I_J_K_L_M.
func (*OpenconfigNested_A_B_C_D_E_F_G_H_I_J_K_L_M) ΛEnumTypeMap ¶
func (t *OpenconfigNested_A_B_C_D_E_F_G_H_I_J_K_L_M) Λ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.
func (*OpenconfigNested_A_B_C_D_E_F_G_H_I_J_K_L_M) ΛValidate ¶
func (t *OpenconfigNested_A_B_C_D_E_F_G_H_I_J_K_L_M) ΛValidate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
type OpenconfigNested_A_B_C_D_E_F_G_H_I_J_K_L_M_State ¶
type OpenconfigNested_A_B_C_D_E_F_G_H_I_J_K_L_M_State struct {
Foo *string `path:"foo" module:"openconfig-nested"`
}
OpenconfigNested_A_B_C_D_E_F_G_H_I_J_K_L_M_State represents the /openconfig-nested/a/b/c/d/e/f/g/h/i/j/k/l/m/state YANG schema element.
func (*OpenconfigNested_A_B_C_D_E_F_G_H_I_J_K_L_M_State) GetFoo ¶
func (t *OpenconfigNested_A_B_C_D_E_F_G_H_I_J_K_L_M_State) GetFoo() string
GetFoo retrieves the value of the leaf Foo from the OpenconfigNested_A_B_C_D_E_F_G_H_I_J_K_L_M_State struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Foo is set, it can safely use t.GetFoo() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Foo == nil' before retrieving the leaf's value.
func (*OpenconfigNested_A_B_C_D_E_F_G_H_I_J_K_L_M_State) IsYANGGoStruct ¶
func (*OpenconfigNested_A_B_C_D_E_F_G_H_I_J_K_L_M_State) IsYANGGoStruct()
IsYANGGoStruct ensures that OpenconfigNested_A_B_C_D_E_F_G_H_I_J_K_L_M_State implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.
func (*OpenconfigNested_A_B_C_D_E_F_G_H_I_J_K_L_M_State) PopulateDefaults ¶
func (t *OpenconfigNested_A_B_C_D_E_F_G_H_I_J_K_L_M_State) PopulateDefaults()
PopulateDefaults recursively populates unset leaf fields in the OpenconfigNested_A_B_C_D_E_F_G_H_I_J_K_L_M_State with default values as specified in the YANG schema, instantiating any nil container fields.
func (*OpenconfigNested_A_B_C_D_E_F_G_H_I_J_K_L_M_State) SetFoo ¶
func (t *OpenconfigNested_A_B_C_D_E_F_G_H_I_J_K_L_M_State) SetFoo(v string)
SetFoo sets the value of the leaf Foo in the OpenconfigNested_A_B_C_D_E_F_G_H_I_J_K_L_M_State struct.
func (*OpenconfigNested_A_B_C_D_E_F_G_H_I_J_K_L_M_State) Validate ¶
func (t *OpenconfigNested_A_B_C_D_E_F_G_H_I_J_K_L_M_State) Validate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
func (*OpenconfigNested_A_B_C_D_E_F_G_H_I_J_K_L_M_State) ΛBelongingModule ¶
func (*OpenconfigNested_A_B_C_D_E_F_G_H_I_J_K_L_M_State) ΛBelongingModule() string
ΛBelongingModule returns the name of the module that defines the namespace of OpenconfigNested_A_B_C_D_E_F_G_H_I_J_K_L_M_State.
func (*OpenconfigNested_A_B_C_D_E_F_G_H_I_J_K_L_M_State) ΛEnumTypeMap ¶
func (t *OpenconfigNested_A_B_C_D_E_F_G_H_I_J_K_L_M_State) Λ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.
func (*OpenconfigNested_A_B_C_D_E_F_G_H_I_J_K_L_M_State) ΛValidate ¶
func (t *OpenconfigNested_A_B_C_D_E_F_G_H_I_J_K_L_M_State) ΛValidate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
type OpenconfigNested_Container ¶
type OpenconfigNested_Container struct {
Enabled *bool `path:"enabled" module:"openconfig-nested"`
}
OpenconfigNested_Container represents the /openconfig-nested/container YANG schema element.
func (*OpenconfigNested_Container) GetEnabled ¶
func (t *OpenconfigNested_Container) GetEnabled() bool
GetEnabled retrieves the value of the leaf Enabled from the OpenconfigNested_Container struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Enabled is set, it can safely use t.GetEnabled() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Enabled == nil' before retrieving the leaf's value.
func (*OpenconfigNested_Container) IsYANGGoStruct ¶
func (*OpenconfigNested_Container) IsYANGGoStruct()
IsYANGGoStruct ensures that OpenconfigNested_Container implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.
func (*OpenconfigNested_Container) PopulateDefaults ¶
func (t *OpenconfigNested_Container) PopulateDefaults()
PopulateDefaults recursively populates unset leaf fields in the OpenconfigNested_Container with default values as specified in the YANG schema, instantiating any nil container fields.
func (*OpenconfigNested_Container) SetEnabled ¶
func (t *OpenconfigNested_Container) SetEnabled(v bool)
SetEnabled sets the value of the leaf Enabled in the OpenconfigNested_Container struct.
func (*OpenconfigNested_Container) Validate ¶
func (t *OpenconfigNested_Container) Validate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
func (*OpenconfigNested_Container) ΛBelongingModule ¶
func (*OpenconfigNested_Container) ΛBelongingModule() string
ΛBelongingModule returns the name of the module that defines the namespace of OpenconfigNested_Container.
func (*OpenconfigNested_Container) ΛEnumTypeMap ¶
func (t *OpenconfigNested_Container) Λ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.
func (*OpenconfigNested_Container) ΛValidate ¶
func (t *OpenconfigNested_Container) ΛValidate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
type OpenconfigSimple_Parent ¶
type OpenconfigSimple_Parent struct {
Child *OpenconfigSimple_Parent_Child `path:"child" module:"openconfig-simple"`
}
OpenconfigSimple_Parent represents the /openconfig-simple/parent YANG schema element.
func (*OpenconfigSimple_Parent) GetChild ¶
func (t *OpenconfigSimple_Parent) GetChild() *OpenconfigSimple_Parent_Child
GetChild returns the value of the Child struct pointer from OpenconfigSimple_Parent. If the receiver or the field Child is nil, nil is returned such that the Get* methods can be safely chained.
func (*OpenconfigSimple_Parent) GetOrCreateChild ¶
func (t *OpenconfigSimple_Parent) GetOrCreateChild() *OpenconfigSimple_Parent_Child
GetOrCreateChild retrieves the value of the Child field or returns the existing field if it already exists.
func (*OpenconfigSimple_Parent) IsYANGGoStruct ¶
func (*OpenconfigSimple_Parent) IsYANGGoStruct()
IsYANGGoStruct ensures that OpenconfigSimple_Parent implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.
func (*OpenconfigSimple_Parent) PopulateDefaults ¶
func (t *OpenconfigSimple_Parent) PopulateDefaults()
PopulateDefaults recursively populates unset leaf fields in the OpenconfigSimple_Parent with default values as specified in the YANG schema, instantiating any nil container fields.
func (*OpenconfigSimple_Parent) Validate ¶
func (t *OpenconfigSimple_Parent) Validate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
func (*OpenconfigSimple_Parent) ΛBelongingModule ¶
func (*OpenconfigSimple_Parent) ΛBelongingModule() string
ΛBelongingModule returns the name of the module that defines the namespace of OpenconfigSimple_Parent.
func (*OpenconfigSimple_Parent) ΛEnumTypeMap ¶
func (t *OpenconfigSimple_Parent) Λ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.
func (*OpenconfigSimple_Parent) ΛValidate ¶
func (t *OpenconfigSimple_Parent) ΛValidate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
type OpenconfigSimple_Parent_Child ¶
type OpenconfigSimple_Parent_Child struct { Config *OpenconfigSimple_Parent_Child_Config `path:"config" module:"openconfig-simple"` State *OpenconfigSimple_Parent_Child_State `path:"state" module:"openconfig-simple"` }
OpenconfigSimple_Parent_Child represents the /openconfig-simple/parent/child YANG schema element.
func (*OpenconfigSimple_Parent_Child) GetConfig ¶
func (t *OpenconfigSimple_Parent_Child) GetConfig() *OpenconfigSimple_Parent_Child_Config
GetConfig returns the value of the Config struct pointer from OpenconfigSimple_Parent_Child. If the receiver or the field Config is nil, nil is returned such that the Get* methods can be safely chained.
func (*OpenconfigSimple_Parent_Child) GetOrCreateConfig ¶
func (t *OpenconfigSimple_Parent_Child) GetOrCreateConfig() *OpenconfigSimple_Parent_Child_Config
GetOrCreateConfig retrieves the value of the Config field or returns the existing field if it already exists.
func (*OpenconfigSimple_Parent_Child) GetOrCreateState ¶
func (t *OpenconfigSimple_Parent_Child) GetOrCreateState() *OpenconfigSimple_Parent_Child_State
GetOrCreateState retrieves the value of the State field or returns the existing field if it already exists.
func (*OpenconfigSimple_Parent_Child) GetState ¶
func (t *OpenconfigSimple_Parent_Child) GetState() *OpenconfigSimple_Parent_Child_State
GetState returns the value of the State struct pointer from OpenconfigSimple_Parent_Child. If the receiver or the field State is nil, nil is returned such that the Get* methods can be safely chained.
func (*OpenconfigSimple_Parent_Child) IsYANGGoStruct ¶
func (*OpenconfigSimple_Parent_Child) IsYANGGoStruct()
IsYANGGoStruct ensures that OpenconfigSimple_Parent_Child implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.
func (*OpenconfigSimple_Parent_Child) PopulateDefaults ¶
func (t *OpenconfigSimple_Parent_Child) PopulateDefaults()
PopulateDefaults recursively populates unset leaf fields in the OpenconfigSimple_Parent_Child with default values as specified in the YANG schema, instantiating any nil container fields.
func (*OpenconfigSimple_Parent_Child) Validate ¶
func (t *OpenconfigSimple_Parent_Child) Validate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
func (*OpenconfigSimple_Parent_Child) ΛBelongingModule ¶
func (*OpenconfigSimple_Parent_Child) ΛBelongingModule() string
ΛBelongingModule returns the name of the module that defines the namespace of OpenconfigSimple_Parent_Child.
func (*OpenconfigSimple_Parent_Child) ΛEnumTypeMap ¶
func (t *OpenconfigSimple_Parent_Child) Λ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.
func (*OpenconfigSimple_Parent_Child) ΛValidate ¶
func (t *OpenconfigSimple_Parent_Child) ΛValidate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
type OpenconfigSimple_Parent_Child_Config ¶
type OpenconfigSimple_Parent_Child_Config struct { Five Binary `path:"five" module:"openconfig-simple"` Four Binary `path:"four" module:"openconfig-simple"` One *string `path:"one" module:"openconfig-simple"` Six []Binary `path:"six" module:"openconfig-simple"` Three E_Simple_Parent_Child_Config_Three `path:"three" module:"openconfig-simple"` }
OpenconfigSimple_Parent_Child_Config represents the /openconfig-simple/parent/child/config YANG schema element.
func (*OpenconfigSimple_Parent_Child_Config) GetFive ¶
func (t *OpenconfigSimple_Parent_Child_Config) GetFive() Binary
GetFive retrieves the value of the leaf Five from the OpenconfigSimple_Parent_Child_Config struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Five is set, it can safely use t.GetFive() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Five == nil' before retrieving the leaf's value.
func (*OpenconfigSimple_Parent_Child_Config) GetFour ¶
func (t *OpenconfigSimple_Parent_Child_Config) GetFour() Binary
GetFour retrieves the value of the leaf Four from the OpenconfigSimple_Parent_Child_Config struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Four is set, it can safely use t.GetFour() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Four == nil' before retrieving the leaf's value.
func (*OpenconfigSimple_Parent_Child_Config) GetOne ¶
func (t *OpenconfigSimple_Parent_Child_Config) GetOne() string
GetOne retrieves the value of the leaf One from the OpenconfigSimple_Parent_Child_Config struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if One is set, it can safely use t.GetOne() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.One == nil' before retrieving the leaf's value.
func (*OpenconfigSimple_Parent_Child_Config) GetSix ¶
func (t *OpenconfigSimple_Parent_Child_Config) GetSix() []Binary
GetSix retrieves the value of the leaf Six from the OpenconfigSimple_Parent_Child_Config struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Six is set, it can safely use t.GetSix() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Six == nil' before retrieving the leaf's value.
func (*OpenconfigSimple_Parent_Child_Config) GetThree ¶
func (t *OpenconfigSimple_Parent_Child_Config) GetThree() E_Simple_Parent_Child_Config_Three
GetThree retrieves the value of the leaf Three from the OpenconfigSimple_Parent_Child_Config struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Three is set, it can safely use t.GetThree() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Three == nil' before retrieving the leaf's value.
func (*OpenconfigSimple_Parent_Child_Config) IsYANGGoStruct ¶
func (*OpenconfigSimple_Parent_Child_Config) IsYANGGoStruct()
IsYANGGoStruct ensures that OpenconfigSimple_Parent_Child_Config implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.
func (*OpenconfigSimple_Parent_Child_Config) PopulateDefaults ¶
func (t *OpenconfigSimple_Parent_Child_Config) PopulateDefaults()
PopulateDefaults recursively populates unset leaf fields in the OpenconfigSimple_Parent_Child_Config with default values as specified in the YANG schema, instantiating any nil container fields.
func (*OpenconfigSimple_Parent_Child_Config) SetFive ¶
func (t *OpenconfigSimple_Parent_Child_Config) SetFive(v Binary)
SetFive sets the value of the leaf Five in the OpenconfigSimple_Parent_Child_Config struct.
func (*OpenconfigSimple_Parent_Child_Config) SetFour ¶
func (t *OpenconfigSimple_Parent_Child_Config) SetFour(v Binary)
SetFour sets the value of the leaf Four in the OpenconfigSimple_Parent_Child_Config struct.
func (*OpenconfigSimple_Parent_Child_Config) SetOne ¶
func (t *OpenconfigSimple_Parent_Child_Config) SetOne(v string)
SetOne sets the value of the leaf One in the OpenconfigSimple_Parent_Child_Config struct.
func (*OpenconfigSimple_Parent_Child_Config) SetSix ¶
func (t *OpenconfigSimple_Parent_Child_Config) SetSix(v []Binary)
SetSix sets the value of the leaf Six in the OpenconfigSimple_Parent_Child_Config struct.
func (*OpenconfigSimple_Parent_Child_Config) SetThree ¶
func (t *OpenconfigSimple_Parent_Child_Config) SetThree(v E_Simple_Parent_Child_Config_Three)
SetThree sets the value of the leaf Three in the OpenconfigSimple_Parent_Child_Config struct.
func (*OpenconfigSimple_Parent_Child_Config) Validate ¶
func (t *OpenconfigSimple_Parent_Child_Config) Validate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
func (*OpenconfigSimple_Parent_Child_Config) ΛBelongingModule ¶
func (*OpenconfigSimple_Parent_Child_Config) ΛBelongingModule() string
ΛBelongingModule returns the name of the module that defines the namespace of OpenconfigSimple_Parent_Child_Config.
func (*OpenconfigSimple_Parent_Child_Config) ΛEnumTypeMap ¶
func (t *OpenconfigSimple_Parent_Child_Config) Λ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.
func (*OpenconfigSimple_Parent_Child_Config) ΛValidate ¶
func (t *OpenconfigSimple_Parent_Child_Config) ΛValidate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
type OpenconfigSimple_Parent_Child_State ¶
type OpenconfigSimple_Parent_Child_State struct { Five Binary `path:"five" module:"openconfig-simple"` Four Binary `path:"four" module:"openconfig-simple"` One *string `path:"one" module:"openconfig-simple"` Six []Binary `path:"six" module:"openconfig-simple"` Three E_Simple_Parent_Child_Config_Three `path:"three" module:"openconfig-simple"` Two *string `path:"two" module:"openconfig-simple"` }
OpenconfigSimple_Parent_Child_State represents the /openconfig-simple/parent/child/state YANG schema element.
func (*OpenconfigSimple_Parent_Child_State) GetFive ¶
func (t *OpenconfigSimple_Parent_Child_State) GetFive() Binary
GetFive retrieves the value of the leaf Five from the OpenconfigSimple_Parent_Child_State struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Five is set, it can safely use t.GetFive() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Five == nil' before retrieving the leaf's value.
func (*OpenconfigSimple_Parent_Child_State) GetFour ¶
func (t *OpenconfigSimple_Parent_Child_State) GetFour() Binary
GetFour retrieves the value of the leaf Four from the OpenconfigSimple_Parent_Child_State struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Four is set, it can safely use t.GetFour() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Four == nil' before retrieving the leaf's value.
func (*OpenconfigSimple_Parent_Child_State) GetOne ¶
func (t *OpenconfigSimple_Parent_Child_State) GetOne() string
GetOne retrieves the value of the leaf One from the OpenconfigSimple_Parent_Child_State struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if One is set, it can safely use t.GetOne() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.One == nil' before retrieving the leaf's value.
func (*OpenconfigSimple_Parent_Child_State) GetSix ¶
func (t *OpenconfigSimple_Parent_Child_State) GetSix() []Binary
GetSix retrieves the value of the leaf Six from the OpenconfigSimple_Parent_Child_State struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Six is set, it can safely use t.GetSix() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Six == nil' before retrieving the leaf's value.
func (*OpenconfigSimple_Parent_Child_State) GetThree ¶
func (t *OpenconfigSimple_Parent_Child_State) GetThree() E_Simple_Parent_Child_Config_Three
GetThree retrieves the value of the leaf Three from the OpenconfigSimple_Parent_Child_State struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Three is set, it can safely use t.GetThree() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Three == nil' before retrieving the leaf's value.
func (*OpenconfigSimple_Parent_Child_State) GetTwo ¶
func (t *OpenconfigSimple_Parent_Child_State) GetTwo() string
GetTwo retrieves the value of the leaf Two from the OpenconfigSimple_Parent_Child_State struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Two is set, it can safely use t.GetTwo() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Two == nil' before retrieving the leaf's value.
func (*OpenconfigSimple_Parent_Child_State) IsYANGGoStruct ¶
func (*OpenconfigSimple_Parent_Child_State) IsYANGGoStruct()
IsYANGGoStruct ensures that OpenconfigSimple_Parent_Child_State implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.
func (*OpenconfigSimple_Parent_Child_State) PopulateDefaults ¶
func (t *OpenconfigSimple_Parent_Child_State) PopulateDefaults()
PopulateDefaults recursively populates unset leaf fields in the OpenconfigSimple_Parent_Child_State with default values as specified in the YANG schema, instantiating any nil container fields.
func (*OpenconfigSimple_Parent_Child_State) SetFive ¶
func (t *OpenconfigSimple_Parent_Child_State) SetFive(v Binary)
SetFive sets the value of the leaf Five in the OpenconfigSimple_Parent_Child_State struct.
func (*OpenconfigSimple_Parent_Child_State) SetFour ¶
func (t *OpenconfigSimple_Parent_Child_State) SetFour(v Binary)
SetFour sets the value of the leaf Four in the OpenconfigSimple_Parent_Child_State struct.
func (*OpenconfigSimple_Parent_Child_State) SetOne ¶
func (t *OpenconfigSimple_Parent_Child_State) SetOne(v string)
SetOne sets the value of the leaf One in the OpenconfigSimple_Parent_Child_State struct.
func (*OpenconfigSimple_Parent_Child_State) SetSix ¶
func (t *OpenconfigSimple_Parent_Child_State) SetSix(v []Binary)
SetSix sets the value of the leaf Six in the OpenconfigSimple_Parent_Child_State struct.
func (*OpenconfigSimple_Parent_Child_State) SetThree ¶
func (t *OpenconfigSimple_Parent_Child_State) SetThree(v E_Simple_Parent_Child_Config_Three)
SetThree sets the value of the leaf Three in the OpenconfigSimple_Parent_Child_State struct.
func (*OpenconfigSimple_Parent_Child_State) SetTwo ¶
func (t *OpenconfigSimple_Parent_Child_State) SetTwo(v string)
SetTwo sets the value of the leaf Two in the OpenconfigSimple_Parent_Child_State struct.
func (*OpenconfigSimple_Parent_Child_State) Validate ¶
func (t *OpenconfigSimple_Parent_Child_State) Validate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
func (*OpenconfigSimple_Parent_Child_State) ΛBelongingModule ¶
func (*OpenconfigSimple_Parent_Child_State) ΛBelongingModule() string
ΛBelongingModule returns the name of the module that defines the namespace of OpenconfigSimple_Parent_Child_State.
func (*OpenconfigSimple_Parent_Child_State) ΛEnumTypeMap ¶
func (t *OpenconfigSimple_Parent_Child_State) Λ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.
func (*OpenconfigSimple_Parent_Child_State) ΛValidate ¶
func (t *OpenconfigSimple_Parent_Child_State) ΛValidate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
type OpenconfigSimple_RemoteContainer ¶
type OpenconfigSimple_RemoteContainer struct { Config *OpenconfigSimple_RemoteContainer_Config `path:"config" module:"openconfig-simple"` State *OpenconfigSimple_RemoteContainer_State `path:"state" module:"openconfig-simple"` }
OpenconfigSimple_RemoteContainer represents the /openconfig-simple/remote-container YANG schema element.
func (*OpenconfigSimple_RemoteContainer) GetConfig ¶
func (t *OpenconfigSimple_RemoteContainer) GetConfig() *OpenconfigSimple_RemoteContainer_Config
GetConfig returns the value of the Config struct pointer from OpenconfigSimple_RemoteContainer. If the receiver or the field Config is nil, nil is returned such that the Get* methods can be safely chained.
func (*OpenconfigSimple_RemoteContainer) GetOrCreateConfig ¶
func (t *OpenconfigSimple_RemoteContainer) GetOrCreateConfig() *OpenconfigSimple_RemoteContainer_Config
GetOrCreateConfig retrieves the value of the Config field or returns the existing field if it already exists.
func (*OpenconfigSimple_RemoteContainer) GetOrCreateState ¶
func (t *OpenconfigSimple_RemoteContainer) GetOrCreateState() *OpenconfigSimple_RemoteContainer_State
GetOrCreateState retrieves the value of the State field or returns the existing field if it already exists.
func (*OpenconfigSimple_RemoteContainer) GetState ¶
func (t *OpenconfigSimple_RemoteContainer) GetState() *OpenconfigSimple_RemoteContainer_State
GetState returns the value of the State struct pointer from OpenconfigSimple_RemoteContainer. If the receiver or the field State is nil, nil is returned such that the Get* methods can be safely chained.
func (*OpenconfigSimple_RemoteContainer) IsYANGGoStruct ¶
func (*OpenconfigSimple_RemoteContainer) IsYANGGoStruct()
IsYANGGoStruct ensures that OpenconfigSimple_RemoteContainer implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.
func (*OpenconfigSimple_RemoteContainer) PopulateDefaults ¶
func (t *OpenconfigSimple_RemoteContainer) PopulateDefaults()
PopulateDefaults recursively populates unset leaf fields in the OpenconfigSimple_RemoteContainer with default values as specified in the YANG schema, instantiating any nil container fields.
func (*OpenconfigSimple_RemoteContainer) Validate ¶
func (t *OpenconfigSimple_RemoteContainer) Validate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
func (*OpenconfigSimple_RemoteContainer) ΛBelongingModule ¶
func (*OpenconfigSimple_RemoteContainer) ΛBelongingModule() string
ΛBelongingModule returns the name of the module that defines the namespace of OpenconfigSimple_RemoteContainer.
func (*OpenconfigSimple_RemoteContainer) ΛEnumTypeMap ¶
func (t *OpenconfigSimple_RemoteContainer) Λ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.
func (*OpenconfigSimple_RemoteContainer) ΛValidate ¶
func (t *OpenconfigSimple_RemoteContainer) ΛValidate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
type OpenconfigSimple_RemoteContainer_Config ¶
type OpenconfigSimple_RemoteContainer_Config struct {
ALeaf *string `path:"a-leaf" module:"openconfig-simple"`
}
OpenconfigSimple_RemoteContainer_Config represents the /openconfig-simple/remote-container/config YANG schema element.
func (*OpenconfigSimple_RemoteContainer_Config) GetALeaf ¶
func (t *OpenconfigSimple_RemoteContainer_Config) GetALeaf() string
GetALeaf retrieves the value of the leaf ALeaf from the OpenconfigSimple_RemoteContainer_Config struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if ALeaf is set, it can safely use t.GetALeaf() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.ALeaf == nil' before retrieving the leaf's value.
func (*OpenconfigSimple_RemoteContainer_Config) IsYANGGoStruct ¶
func (*OpenconfigSimple_RemoteContainer_Config) IsYANGGoStruct()
IsYANGGoStruct ensures that OpenconfigSimple_RemoteContainer_Config implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.
func (*OpenconfigSimple_RemoteContainer_Config) PopulateDefaults ¶
func (t *OpenconfigSimple_RemoteContainer_Config) PopulateDefaults()
PopulateDefaults recursively populates unset leaf fields in the OpenconfigSimple_RemoteContainer_Config with default values as specified in the YANG schema, instantiating any nil container fields.
func (*OpenconfigSimple_RemoteContainer_Config) SetALeaf ¶
func (t *OpenconfigSimple_RemoteContainer_Config) SetALeaf(v string)
SetALeaf sets the value of the leaf ALeaf in the OpenconfigSimple_RemoteContainer_Config struct.
func (*OpenconfigSimple_RemoteContainer_Config) Validate ¶
func (t *OpenconfigSimple_RemoteContainer_Config) Validate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
func (*OpenconfigSimple_RemoteContainer_Config) ΛBelongingModule ¶
func (*OpenconfigSimple_RemoteContainer_Config) ΛBelongingModule() string
ΛBelongingModule returns the name of the module that defines the namespace of OpenconfigSimple_RemoteContainer_Config.
func (*OpenconfigSimple_RemoteContainer_Config) ΛEnumTypeMap ¶
func (t *OpenconfigSimple_RemoteContainer_Config) Λ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.
func (*OpenconfigSimple_RemoteContainer_Config) ΛValidate ¶
func (t *OpenconfigSimple_RemoteContainer_Config) ΛValidate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
type OpenconfigSimple_RemoteContainer_State ¶
type OpenconfigSimple_RemoteContainer_State struct {
ALeaf *string `path:"a-leaf" module:"openconfig-simple"`
}
OpenconfigSimple_RemoteContainer_State represents the /openconfig-simple/remote-container/state YANG schema element.
func (*OpenconfigSimple_RemoteContainer_State) GetALeaf ¶
func (t *OpenconfigSimple_RemoteContainer_State) GetALeaf() string
GetALeaf retrieves the value of the leaf ALeaf from the OpenconfigSimple_RemoteContainer_State struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if ALeaf is set, it can safely use t.GetALeaf() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.ALeaf == nil' before retrieving the leaf's value.
func (*OpenconfigSimple_RemoteContainer_State) IsYANGGoStruct ¶
func (*OpenconfigSimple_RemoteContainer_State) IsYANGGoStruct()
IsYANGGoStruct ensures that OpenconfigSimple_RemoteContainer_State implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.
func (*OpenconfigSimple_RemoteContainer_State) PopulateDefaults ¶
func (t *OpenconfigSimple_RemoteContainer_State) PopulateDefaults()
PopulateDefaults recursively populates unset leaf fields in the OpenconfigSimple_RemoteContainer_State with default values as specified in the YANG schema, instantiating any nil container fields.
func (*OpenconfigSimple_RemoteContainer_State) SetALeaf ¶
func (t *OpenconfigSimple_RemoteContainer_State) SetALeaf(v string)
SetALeaf sets the value of the leaf ALeaf in the OpenconfigSimple_RemoteContainer_State struct.
func (*OpenconfigSimple_RemoteContainer_State) Validate ¶
func (t *OpenconfigSimple_RemoteContainer_State) Validate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
func (*OpenconfigSimple_RemoteContainer_State) ΛBelongingModule ¶
func (*OpenconfigSimple_RemoteContainer_State) ΛBelongingModule() string
ΛBelongingModule returns the name of the module that defines the namespace of OpenconfigSimple_RemoteContainer_State.
func (*OpenconfigSimple_RemoteContainer_State) ΛEnumTypeMap ¶
func (t *OpenconfigSimple_RemoteContainer_State) Λ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.
func (*OpenconfigSimple_RemoteContainer_State) ΛValidate ¶
func (t *OpenconfigSimple_RemoteContainer_State) ΛValidate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
type OpenconfigWithlistval_Model ¶
type OpenconfigWithlistval_Model struct { A *OpenconfigWithlistval_Model_A `path:"a" module:"openconfig-withlistval"` B *OpenconfigWithlistval_Model_B `path:"b" module:"openconfig-withlistval"` C *OpenconfigWithlistval_Model_C `path:"c" module:"openconfig-withlistval"` }
OpenconfigWithlistval_Model represents the /openconfig-withlistval/model YANG schema element.
func (*OpenconfigWithlistval_Model) GetA ¶
func (t *OpenconfigWithlistval_Model) GetA() *OpenconfigWithlistval_Model_A
GetA returns the value of the A struct pointer from OpenconfigWithlistval_Model. If the receiver or the field A is nil, nil is returned such that the Get* methods can be safely chained.
func (*OpenconfigWithlistval_Model) GetB ¶
func (t *OpenconfigWithlistval_Model) GetB() *OpenconfigWithlistval_Model_B
GetB returns the value of the B struct pointer from OpenconfigWithlistval_Model. If the receiver or the field B is nil, nil is returned such that the Get* methods can be safely chained.
func (*OpenconfigWithlistval_Model) GetC ¶
func (t *OpenconfigWithlistval_Model) GetC() *OpenconfigWithlistval_Model_C
GetC returns the value of the C struct pointer from OpenconfigWithlistval_Model. If the receiver or the field C is nil, nil is returned such that the Get* methods can be safely chained.
func (*OpenconfigWithlistval_Model) GetOrCreateA ¶
func (t *OpenconfigWithlistval_Model) GetOrCreateA() *OpenconfigWithlistval_Model_A
GetOrCreateA retrieves the value of the A field or returns the existing field if it already exists.
func (*OpenconfigWithlistval_Model) GetOrCreateB ¶
func (t *OpenconfigWithlistval_Model) GetOrCreateB() *OpenconfigWithlistval_Model_B
GetOrCreateB retrieves the value of the B field or returns the existing field if it already exists.
func (*OpenconfigWithlistval_Model) GetOrCreateC ¶
func (t *OpenconfigWithlistval_Model) GetOrCreateC() *OpenconfigWithlistval_Model_C
GetOrCreateC retrieves the value of the C field or returns the existing field if it already exists.
func (*OpenconfigWithlistval_Model) IsYANGGoStruct ¶
func (*OpenconfigWithlistval_Model) IsYANGGoStruct()
IsYANGGoStruct ensures that OpenconfigWithlistval_Model implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.
func (*OpenconfigWithlistval_Model) PopulateDefaults ¶
func (t *OpenconfigWithlistval_Model) PopulateDefaults()
PopulateDefaults recursively populates unset leaf fields in the OpenconfigWithlistval_Model with default values as specified in the YANG schema, instantiating any nil container fields.
func (*OpenconfigWithlistval_Model) Validate ¶
func (t *OpenconfigWithlistval_Model) Validate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
func (*OpenconfigWithlistval_Model) ΛBelongingModule ¶
func (*OpenconfigWithlistval_Model) ΛBelongingModule() string
ΛBelongingModule returns the name of the module that defines the namespace of OpenconfigWithlistval_Model.
func (*OpenconfigWithlistval_Model) ΛEnumTypeMap ¶
func (t *OpenconfigWithlistval_Model) Λ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.
func (*OpenconfigWithlistval_Model) ΛValidate ¶
func (t *OpenconfigWithlistval_Model) ΛValidate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
type OpenconfigWithlistval_Model_A ¶
type OpenconfigWithlistval_Model_A struct {
SingleKey map[string]*OpenconfigWithlistval_Model_A_SingleKey `path:"single-key" module:"openconfig-withlistval"`
}
OpenconfigWithlistval_Model_A represents the /openconfig-withlistval/model/a YANG schema element.
func (*OpenconfigWithlistval_Model_A) AppendSingleKey ¶
func (t *OpenconfigWithlistval_Model_A) AppendSingleKey(v *OpenconfigWithlistval_Model_A_SingleKey) error
AppendSingleKey appends the supplied OpenconfigWithlistval_Model_A_SingleKey struct to the list SingleKey of OpenconfigWithlistval_Model_A. If the key value(s) specified in the supplied OpenconfigWithlistval_Model_A_SingleKey already exist in the list, an error is returned.
func (*OpenconfigWithlistval_Model_A) DeleteSingleKey ¶
func (t *OpenconfigWithlistval_Model_A) DeleteSingleKey(Key string)
DeleteSingleKey deletes the value with the specified keys from the receiver OpenconfigWithlistval_Model_A. If there is no such element, the function is a no-op.
func (*OpenconfigWithlistval_Model_A) GetOrCreateSingleKey ¶
func (t *OpenconfigWithlistval_Model_A) GetOrCreateSingleKey(Key string) *OpenconfigWithlistval_Model_A_SingleKey
GetOrCreateSingleKey retrieves the value with the specified keys from the receiver OpenconfigWithlistval_Model_A. If the entry does not exist, then it is created. It returns the existing or new list member.
func (*OpenconfigWithlistval_Model_A) GetSingleKey ¶
func (t *OpenconfigWithlistval_Model_A) GetSingleKey(Key string) *OpenconfigWithlistval_Model_A_SingleKey
GetSingleKey retrieves the value with the specified key from the SingleKey map field of OpenconfigWithlistval_Model_A. If the receiver is nil, or the specified key is not present in the list, nil is returned such that Get* methods may be safely chained.
func (*OpenconfigWithlistval_Model_A) IsYANGGoStruct ¶
func (*OpenconfigWithlistval_Model_A) IsYANGGoStruct()
IsYANGGoStruct ensures that OpenconfigWithlistval_Model_A implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.
func (*OpenconfigWithlistval_Model_A) NewSingleKey ¶
func (t *OpenconfigWithlistval_Model_A) NewSingleKey(Key string) (*OpenconfigWithlistval_Model_A_SingleKey, error)
NewSingleKey creates a new entry in the SingleKey list of the OpenconfigWithlistval_Model_A struct. The keys of the list are populated from the input arguments.
func (*OpenconfigWithlistval_Model_A) PopulateDefaults ¶
func (t *OpenconfigWithlistval_Model_A) PopulateDefaults()
PopulateDefaults recursively populates unset leaf fields in the OpenconfigWithlistval_Model_A with default values as specified in the YANG schema, instantiating any nil container fields.
func (*OpenconfigWithlistval_Model_A) RenameSingleKey ¶ added in v0.10.0
func (t *OpenconfigWithlistval_Model_A) RenameSingleKey(oldK, newK string) error
RenameSingleKey renames an entry in the list SingleKey within the OpenconfigWithlistval_Model_A struct. The entry with key oldK is renamed to newK updating the key within the value.
func (*OpenconfigWithlistval_Model_A) Validate ¶
func (t *OpenconfigWithlistval_Model_A) Validate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
func (*OpenconfigWithlistval_Model_A) ΛBelongingModule ¶
func (*OpenconfigWithlistval_Model_A) ΛBelongingModule() string
ΛBelongingModule returns the name of the module that defines the namespace of OpenconfigWithlistval_Model_A.
func (*OpenconfigWithlistval_Model_A) ΛEnumTypeMap ¶
func (t *OpenconfigWithlistval_Model_A) Λ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.
func (*OpenconfigWithlistval_Model_A) ΛValidate ¶
func (t *OpenconfigWithlistval_Model_A) ΛValidate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
type OpenconfigWithlistval_Model_A_SingleKey ¶
type OpenconfigWithlistval_Model_A_SingleKey struct { Config *OpenconfigWithlistval_Model_A_SingleKey_Config `path:"config" module:"openconfig-withlistval"` InnerA *OpenconfigWithlistval_Model_A_SingleKey_InnerA `path:"inner-a" module:"openconfig-withlistval"` Key *string `path:"key" module:"openconfig-withlistval"` OrderedLists *OpenconfigWithlistval_Model_A_SingleKey_OrderedLists `path:"ordered-lists" module:"openconfig-withlistval"` State *OpenconfigWithlistval_Model_A_SingleKey_State `path:"state" module:"openconfig-withlistval"` }
OpenconfigWithlistval_Model_A_SingleKey represents the /openconfig-withlistval/model/a/single-key YANG schema element.
func (*OpenconfigWithlistval_Model_A_SingleKey) GetConfig ¶
func (t *OpenconfigWithlistval_Model_A_SingleKey) GetConfig() *OpenconfigWithlistval_Model_A_SingleKey_Config
GetConfig returns the value of the Config struct pointer from OpenconfigWithlistval_Model_A_SingleKey. If the receiver or the field Config is nil, nil is returned such that the Get* methods can be safely chained.
func (*OpenconfigWithlistval_Model_A_SingleKey) GetInnerA ¶
func (t *OpenconfigWithlistval_Model_A_SingleKey) GetInnerA() *OpenconfigWithlistval_Model_A_SingleKey_InnerA
GetInnerA returns the value of the InnerA struct pointer from OpenconfigWithlistval_Model_A_SingleKey. If the receiver or the field InnerA is nil, nil is returned such that the Get* methods can be safely chained.
func (*OpenconfigWithlistval_Model_A_SingleKey) GetKey ¶
func (t *OpenconfigWithlistval_Model_A_SingleKey) GetKey() string
GetKey retrieves the value of the leaf Key from the OpenconfigWithlistval_Model_A_SingleKey struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Key is set, it can safely use t.GetKey() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Key == nil' before retrieving the leaf's value.
func (*OpenconfigWithlistval_Model_A_SingleKey) GetOrCreateConfig ¶
func (t *OpenconfigWithlistval_Model_A_SingleKey) GetOrCreateConfig() *OpenconfigWithlistval_Model_A_SingleKey_Config
GetOrCreateConfig retrieves the value of the Config field or returns the existing field if it already exists.
func (*OpenconfigWithlistval_Model_A_SingleKey) GetOrCreateInnerA ¶
func (t *OpenconfigWithlistval_Model_A_SingleKey) GetOrCreateInnerA() *OpenconfigWithlistval_Model_A_SingleKey_InnerA
GetOrCreateInnerA retrieves the value of the InnerA field or returns the existing field if it already exists.
func (*OpenconfigWithlistval_Model_A_SingleKey) GetOrCreateOrderedLists ¶
func (t *OpenconfigWithlistval_Model_A_SingleKey) GetOrCreateOrderedLists() *OpenconfigWithlistval_Model_A_SingleKey_OrderedLists
GetOrCreateOrderedLists retrieves the value of the OrderedLists field or returns the existing field if it already exists.
func (*OpenconfigWithlistval_Model_A_SingleKey) GetOrCreateState ¶
func (t *OpenconfigWithlistval_Model_A_SingleKey) GetOrCreateState() *OpenconfigWithlistval_Model_A_SingleKey_State
GetOrCreateState retrieves the value of the State field or returns the existing field if it already exists.
func (*OpenconfigWithlistval_Model_A_SingleKey) GetOrderedLists ¶
func (t *OpenconfigWithlistval_Model_A_SingleKey) GetOrderedLists() *OpenconfigWithlistval_Model_A_SingleKey_OrderedLists
GetOrderedLists returns the value of the OrderedLists struct pointer from OpenconfigWithlistval_Model_A_SingleKey. If the receiver or the field OrderedLists is nil, nil is returned such that the Get* methods can be safely chained.
func (*OpenconfigWithlistval_Model_A_SingleKey) GetState ¶
func (t *OpenconfigWithlistval_Model_A_SingleKey) GetState() *OpenconfigWithlistval_Model_A_SingleKey_State
GetState returns the value of the State struct pointer from OpenconfigWithlistval_Model_A_SingleKey. If the receiver or the field State is nil, nil is returned such that the Get* methods can be safely chained.
func (*OpenconfigWithlistval_Model_A_SingleKey) IsYANGGoStruct ¶
func (*OpenconfigWithlistval_Model_A_SingleKey) IsYANGGoStruct()
IsYANGGoStruct ensures that OpenconfigWithlistval_Model_A_SingleKey implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.
func (*OpenconfigWithlistval_Model_A_SingleKey) PopulateDefaults ¶
func (t *OpenconfigWithlistval_Model_A_SingleKey) PopulateDefaults()
PopulateDefaults recursively populates unset leaf fields in the OpenconfigWithlistval_Model_A_SingleKey with default values as specified in the YANG schema, instantiating any nil container fields.
func (*OpenconfigWithlistval_Model_A_SingleKey) SetKey ¶
func (t *OpenconfigWithlistval_Model_A_SingleKey) SetKey(v string)
SetKey sets the value of the leaf Key in the OpenconfigWithlistval_Model_A_SingleKey struct.
func (*OpenconfigWithlistval_Model_A_SingleKey) Validate ¶
func (t *OpenconfigWithlistval_Model_A_SingleKey) Validate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
func (*OpenconfigWithlistval_Model_A_SingleKey) ΛBelongingModule ¶
func (*OpenconfigWithlistval_Model_A_SingleKey) ΛBelongingModule() string
ΛBelongingModule returns the name of the module that defines the namespace of OpenconfigWithlistval_Model_A_SingleKey.
func (*OpenconfigWithlistval_Model_A_SingleKey) ΛEnumTypeMap ¶
func (t *OpenconfigWithlistval_Model_A_SingleKey) Λ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.
func (*OpenconfigWithlistval_Model_A_SingleKey) ΛListKeyMap ¶
func (t *OpenconfigWithlistval_Model_A_SingleKey) ΛListKeyMap() (map[string]interface{}, error)
ΛListKeyMap returns the keys of the OpenconfigWithlistval_Model_A_SingleKey struct, which is a YANG list entry.
func (*OpenconfigWithlistval_Model_A_SingleKey) ΛValidate ¶
func (t *OpenconfigWithlistval_Model_A_SingleKey) ΛValidate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
type OpenconfigWithlistval_Model_A_SingleKey_Config ¶
type OpenconfigWithlistval_Model_A_SingleKey_Config struct { Key *string `path:"key" module:"openconfig-withlistval"` Value *int64 `path:"value" module:"openconfig-withlistval"` }
OpenconfigWithlistval_Model_A_SingleKey_Config represents the /openconfig-withlistval/model/a/single-key/config YANG schema element.
func (*OpenconfigWithlistval_Model_A_SingleKey_Config) GetKey ¶
func (t *OpenconfigWithlistval_Model_A_SingleKey_Config) GetKey() string
GetKey retrieves the value of the leaf Key from the OpenconfigWithlistval_Model_A_SingleKey_Config struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Key is set, it can safely use t.GetKey() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Key == nil' before retrieving the leaf's value.
func (*OpenconfigWithlistval_Model_A_SingleKey_Config) GetValue ¶
func (t *OpenconfigWithlistval_Model_A_SingleKey_Config) GetValue() int64
GetValue retrieves the value of the leaf Value from the OpenconfigWithlistval_Model_A_SingleKey_Config struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Value is set, it can safely use t.GetValue() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Value == nil' before retrieving the leaf's value.
func (*OpenconfigWithlistval_Model_A_SingleKey_Config) IsYANGGoStruct ¶
func (*OpenconfigWithlistval_Model_A_SingleKey_Config) IsYANGGoStruct()
IsYANGGoStruct ensures that OpenconfigWithlistval_Model_A_SingleKey_Config implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.
func (*OpenconfigWithlistval_Model_A_SingleKey_Config) PopulateDefaults ¶
func (t *OpenconfigWithlistval_Model_A_SingleKey_Config) PopulateDefaults()
PopulateDefaults recursively populates unset leaf fields in the OpenconfigWithlistval_Model_A_SingleKey_Config with default values as specified in the YANG schema, instantiating any nil container fields.
func (*OpenconfigWithlistval_Model_A_SingleKey_Config) SetKey ¶
func (t *OpenconfigWithlistval_Model_A_SingleKey_Config) SetKey(v string)
SetKey sets the value of the leaf Key in the OpenconfigWithlistval_Model_A_SingleKey_Config struct.
func (*OpenconfigWithlistval_Model_A_SingleKey_Config) SetValue ¶
func (t *OpenconfigWithlistval_Model_A_SingleKey_Config) SetValue(v int64)
SetValue sets the value of the leaf Value in the OpenconfigWithlistval_Model_A_SingleKey_Config struct.
func (*OpenconfigWithlistval_Model_A_SingleKey_Config) Validate ¶
func (t *OpenconfigWithlistval_Model_A_SingleKey_Config) Validate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
func (*OpenconfigWithlistval_Model_A_SingleKey_Config) ΛBelongingModule ¶
func (*OpenconfigWithlistval_Model_A_SingleKey_Config) ΛBelongingModule() string
ΛBelongingModule returns the name of the module that defines the namespace of OpenconfigWithlistval_Model_A_SingleKey_Config.
func (*OpenconfigWithlistval_Model_A_SingleKey_Config) ΛEnumTypeMap ¶
func (t *OpenconfigWithlistval_Model_A_SingleKey_Config) Λ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.
func (*OpenconfigWithlistval_Model_A_SingleKey_Config) ΛValidate ¶
func (t *OpenconfigWithlistval_Model_A_SingleKey_Config) ΛValidate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
type OpenconfigWithlistval_Model_A_SingleKey_InnerA ¶
type OpenconfigWithlistval_Model_A_SingleKey_InnerA struct {
SingleKey map[string]*OpenconfigWithlistval_Model_A_SingleKey_InnerA_SingleKey `path:"single-key" module:"openconfig-withlistval"`
}
OpenconfigWithlistval_Model_A_SingleKey_InnerA represents the /openconfig-withlistval/model/a/single-key/inner-a YANG schema element.
func (*OpenconfigWithlistval_Model_A_SingleKey_InnerA) AppendSingleKey ¶
func (t *OpenconfigWithlistval_Model_A_SingleKey_InnerA) AppendSingleKey(v *OpenconfigWithlistval_Model_A_SingleKey_InnerA_SingleKey) error
AppendSingleKey appends the supplied OpenconfigWithlistval_Model_A_SingleKey_InnerA_SingleKey struct to the list SingleKey of OpenconfigWithlistval_Model_A_SingleKey_InnerA. If the key value(s) specified in the supplied OpenconfigWithlistval_Model_A_SingleKey_InnerA_SingleKey already exist in the list, an error is returned.
func (*OpenconfigWithlistval_Model_A_SingleKey_InnerA) DeleteSingleKey ¶
func (t *OpenconfigWithlistval_Model_A_SingleKey_InnerA) DeleteSingleKey(Key string)
DeleteSingleKey deletes the value with the specified keys from the receiver OpenconfigWithlistval_Model_A_SingleKey_InnerA. If there is no such element, the function is a no-op.
func (*OpenconfigWithlistval_Model_A_SingleKey_InnerA) GetOrCreateSingleKey ¶
func (t *OpenconfigWithlistval_Model_A_SingleKey_InnerA) GetOrCreateSingleKey(Key string) *OpenconfigWithlistval_Model_A_SingleKey_InnerA_SingleKey
GetOrCreateSingleKey retrieves the value with the specified keys from the receiver OpenconfigWithlistval_Model_A_SingleKey_InnerA. If the entry does not exist, then it is created. It returns the existing or new list member.
func (*OpenconfigWithlistval_Model_A_SingleKey_InnerA) GetSingleKey ¶
func (t *OpenconfigWithlistval_Model_A_SingleKey_InnerA) GetSingleKey(Key string) *OpenconfigWithlistval_Model_A_SingleKey_InnerA_SingleKey
GetSingleKey retrieves the value with the specified key from the SingleKey map field of OpenconfigWithlistval_Model_A_SingleKey_InnerA. If the receiver is nil, or the specified key is not present in the list, nil is returned such that Get* methods may be safely chained.
func (*OpenconfigWithlistval_Model_A_SingleKey_InnerA) IsYANGGoStruct ¶
func (*OpenconfigWithlistval_Model_A_SingleKey_InnerA) IsYANGGoStruct()
IsYANGGoStruct ensures that OpenconfigWithlistval_Model_A_SingleKey_InnerA implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.
func (*OpenconfigWithlistval_Model_A_SingleKey_InnerA) NewSingleKey ¶
func (t *OpenconfigWithlistval_Model_A_SingleKey_InnerA) NewSingleKey(Key string) (*OpenconfigWithlistval_Model_A_SingleKey_InnerA_SingleKey, error)
NewSingleKey creates a new entry in the SingleKey list of the OpenconfigWithlistval_Model_A_SingleKey_InnerA struct. The keys of the list are populated from the input arguments.
func (*OpenconfigWithlistval_Model_A_SingleKey_InnerA) PopulateDefaults ¶
func (t *OpenconfigWithlistval_Model_A_SingleKey_InnerA) PopulateDefaults()
PopulateDefaults recursively populates unset leaf fields in the OpenconfigWithlistval_Model_A_SingleKey_InnerA with default values as specified in the YANG schema, instantiating any nil container fields.
func (*OpenconfigWithlistval_Model_A_SingleKey_InnerA) RenameSingleKey ¶ added in v0.10.0
func (t *OpenconfigWithlistval_Model_A_SingleKey_InnerA) RenameSingleKey(oldK, newK string) error
RenameSingleKey renames an entry in the list SingleKey within the OpenconfigWithlistval_Model_A_SingleKey_InnerA struct. The entry with key oldK is renamed to newK updating the key within the value.
func (*OpenconfigWithlistval_Model_A_SingleKey_InnerA) Validate ¶
func (t *OpenconfigWithlistval_Model_A_SingleKey_InnerA) Validate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
func (*OpenconfigWithlistval_Model_A_SingleKey_InnerA) ΛBelongingModule ¶
func (*OpenconfigWithlistval_Model_A_SingleKey_InnerA) ΛBelongingModule() string
ΛBelongingModule returns the name of the module that defines the namespace of OpenconfigWithlistval_Model_A_SingleKey_InnerA.
func (*OpenconfigWithlistval_Model_A_SingleKey_InnerA) ΛEnumTypeMap ¶
func (t *OpenconfigWithlistval_Model_A_SingleKey_InnerA) Λ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.
func (*OpenconfigWithlistval_Model_A_SingleKey_InnerA) ΛValidate ¶
func (t *OpenconfigWithlistval_Model_A_SingleKey_InnerA) ΛValidate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
type OpenconfigWithlistval_Model_A_SingleKey_InnerA_SingleKey ¶
type OpenconfigWithlistval_Model_A_SingleKey_InnerA_SingleKey struct { Config *OpenconfigWithlistval_Model_A_SingleKey_InnerA_SingleKey_Config `path:"config" module:"openconfig-withlistval"` Key *string `path:"key" module:"openconfig-withlistval"` State *OpenconfigWithlistval_Model_A_SingleKey_InnerA_SingleKey_State `path:"state" module:"openconfig-withlistval"` }
OpenconfigWithlistval_Model_A_SingleKey_InnerA_SingleKey represents the /openconfig-withlistval/model/a/single-key/inner-a/single-key YANG schema element.
func (*OpenconfigWithlistval_Model_A_SingleKey_InnerA_SingleKey) GetConfig ¶
func (t *OpenconfigWithlistval_Model_A_SingleKey_InnerA_SingleKey) GetConfig() *OpenconfigWithlistval_Model_A_SingleKey_InnerA_SingleKey_Config
GetConfig returns the value of the Config struct pointer from OpenconfigWithlistval_Model_A_SingleKey_InnerA_SingleKey. If the receiver or the field Config is nil, nil is returned such that the Get* methods can be safely chained.
func (*OpenconfigWithlistval_Model_A_SingleKey_InnerA_SingleKey) GetKey ¶
func (t *OpenconfigWithlistval_Model_A_SingleKey_InnerA_SingleKey) GetKey() string
GetKey retrieves the value of the leaf Key from the OpenconfigWithlistval_Model_A_SingleKey_InnerA_SingleKey struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Key is set, it can safely use t.GetKey() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Key == nil' before retrieving the leaf's value.
func (*OpenconfigWithlistval_Model_A_SingleKey_InnerA_SingleKey) GetOrCreateConfig ¶
func (t *OpenconfigWithlistval_Model_A_SingleKey_InnerA_SingleKey) GetOrCreateConfig() *OpenconfigWithlistval_Model_A_SingleKey_InnerA_SingleKey_Config
GetOrCreateConfig retrieves the value of the Config field or returns the existing field if it already exists.
func (*OpenconfigWithlistval_Model_A_SingleKey_InnerA_SingleKey) GetOrCreateState ¶
func (t *OpenconfigWithlistval_Model_A_SingleKey_InnerA_SingleKey) GetOrCreateState() *OpenconfigWithlistval_Model_A_SingleKey_InnerA_SingleKey_State
GetOrCreateState retrieves the value of the State field or returns the existing field if it already exists.
func (*OpenconfigWithlistval_Model_A_SingleKey_InnerA_SingleKey) GetState ¶
func (t *OpenconfigWithlistval_Model_A_SingleKey_InnerA_SingleKey) GetState() *OpenconfigWithlistval_Model_A_SingleKey_InnerA_SingleKey_State
GetState returns the value of the State struct pointer from OpenconfigWithlistval_Model_A_SingleKey_InnerA_SingleKey. If the receiver or the field State is nil, nil is returned such that the Get* methods can be safely chained.
func (*OpenconfigWithlistval_Model_A_SingleKey_InnerA_SingleKey) IsYANGGoStruct ¶
func (*OpenconfigWithlistval_Model_A_SingleKey_InnerA_SingleKey) IsYANGGoStruct()
IsYANGGoStruct ensures that OpenconfigWithlistval_Model_A_SingleKey_InnerA_SingleKey implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.
func (*OpenconfigWithlistval_Model_A_SingleKey_InnerA_SingleKey) PopulateDefaults ¶
func (t *OpenconfigWithlistval_Model_A_SingleKey_InnerA_SingleKey) PopulateDefaults()
PopulateDefaults recursively populates unset leaf fields in the OpenconfigWithlistval_Model_A_SingleKey_InnerA_SingleKey with default values as specified in the YANG schema, instantiating any nil container fields.
func (*OpenconfigWithlistval_Model_A_SingleKey_InnerA_SingleKey) SetKey ¶
func (t *OpenconfigWithlistval_Model_A_SingleKey_InnerA_SingleKey) SetKey(v string)
SetKey sets the value of the leaf Key in the OpenconfigWithlistval_Model_A_SingleKey_InnerA_SingleKey struct.
func (*OpenconfigWithlistval_Model_A_SingleKey_InnerA_SingleKey) Validate ¶
func (t *OpenconfigWithlistval_Model_A_SingleKey_InnerA_SingleKey) Validate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
func (*OpenconfigWithlistval_Model_A_SingleKey_InnerA_SingleKey) ΛBelongingModule ¶
func (*OpenconfigWithlistval_Model_A_SingleKey_InnerA_SingleKey) ΛBelongingModule() string
ΛBelongingModule returns the name of the module that defines the namespace of OpenconfigWithlistval_Model_A_SingleKey_InnerA_SingleKey.
func (*OpenconfigWithlistval_Model_A_SingleKey_InnerA_SingleKey) ΛEnumTypeMap ¶
func (t *OpenconfigWithlistval_Model_A_SingleKey_InnerA_SingleKey) Λ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.
func (*OpenconfigWithlistval_Model_A_SingleKey_InnerA_SingleKey) ΛListKeyMap ¶
func (t *OpenconfigWithlistval_Model_A_SingleKey_InnerA_SingleKey) ΛListKeyMap() (map[string]interface{}, error)
ΛListKeyMap returns the keys of the OpenconfigWithlistval_Model_A_SingleKey_InnerA_SingleKey struct, which is a YANG list entry.
func (*OpenconfigWithlistval_Model_A_SingleKey_InnerA_SingleKey) ΛValidate ¶
func (t *OpenconfigWithlistval_Model_A_SingleKey_InnerA_SingleKey) ΛValidate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
type OpenconfigWithlistval_Model_A_SingleKey_InnerA_SingleKey_Config ¶
type OpenconfigWithlistval_Model_A_SingleKey_InnerA_SingleKey_Config struct { Key *string `path:"key" module:"openconfig-withlistval"` Value *int64 `path:"value" module:"openconfig-withlistval"` }
OpenconfigWithlistval_Model_A_SingleKey_InnerA_SingleKey_Config represents the /openconfig-withlistval/model/a/single-key/inner-a/single-key/config YANG schema element.
func (*OpenconfigWithlistval_Model_A_SingleKey_InnerA_SingleKey_Config) GetKey ¶
func (t *OpenconfigWithlistval_Model_A_SingleKey_InnerA_SingleKey_Config) GetKey() string
GetKey retrieves the value of the leaf Key from the OpenconfigWithlistval_Model_A_SingleKey_InnerA_SingleKey_Config struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Key is set, it can safely use t.GetKey() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Key == nil' before retrieving the leaf's value.
func (*OpenconfigWithlistval_Model_A_SingleKey_InnerA_SingleKey_Config) GetValue ¶
func (t *OpenconfigWithlistval_Model_A_SingleKey_InnerA_SingleKey_Config) GetValue() int64
GetValue retrieves the value of the leaf Value from the OpenconfigWithlistval_Model_A_SingleKey_InnerA_SingleKey_Config struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Value is set, it can safely use t.GetValue() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Value == nil' before retrieving the leaf's value.
func (*OpenconfigWithlistval_Model_A_SingleKey_InnerA_SingleKey_Config) IsYANGGoStruct ¶
func (*OpenconfigWithlistval_Model_A_SingleKey_InnerA_SingleKey_Config) IsYANGGoStruct()
IsYANGGoStruct ensures that OpenconfigWithlistval_Model_A_SingleKey_InnerA_SingleKey_Config implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.
func (*OpenconfigWithlistval_Model_A_SingleKey_InnerA_SingleKey_Config) PopulateDefaults ¶
func (t *OpenconfigWithlistval_Model_A_SingleKey_InnerA_SingleKey_Config) PopulateDefaults()
PopulateDefaults recursively populates unset leaf fields in the OpenconfigWithlistval_Model_A_SingleKey_InnerA_SingleKey_Config with default values as specified in the YANG schema, instantiating any nil container fields.
func (*OpenconfigWithlistval_Model_A_SingleKey_InnerA_SingleKey_Config) SetKey ¶
func (t *OpenconfigWithlistval_Model_A_SingleKey_InnerA_SingleKey_Config) SetKey(v string)
SetKey sets the value of the leaf Key in the OpenconfigWithlistval_Model_A_SingleKey_InnerA_SingleKey_Config struct.
func (*OpenconfigWithlistval_Model_A_SingleKey_InnerA_SingleKey_Config) SetValue ¶
func (t *OpenconfigWithlistval_Model_A_SingleKey_InnerA_SingleKey_Config) SetValue(v int64)
SetValue sets the value of the leaf Value in the OpenconfigWithlistval_Model_A_SingleKey_InnerA_SingleKey_Config struct.
func (*OpenconfigWithlistval_Model_A_SingleKey_InnerA_SingleKey_Config) Validate ¶
func (t *OpenconfigWithlistval_Model_A_SingleKey_InnerA_SingleKey_Config) Validate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
func (*OpenconfigWithlistval_Model_A_SingleKey_InnerA_SingleKey_Config) ΛBelongingModule ¶
func (*OpenconfigWithlistval_Model_A_SingleKey_InnerA_SingleKey_Config) ΛBelongingModule() string
ΛBelongingModule returns the name of the module that defines the namespace of OpenconfigWithlistval_Model_A_SingleKey_InnerA_SingleKey_Config.
func (*OpenconfigWithlistval_Model_A_SingleKey_InnerA_SingleKey_Config) ΛEnumTypeMap ¶
func (t *OpenconfigWithlistval_Model_A_SingleKey_InnerA_SingleKey_Config) Λ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.
func (*OpenconfigWithlistval_Model_A_SingleKey_InnerA_SingleKey_Config) ΛValidate ¶
func (t *OpenconfigWithlistval_Model_A_SingleKey_InnerA_SingleKey_Config) ΛValidate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
type OpenconfigWithlistval_Model_A_SingleKey_InnerA_SingleKey_State ¶
type OpenconfigWithlistval_Model_A_SingleKey_InnerA_SingleKey_State struct { Key *string `path:"key" module:"openconfig-withlistval"` Value *int64 `path:"value" module:"openconfig-withlistval"` }
OpenconfigWithlistval_Model_A_SingleKey_InnerA_SingleKey_State represents the /openconfig-withlistval/model/a/single-key/inner-a/single-key/state YANG schema element.
func (*OpenconfigWithlistval_Model_A_SingleKey_InnerA_SingleKey_State) GetKey ¶
func (t *OpenconfigWithlistval_Model_A_SingleKey_InnerA_SingleKey_State) GetKey() string
GetKey retrieves the value of the leaf Key from the OpenconfigWithlistval_Model_A_SingleKey_InnerA_SingleKey_State struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Key is set, it can safely use t.GetKey() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Key == nil' before retrieving the leaf's value.
func (*OpenconfigWithlistval_Model_A_SingleKey_InnerA_SingleKey_State) GetValue ¶
func (t *OpenconfigWithlistval_Model_A_SingleKey_InnerA_SingleKey_State) GetValue() int64
GetValue retrieves the value of the leaf Value from the OpenconfigWithlistval_Model_A_SingleKey_InnerA_SingleKey_State struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Value is set, it can safely use t.GetValue() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Value == nil' before retrieving the leaf's value.
func (*OpenconfigWithlistval_Model_A_SingleKey_InnerA_SingleKey_State) IsYANGGoStruct ¶
func (*OpenconfigWithlistval_Model_A_SingleKey_InnerA_SingleKey_State) IsYANGGoStruct()
IsYANGGoStruct ensures that OpenconfigWithlistval_Model_A_SingleKey_InnerA_SingleKey_State implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.
func (*OpenconfigWithlistval_Model_A_SingleKey_InnerA_SingleKey_State) PopulateDefaults ¶
func (t *OpenconfigWithlistval_Model_A_SingleKey_InnerA_SingleKey_State) PopulateDefaults()
PopulateDefaults recursively populates unset leaf fields in the OpenconfigWithlistval_Model_A_SingleKey_InnerA_SingleKey_State with default values as specified in the YANG schema, instantiating any nil container fields.
func (*OpenconfigWithlistval_Model_A_SingleKey_InnerA_SingleKey_State) SetKey ¶
func (t *OpenconfigWithlistval_Model_A_SingleKey_InnerA_SingleKey_State) SetKey(v string)
SetKey sets the value of the leaf Key in the OpenconfigWithlistval_Model_A_SingleKey_InnerA_SingleKey_State struct.
func (*OpenconfigWithlistval_Model_A_SingleKey_InnerA_SingleKey_State) SetValue ¶
func (t *OpenconfigWithlistval_Model_A_SingleKey_InnerA_SingleKey_State) SetValue(v int64)
SetValue sets the value of the leaf Value in the OpenconfigWithlistval_Model_A_SingleKey_InnerA_SingleKey_State struct.
func (*OpenconfigWithlistval_Model_A_SingleKey_InnerA_SingleKey_State) Validate ¶
func (t *OpenconfigWithlistval_Model_A_SingleKey_InnerA_SingleKey_State) Validate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
func (*OpenconfigWithlistval_Model_A_SingleKey_InnerA_SingleKey_State) ΛBelongingModule ¶
func (*OpenconfigWithlistval_Model_A_SingleKey_InnerA_SingleKey_State) ΛBelongingModule() string
ΛBelongingModule returns the name of the module that defines the namespace of OpenconfigWithlistval_Model_A_SingleKey_InnerA_SingleKey_State.
func (*OpenconfigWithlistval_Model_A_SingleKey_InnerA_SingleKey_State) ΛEnumTypeMap ¶
func (t *OpenconfigWithlistval_Model_A_SingleKey_InnerA_SingleKey_State) Λ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.
func (*OpenconfigWithlistval_Model_A_SingleKey_InnerA_SingleKey_State) ΛValidate ¶
func (t *OpenconfigWithlistval_Model_A_SingleKey_InnerA_SingleKey_State) ΛValidate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
type OpenconfigWithlistval_Model_A_SingleKey_OrderedLists ¶
type OpenconfigWithlistval_Model_A_SingleKey_OrderedLists struct {
OrderedList *OpenconfigWithlistval_Model_A_SingleKey_OrderedLists_OrderedList_OrderedMap `path:"ordered-list" module:"openconfig-withlistval"`
}
OpenconfigWithlistval_Model_A_SingleKey_OrderedLists represents the /openconfig-withlistval/model/a/single-key/ordered-lists YANG schema element.
func (*OpenconfigWithlistval_Model_A_SingleKey_OrderedLists) AppendNewOrderedList ¶
func (s *OpenconfigWithlistval_Model_A_SingleKey_OrderedLists) AppendNewOrderedList(Key string) (*OpenconfigWithlistval_Model_A_SingleKey_OrderedLists_OrderedList, error)
AppendNewOrderedList creates a new entry in the OrderedList ordered map of the OpenconfigWithlistval_Model_A_SingleKey_OrderedLists struct. The keys of the list are populated from the input arguments.
func (*OpenconfigWithlistval_Model_A_SingleKey_OrderedLists) AppendOrderedList ¶
func (s *OpenconfigWithlistval_Model_A_SingleKey_OrderedLists) AppendOrderedList(v *OpenconfigWithlistval_Model_A_SingleKey_OrderedLists_OrderedList) error
AppendOrderedList appends the supplied OpenconfigWithlistval_Model_A_SingleKey_OrderedLists_OrderedList struct to the list OrderedList of OpenconfigWithlistval_Model_A_SingleKey_OrderedLists. If the key value(s) specified in the supplied OpenconfigWithlistval_Model_A_SingleKey_OrderedLists_OrderedList already exist in the list, an error is returned.
func (*OpenconfigWithlistval_Model_A_SingleKey_OrderedLists) DeleteOrderedList ¶
func (s *OpenconfigWithlistval_Model_A_SingleKey_OrderedLists) DeleteOrderedList(Key string) bool
DeleteOrderedList deletes the value with the specified keys from the receiver OpenconfigWithlistval_Model_A_SingleKey_OrderedLists. If there is no such element, the function is a no-op.
func (*OpenconfigWithlistval_Model_A_SingleKey_OrderedLists) GetOrderedList ¶
func (s *OpenconfigWithlistval_Model_A_SingleKey_OrderedLists) GetOrderedList(Key string) *OpenconfigWithlistval_Model_A_SingleKey_OrderedLists_OrderedList
GetOrderedList retrieves the value with the specified key from the OrderedList map field of OpenconfigWithlistval_Model_A_SingleKey_OrderedLists. If the receiver is nil, or the specified key is not present in the list, nil is returned such that Get* methods may be safely chained.
func (*OpenconfigWithlistval_Model_A_SingleKey_OrderedLists) IsYANGGoStruct ¶
func (*OpenconfigWithlistval_Model_A_SingleKey_OrderedLists) IsYANGGoStruct()
IsYANGGoStruct ensures that OpenconfigWithlistval_Model_A_SingleKey_OrderedLists implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.
func (*OpenconfigWithlistval_Model_A_SingleKey_OrderedLists) PopulateDefaults ¶
func (t *OpenconfigWithlistval_Model_A_SingleKey_OrderedLists) PopulateDefaults()
PopulateDefaults recursively populates unset leaf fields in the OpenconfigWithlistval_Model_A_SingleKey_OrderedLists with default values as specified in the YANG schema, instantiating any nil container fields.
func (*OpenconfigWithlistval_Model_A_SingleKey_OrderedLists) Validate ¶
func (t *OpenconfigWithlistval_Model_A_SingleKey_OrderedLists) Validate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
func (*OpenconfigWithlistval_Model_A_SingleKey_OrderedLists) ΛBelongingModule ¶
func (*OpenconfigWithlistval_Model_A_SingleKey_OrderedLists) ΛBelongingModule() string
ΛBelongingModule returns the name of the module that defines the namespace of OpenconfigWithlistval_Model_A_SingleKey_OrderedLists.
func (*OpenconfigWithlistval_Model_A_SingleKey_OrderedLists) ΛEnumTypeMap ¶
func (t *OpenconfigWithlistval_Model_A_SingleKey_OrderedLists) Λ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.
func (*OpenconfigWithlistval_Model_A_SingleKey_OrderedLists) ΛValidate ¶
func (t *OpenconfigWithlistval_Model_A_SingleKey_OrderedLists) ΛValidate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
type OpenconfigWithlistval_Model_A_SingleKey_OrderedLists_OrderedList ¶
type OpenconfigWithlistval_Model_A_SingleKey_OrderedLists_OrderedList struct { Config *OpenconfigWithlistval_Model_A_SingleKey_OrderedLists_OrderedList_Config `path:"config" module:"openconfig-withlistval"` Key *string `path:"key" module:"openconfig-withlistval"` State *OpenconfigWithlistval_Model_A_SingleKey_OrderedLists_OrderedList_State `path:"state" module:"openconfig-withlistval"` }
OpenconfigWithlistval_Model_A_SingleKey_OrderedLists_OrderedList represents the /openconfig-withlistval/model/a/single-key/ordered-lists/ordered-list YANG schema element.
func (*OpenconfigWithlistval_Model_A_SingleKey_OrderedLists_OrderedList) GetConfig ¶
func (t *OpenconfigWithlistval_Model_A_SingleKey_OrderedLists_OrderedList) GetConfig() *OpenconfigWithlistval_Model_A_SingleKey_OrderedLists_OrderedList_Config
GetConfig returns the value of the Config struct pointer from OpenconfigWithlistval_Model_A_SingleKey_OrderedLists_OrderedList. If the receiver or the field Config is nil, nil is returned such that the Get* methods can be safely chained.
func (*OpenconfigWithlistval_Model_A_SingleKey_OrderedLists_OrderedList) GetKey ¶
func (t *OpenconfigWithlistval_Model_A_SingleKey_OrderedLists_OrderedList) GetKey() string
GetKey retrieves the value of the leaf Key from the OpenconfigWithlistval_Model_A_SingleKey_OrderedLists_OrderedList struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Key is set, it can safely use t.GetKey() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Key == nil' before retrieving the leaf's value.
func (*OpenconfigWithlistval_Model_A_SingleKey_OrderedLists_OrderedList) GetOrCreateConfig ¶
func (t *OpenconfigWithlistval_Model_A_SingleKey_OrderedLists_OrderedList) GetOrCreateConfig() *OpenconfigWithlistval_Model_A_SingleKey_OrderedLists_OrderedList_Config
GetOrCreateConfig retrieves the value of the Config field or returns the existing field if it already exists.
func (*OpenconfigWithlistval_Model_A_SingleKey_OrderedLists_OrderedList) GetOrCreateState ¶
func (t *OpenconfigWithlistval_Model_A_SingleKey_OrderedLists_OrderedList) GetOrCreateState() *OpenconfigWithlistval_Model_A_SingleKey_OrderedLists_OrderedList_State
GetOrCreateState retrieves the value of the State field or returns the existing field if it already exists.
func (*OpenconfigWithlistval_Model_A_SingleKey_OrderedLists_OrderedList) GetState ¶
func (t *OpenconfigWithlistval_Model_A_SingleKey_OrderedLists_OrderedList) GetState() *OpenconfigWithlistval_Model_A_SingleKey_OrderedLists_OrderedList_State
GetState returns the value of the State struct pointer from OpenconfigWithlistval_Model_A_SingleKey_OrderedLists_OrderedList. If the receiver or the field State is nil, nil is returned such that the Get* methods can be safely chained.
func (*OpenconfigWithlistval_Model_A_SingleKey_OrderedLists_OrderedList) IsYANGGoStruct ¶
func (*OpenconfigWithlistval_Model_A_SingleKey_OrderedLists_OrderedList) IsYANGGoStruct()
IsYANGGoStruct ensures that OpenconfigWithlistval_Model_A_SingleKey_OrderedLists_OrderedList implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.
func (*OpenconfigWithlistval_Model_A_SingleKey_OrderedLists_OrderedList) PopulateDefaults ¶
func (t *OpenconfigWithlistval_Model_A_SingleKey_OrderedLists_OrderedList) PopulateDefaults()
PopulateDefaults recursively populates unset leaf fields in the OpenconfigWithlistval_Model_A_SingleKey_OrderedLists_OrderedList with default values as specified in the YANG schema, instantiating any nil container fields.
func (*OpenconfigWithlistval_Model_A_SingleKey_OrderedLists_OrderedList) SetKey ¶
func (t *OpenconfigWithlistval_Model_A_SingleKey_OrderedLists_OrderedList) SetKey(v string)
SetKey sets the value of the leaf Key in the OpenconfigWithlistval_Model_A_SingleKey_OrderedLists_OrderedList struct.
func (*OpenconfigWithlistval_Model_A_SingleKey_OrderedLists_OrderedList) Validate ¶
func (t *OpenconfigWithlistval_Model_A_SingleKey_OrderedLists_OrderedList) Validate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
func (*OpenconfigWithlistval_Model_A_SingleKey_OrderedLists_OrderedList) ΛBelongingModule ¶
func (*OpenconfigWithlistval_Model_A_SingleKey_OrderedLists_OrderedList) ΛBelongingModule() string
ΛBelongingModule returns the name of the module that defines the namespace of OpenconfigWithlistval_Model_A_SingleKey_OrderedLists_OrderedList.
func (*OpenconfigWithlistval_Model_A_SingleKey_OrderedLists_OrderedList) ΛEnumTypeMap ¶
func (t *OpenconfigWithlistval_Model_A_SingleKey_OrderedLists_OrderedList) Λ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.
func (*OpenconfigWithlistval_Model_A_SingleKey_OrderedLists_OrderedList) ΛListKeyMap ¶
func (t *OpenconfigWithlistval_Model_A_SingleKey_OrderedLists_OrderedList) ΛListKeyMap() (map[string]interface{}, error)
ΛListKeyMap returns the keys of the OpenconfigWithlistval_Model_A_SingleKey_OrderedLists_OrderedList struct, which is a YANG list entry.
func (*OpenconfigWithlistval_Model_A_SingleKey_OrderedLists_OrderedList) ΛValidate ¶
func (t *OpenconfigWithlistval_Model_A_SingleKey_OrderedLists_OrderedList) ΛValidate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
type OpenconfigWithlistval_Model_A_SingleKey_OrderedLists_OrderedList_Config ¶
type OpenconfigWithlistval_Model_A_SingleKey_OrderedLists_OrderedList_Config struct { Key *string `path:"key" module:"openconfig-withlistval"` Value *int64 `path:"value" module:"openconfig-withlistval"` }
OpenconfigWithlistval_Model_A_SingleKey_OrderedLists_OrderedList_Config represents the /openconfig-withlistval/model/a/single-key/ordered-lists/ordered-list/config YANG schema element.
func (*OpenconfigWithlistval_Model_A_SingleKey_OrderedLists_OrderedList_Config) GetKey ¶
func (t *OpenconfigWithlistval_Model_A_SingleKey_OrderedLists_OrderedList_Config) GetKey() string
GetKey retrieves the value of the leaf Key from the OpenconfigWithlistval_Model_A_SingleKey_OrderedLists_OrderedList_Config struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Key is set, it can safely use t.GetKey() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Key == nil' before retrieving the leaf's value.
func (*OpenconfigWithlistval_Model_A_SingleKey_OrderedLists_OrderedList_Config) GetValue ¶
func (t *OpenconfigWithlistval_Model_A_SingleKey_OrderedLists_OrderedList_Config) GetValue() int64
GetValue retrieves the value of the leaf Value from the OpenconfigWithlistval_Model_A_SingleKey_OrderedLists_OrderedList_Config struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Value is set, it can safely use t.GetValue() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Value == nil' before retrieving the leaf's value.
func (*OpenconfigWithlistval_Model_A_SingleKey_OrderedLists_OrderedList_Config) IsYANGGoStruct ¶
func (*OpenconfigWithlistval_Model_A_SingleKey_OrderedLists_OrderedList_Config) IsYANGGoStruct()
IsYANGGoStruct ensures that OpenconfigWithlistval_Model_A_SingleKey_OrderedLists_OrderedList_Config implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.
func (*OpenconfigWithlistval_Model_A_SingleKey_OrderedLists_OrderedList_Config) PopulateDefaults ¶
func (t *OpenconfigWithlistval_Model_A_SingleKey_OrderedLists_OrderedList_Config) PopulateDefaults()
PopulateDefaults recursively populates unset leaf fields in the OpenconfigWithlistval_Model_A_SingleKey_OrderedLists_OrderedList_Config with default values as specified in the YANG schema, instantiating any nil container fields.
func (*OpenconfigWithlistval_Model_A_SingleKey_OrderedLists_OrderedList_Config) SetKey ¶
func (t *OpenconfigWithlistval_Model_A_SingleKey_OrderedLists_OrderedList_Config) SetKey(v string)
SetKey sets the value of the leaf Key in the OpenconfigWithlistval_Model_A_SingleKey_OrderedLists_OrderedList_Config struct.
func (*OpenconfigWithlistval_Model_A_SingleKey_OrderedLists_OrderedList_Config) SetValue ¶
func (t *OpenconfigWithlistval_Model_A_SingleKey_OrderedLists_OrderedList_Config) SetValue(v int64)
SetValue sets the value of the leaf Value in the OpenconfigWithlistval_Model_A_SingleKey_OrderedLists_OrderedList_Config struct.
func (*OpenconfigWithlistval_Model_A_SingleKey_OrderedLists_OrderedList_Config) Validate ¶
func (t *OpenconfigWithlistval_Model_A_SingleKey_OrderedLists_OrderedList_Config) Validate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
func (*OpenconfigWithlistval_Model_A_SingleKey_OrderedLists_OrderedList_Config) ΛBelongingModule ¶
func (*OpenconfigWithlistval_Model_A_SingleKey_OrderedLists_OrderedList_Config) ΛBelongingModule() string
ΛBelongingModule returns the name of the module that defines the namespace of OpenconfigWithlistval_Model_A_SingleKey_OrderedLists_OrderedList_Config.
func (*OpenconfigWithlistval_Model_A_SingleKey_OrderedLists_OrderedList_Config) ΛEnumTypeMap ¶
func (t *OpenconfigWithlistval_Model_A_SingleKey_OrderedLists_OrderedList_Config) Λ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.
func (*OpenconfigWithlistval_Model_A_SingleKey_OrderedLists_OrderedList_Config) ΛValidate ¶
func (t *OpenconfigWithlistval_Model_A_SingleKey_OrderedLists_OrderedList_Config) ΛValidate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
type OpenconfigWithlistval_Model_A_SingleKey_OrderedLists_OrderedList_OrderedMap ¶
type OpenconfigWithlistval_Model_A_SingleKey_OrderedLists_OrderedList_OrderedMap struct {
// contains filtered or unexported fields
}
OpenconfigWithlistval_Model_A_SingleKey_OrderedLists_OrderedList_OrderedMap is an ordered map that represents the "ordered-by user" list elements at /openconfig-withlistval/model/a/single-key/ordered-lists/ordered-list.
func (*OpenconfigWithlistval_Model_A_SingleKey_OrderedLists_OrderedList_OrderedMap) Append ¶
func (o *OpenconfigWithlistval_Model_A_SingleKey_OrderedLists_OrderedList_OrderedMap) Append(v *OpenconfigWithlistval_Model_A_SingleKey_OrderedLists_OrderedList) error
Append appends a OpenconfigWithlistval_Model_A_SingleKey_OrderedLists_OrderedList, returning an error if the key already exists in the ordered list or if the key is unspecified.
func (*OpenconfigWithlistval_Model_A_SingleKey_OrderedLists_OrderedList_OrderedMap) AppendNew ¶
func (o *OpenconfigWithlistval_Model_A_SingleKey_OrderedLists_OrderedList_OrderedMap) AppendNew(Key string) (*OpenconfigWithlistval_Model_A_SingleKey_OrderedLists_OrderedList, error)
AppendNew creates and appends a new OpenconfigWithlistval_Model_A_SingleKey_OrderedLists_OrderedList, returning the newly-initialized v. It returns an error if the v already exists.
func (*OpenconfigWithlistval_Model_A_SingleKey_OrderedLists_OrderedList_OrderedMap) Delete ¶
func (o *OpenconfigWithlistval_Model_A_SingleKey_OrderedLists_OrderedList_OrderedMap) Delete(key string) bool
Delete deletes an element.
func (*OpenconfigWithlistval_Model_A_SingleKey_OrderedLists_OrderedList_OrderedMap) Get ¶
func (o *OpenconfigWithlistval_Model_A_SingleKey_OrderedLists_OrderedList_OrderedMap) Get(key string) *OpenconfigWithlistval_Model_A_SingleKey_OrderedLists_OrderedList
Get returns the value corresponding to the key. If the key is not found, nil is returned.
func (*OpenconfigWithlistval_Model_A_SingleKey_OrderedLists_OrderedList_OrderedMap) IsYANGOrderedList ¶
func (*OpenconfigWithlistval_Model_A_SingleKey_OrderedLists_OrderedList_OrderedMap) IsYANGOrderedList()
IsYANGOrderedList ensures that OpenconfigWithlistval_Model_A_SingleKey_OrderedLists_OrderedList_OrderedMap implements the ygot.GoOrderedMap interface.
func (*OpenconfigWithlistval_Model_A_SingleKey_OrderedLists_OrderedList_OrderedMap) Keys ¶
func (o *OpenconfigWithlistval_Model_A_SingleKey_OrderedLists_OrderedList_OrderedMap) Keys() []string
Keys returns a copy of the list's keys.
func (*OpenconfigWithlistval_Model_A_SingleKey_OrderedLists_OrderedList_OrderedMap) Len ¶
Len returns a size of OpenconfigWithlistval_Model_A_SingleKey_OrderedLists_OrderedList_OrderedMap
func (*OpenconfigWithlistval_Model_A_SingleKey_OrderedLists_OrderedList_OrderedMap) Values ¶
func (o *OpenconfigWithlistval_Model_A_SingleKey_OrderedLists_OrderedList_OrderedMap) Values() []*OpenconfigWithlistval_Model_A_SingleKey_OrderedLists_OrderedList
Values returns the current set of the list's values in order.
type OpenconfigWithlistval_Model_A_SingleKey_OrderedLists_OrderedList_State ¶
type OpenconfigWithlistval_Model_A_SingleKey_OrderedLists_OrderedList_State struct { Key *string `path:"key" module:"openconfig-withlistval"` Value *int64 `path:"value" module:"openconfig-withlistval"` }
OpenconfigWithlistval_Model_A_SingleKey_OrderedLists_OrderedList_State represents the /openconfig-withlistval/model/a/single-key/ordered-lists/ordered-list/state YANG schema element.
func (*OpenconfigWithlistval_Model_A_SingleKey_OrderedLists_OrderedList_State) GetKey ¶
func (t *OpenconfigWithlistval_Model_A_SingleKey_OrderedLists_OrderedList_State) GetKey() string
GetKey retrieves the value of the leaf Key from the OpenconfigWithlistval_Model_A_SingleKey_OrderedLists_OrderedList_State struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Key is set, it can safely use t.GetKey() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Key == nil' before retrieving the leaf's value.
func (*OpenconfigWithlistval_Model_A_SingleKey_OrderedLists_OrderedList_State) GetValue ¶
func (t *OpenconfigWithlistval_Model_A_SingleKey_OrderedLists_OrderedList_State) GetValue() int64
GetValue retrieves the value of the leaf Value from the OpenconfigWithlistval_Model_A_SingleKey_OrderedLists_OrderedList_State struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Value is set, it can safely use t.GetValue() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Value == nil' before retrieving the leaf's value.
func (*OpenconfigWithlistval_Model_A_SingleKey_OrderedLists_OrderedList_State) IsYANGGoStruct ¶
func (*OpenconfigWithlistval_Model_A_SingleKey_OrderedLists_OrderedList_State) IsYANGGoStruct()
IsYANGGoStruct ensures that OpenconfigWithlistval_Model_A_SingleKey_OrderedLists_OrderedList_State implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.
func (*OpenconfigWithlistval_Model_A_SingleKey_OrderedLists_OrderedList_State) PopulateDefaults ¶
func (t *OpenconfigWithlistval_Model_A_SingleKey_OrderedLists_OrderedList_State) PopulateDefaults()
PopulateDefaults recursively populates unset leaf fields in the OpenconfigWithlistval_Model_A_SingleKey_OrderedLists_OrderedList_State with default values as specified in the YANG schema, instantiating any nil container fields.
func (*OpenconfigWithlistval_Model_A_SingleKey_OrderedLists_OrderedList_State) SetKey ¶
func (t *OpenconfigWithlistval_Model_A_SingleKey_OrderedLists_OrderedList_State) SetKey(v string)
SetKey sets the value of the leaf Key in the OpenconfigWithlistval_Model_A_SingleKey_OrderedLists_OrderedList_State struct.
func (*OpenconfigWithlistval_Model_A_SingleKey_OrderedLists_OrderedList_State) SetValue ¶
func (t *OpenconfigWithlistval_Model_A_SingleKey_OrderedLists_OrderedList_State) SetValue(v int64)
SetValue sets the value of the leaf Value in the OpenconfigWithlistval_Model_A_SingleKey_OrderedLists_OrderedList_State struct.
func (*OpenconfigWithlistval_Model_A_SingleKey_OrderedLists_OrderedList_State) Validate ¶
func (t *OpenconfigWithlistval_Model_A_SingleKey_OrderedLists_OrderedList_State) Validate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
func (*OpenconfigWithlistval_Model_A_SingleKey_OrderedLists_OrderedList_State) ΛBelongingModule ¶
func (*OpenconfigWithlistval_Model_A_SingleKey_OrderedLists_OrderedList_State) ΛBelongingModule() string
ΛBelongingModule returns the name of the module that defines the namespace of OpenconfigWithlistval_Model_A_SingleKey_OrderedLists_OrderedList_State.
func (*OpenconfigWithlistval_Model_A_SingleKey_OrderedLists_OrderedList_State) ΛEnumTypeMap ¶
func (t *OpenconfigWithlistval_Model_A_SingleKey_OrderedLists_OrderedList_State) Λ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.
func (*OpenconfigWithlistval_Model_A_SingleKey_OrderedLists_OrderedList_State) ΛValidate ¶
func (t *OpenconfigWithlistval_Model_A_SingleKey_OrderedLists_OrderedList_State) ΛValidate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
type OpenconfigWithlistval_Model_A_SingleKey_State ¶
type OpenconfigWithlistval_Model_A_SingleKey_State struct { Counter Binary `path:"counter" module:"openconfig-withlistval"` Counters []Binary `path:"counters" module:"openconfig-withlistval"` Key *string `path:"key" module:"openconfig-withlistval"` Value *int64 `path:"value" module:"openconfig-withlistval"` }
OpenconfigWithlistval_Model_A_SingleKey_State represents the /openconfig-withlistval/model/a/single-key/state YANG schema element.
func (*OpenconfigWithlistval_Model_A_SingleKey_State) GetCounter ¶
func (t *OpenconfigWithlistval_Model_A_SingleKey_State) GetCounter() Binary
GetCounter retrieves the value of the leaf Counter from the OpenconfigWithlistval_Model_A_SingleKey_State struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Counter is set, it can safely use t.GetCounter() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Counter == nil' before retrieving the leaf's value.
func (*OpenconfigWithlistval_Model_A_SingleKey_State) GetCounters ¶
func (t *OpenconfigWithlistval_Model_A_SingleKey_State) GetCounters() []Binary
GetCounters retrieves the value of the leaf Counters from the OpenconfigWithlistval_Model_A_SingleKey_State struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Counters is set, it can safely use t.GetCounters() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Counters == nil' before retrieving the leaf's value.
func (*OpenconfigWithlistval_Model_A_SingleKey_State) GetKey ¶
func (t *OpenconfigWithlistval_Model_A_SingleKey_State) GetKey() string
GetKey retrieves the value of the leaf Key from the OpenconfigWithlistval_Model_A_SingleKey_State struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Key is set, it can safely use t.GetKey() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Key == nil' before retrieving the leaf's value.
func (*OpenconfigWithlistval_Model_A_SingleKey_State) GetValue ¶
func (t *OpenconfigWithlistval_Model_A_SingleKey_State) GetValue() int64
GetValue retrieves the value of the leaf Value from the OpenconfigWithlistval_Model_A_SingleKey_State struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Value is set, it can safely use t.GetValue() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Value == nil' before retrieving the leaf's value.
func (*OpenconfigWithlistval_Model_A_SingleKey_State) IsYANGGoStruct ¶
func (*OpenconfigWithlistval_Model_A_SingleKey_State) IsYANGGoStruct()
IsYANGGoStruct ensures that OpenconfigWithlistval_Model_A_SingleKey_State implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.
func (*OpenconfigWithlistval_Model_A_SingleKey_State) PopulateDefaults ¶
func (t *OpenconfigWithlistval_Model_A_SingleKey_State) PopulateDefaults()
PopulateDefaults recursively populates unset leaf fields in the OpenconfigWithlistval_Model_A_SingleKey_State with default values as specified in the YANG schema, instantiating any nil container fields.
func (*OpenconfigWithlistval_Model_A_SingleKey_State) SetCounter ¶
func (t *OpenconfigWithlistval_Model_A_SingleKey_State) SetCounter(v Binary)
SetCounter sets the value of the leaf Counter in the OpenconfigWithlistval_Model_A_SingleKey_State struct.
func (*OpenconfigWithlistval_Model_A_SingleKey_State) SetCounters ¶
func (t *OpenconfigWithlistval_Model_A_SingleKey_State) SetCounters(v []Binary)
SetCounters sets the value of the leaf Counters in the OpenconfigWithlistval_Model_A_SingleKey_State struct.
func (*OpenconfigWithlistval_Model_A_SingleKey_State) SetKey ¶
func (t *OpenconfigWithlistval_Model_A_SingleKey_State) SetKey(v string)
SetKey sets the value of the leaf Key in the OpenconfigWithlistval_Model_A_SingleKey_State struct.
func (*OpenconfigWithlistval_Model_A_SingleKey_State) SetValue ¶
func (t *OpenconfigWithlistval_Model_A_SingleKey_State) SetValue(v int64)
SetValue sets the value of the leaf Value in the OpenconfigWithlistval_Model_A_SingleKey_State struct.
func (*OpenconfigWithlistval_Model_A_SingleKey_State) Validate ¶
func (t *OpenconfigWithlistval_Model_A_SingleKey_State) Validate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
func (*OpenconfigWithlistval_Model_A_SingleKey_State) ΛBelongingModule ¶
func (*OpenconfigWithlistval_Model_A_SingleKey_State) ΛBelongingModule() string
ΛBelongingModule returns the name of the module that defines the namespace of OpenconfigWithlistval_Model_A_SingleKey_State.
func (*OpenconfigWithlistval_Model_A_SingleKey_State) ΛEnumTypeMap ¶
func (t *OpenconfigWithlistval_Model_A_SingleKey_State) Λ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.
func (*OpenconfigWithlistval_Model_A_SingleKey_State) ΛValidate ¶
func (t *OpenconfigWithlistval_Model_A_SingleKey_State) ΛValidate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
type OpenconfigWithlistval_Model_B ¶
type OpenconfigWithlistval_Model_B struct {
MultiKey map[OpenconfigWithlistval_Model_B_MultiKey_Key]*OpenconfigWithlistval_Model_B_MultiKey `path:"multi-key" module:"openconfig-withlistval"`
}
OpenconfigWithlistval_Model_B represents the /openconfig-withlistval/model/b YANG schema element.
func (*OpenconfigWithlistval_Model_B) AppendMultiKey ¶
func (t *OpenconfigWithlistval_Model_B) AppendMultiKey(v *OpenconfigWithlistval_Model_B_MultiKey) error
AppendMultiKey appends the supplied OpenconfigWithlistval_Model_B_MultiKey struct to the list MultiKey of OpenconfigWithlistval_Model_B. If the key value(s) specified in the supplied OpenconfigWithlistval_Model_B_MultiKey already exist in the list, an error is returned.
func (*OpenconfigWithlistval_Model_B) DeleteMultiKey ¶
func (t *OpenconfigWithlistval_Model_B) DeleteMultiKey(Key1 uint32, Key2 uint64)
DeleteMultiKey deletes the value with the specified keys from the receiver OpenconfigWithlistval_Model_B. If there is no such element, the function is a no-op.
func (*OpenconfigWithlistval_Model_B) GetMultiKey ¶
func (t *OpenconfigWithlistval_Model_B) GetMultiKey(Key1 uint32, Key2 uint64) *OpenconfigWithlistval_Model_B_MultiKey
GetMultiKey retrieves the value with the specified key from the MultiKey map field of OpenconfigWithlistval_Model_B. If the receiver is nil, or the specified key is not present in the list, nil is returned such that Get* methods may be safely chained.
func (*OpenconfigWithlistval_Model_B) GetOrCreateMultiKey ¶
func (t *OpenconfigWithlistval_Model_B) GetOrCreateMultiKey(Key1 uint32, Key2 uint64) *OpenconfigWithlistval_Model_B_MultiKey
GetOrCreateMultiKey retrieves the value with the specified keys from the receiver OpenconfigWithlistval_Model_B. If the entry does not exist, then it is created. It returns the existing or new list member.
func (*OpenconfigWithlistval_Model_B) IsYANGGoStruct ¶
func (*OpenconfigWithlistval_Model_B) IsYANGGoStruct()
IsYANGGoStruct ensures that OpenconfigWithlistval_Model_B implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.
func (*OpenconfigWithlistval_Model_B) NewMultiKey ¶
func (t *OpenconfigWithlistval_Model_B) NewMultiKey(Key1 uint32, Key2 uint64) (*OpenconfigWithlistval_Model_B_MultiKey, error)
NewMultiKey creates a new entry in the MultiKey list of the OpenconfigWithlistval_Model_B struct. The keys of the list are populated from the input arguments.
func (*OpenconfigWithlistval_Model_B) PopulateDefaults ¶
func (t *OpenconfigWithlistval_Model_B) PopulateDefaults()
PopulateDefaults recursively populates unset leaf fields in the OpenconfigWithlistval_Model_B with default values as specified in the YANG schema, instantiating any nil container fields.
func (*OpenconfigWithlistval_Model_B) RenameMultiKey ¶ added in v0.10.0
func (t *OpenconfigWithlistval_Model_B) RenameMultiKey(oldK, newK OpenconfigWithlistval_Model_B_MultiKey_Key) error
RenameMultiKey renames an entry in the list MultiKey within the OpenconfigWithlistval_Model_B struct. The entry with key oldK is renamed to newK updating the key within the value.
func (*OpenconfigWithlistval_Model_B) Validate ¶
func (t *OpenconfigWithlistval_Model_B) Validate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
func (*OpenconfigWithlistval_Model_B) ΛBelongingModule ¶
func (*OpenconfigWithlistval_Model_B) ΛBelongingModule() string
ΛBelongingModule returns the name of the module that defines the namespace of OpenconfigWithlistval_Model_B.
func (*OpenconfigWithlistval_Model_B) ΛEnumTypeMap ¶
func (t *OpenconfigWithlistval_Model_B) Λ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.
func (*OpenconfigWithlistval_Model_B) ΛValidate ¶
func (t *OpenconfigWithlistval_Model_B) ΛValidate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
type OpenconfigWithlistval_Model_B_MultiKey ¶
type OpenconfigWithlistval_Model_B_MultiKey struct { Config *OpenconfigWithlistval_Model_B_MultiKey_Config `path:"config" module:"openconfig-withlistval"` Key1 *uint32 `path:"key1" module:"openconfig-withlistval"` Key2 *uint64 `path:"key2" module:"openconfig-withlistval"` State *OpenconfigWithlistval_Model_B_MultiKey_State `path:"state" module:"openconfig-withlistval"` }
OpenconfigWithlistval_Model_B_MultiKey represents the /openconfig-withlistval/model/b/multi-key YANG schema element.
func (*OpenconfigWithlistval_Model_B_MultiKey) GetConfig ¶
func (t *OpenconfigWithlistval_Model_B_MultiKey) GetConfig() *OpenconfigWithlistval_Model_B_MultiKey_Config
GetConfig returns the value of the Config struct pointer from OpenconfigWithlistval_Model_B_MultiKey. If the receiver or the field Config is nil, nil is returned such that the Get* methods can be safely chained.
func (*OpenconfigWithlistval_Model_B_MultiKey) GetKey1 ¶
func (t *OpenconfigWithlistval_Model_B_MultiKey) GetKey1() uint32
GetKey1 retrieves the value of the leaf Key1 from the OpenconfigWithlistval_Model_B_MultiKey struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Key1 is set, it can safely use t.GetKey1() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Key1 == nil' before retrieving the leaf's value.
func (*OpenconfigWithlistval_Model_B_MultiKey) GetKey2 ¶
func (t *OpenconfigWithlistval_Model_B_MultiKey) GetKey2() uint64
GetKey2 retrieves the value of the leaf Key2 from the OpenconfigWithlistval_Model_B_MultiKey struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Key2 is set, it can safely use t.GetKey2() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Key2 == nil' before retrieving the leaf's value.
func (*OpenconfigWithlistval_Model_B_MultiKey) GetOrCreateConfig ¶
func (t *OpenconfigWithlistval_Model_B_MultiKey) GetOrCreateConfig() *OpenconfigWithlistval_Model_B_MultiKey_Config
GetOrCreateConfig retrieves the value of the Config field or returns the existing field if it already exists.
func (*OpenconfigWithlistval_Model_B_MultiKey) GetOrCreateState ¶
func (t *OpenconfigWithlistval_Model_B_MultiKey) GetOrCreateState() *OpenconfigWithlistval_Model_B_MultiKey_State
GetOrCreateState retrieves the value of the State field or returns the existing field if it already exists.
func (*OpenconfigWithlistval_Model_B_MultiKey) GetState ¶
func (t *OpenconfigWithlistval_Model_B_MultiKey) GetState() *OpenconfigWithlistval_Model_B_MultiKey_State
GetState returns the value of the State struct pointer from OpenconfigWithlistval_Model_B_MultiKey. If the receiver or the field State is nil, nil is returned such that the Get* methods can be safely chained.
func (*OpenconfigWithlistval_Model_B_MultiKey) IsYANGGoStruct ¶
func (*OpenconfigWithlistval_Model_B_MultiKey) IsYANGGoStruct()
IsYANGGoStruct ensures that OpenconfigWithlistval_Model_B_MultiKey implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.
func (*OpenconfigWithlistval_Model_B_MultiKey) PopulateDefaults ¶
func (t *OpenconfigWithlistval_Model_B_MultiKey) PopulateDefaults()
PopulateDefaults recursively populates unset leaf fields in the OpenconfigWithlistval_Model_B_MultiKey with default values as specified in the YANG schema, instantiating any nil container fields.
func (*OpenconfigWithlistval_Model_B_MultiKey) SetKey1 ¶
func (t *OpenconfigWithlistval_Model_B_MultiKey) SetKey1(v uint32)
SetKey1 sets the value of the leaf Key1 in the OpenconfigWithlistval_Model_B_MultiKey struct.
func (*OpenconfigWithlistval_Model_B_MultiKey) SetKey2 ¶
func (t *OpenconfigWithlistval_Model_B_MultiKey) SetKey2(v uint64)
SetKey2 sets the value of the leaf Key2 in the OpenconfigWithlistval_Model_B_MultiKey struct.
func (*OpenconfigWithlistval_Model_B_MultiKey) Validate ¶
func (t *OpenconfigWithlistval_Model_B_MultiKey) Validate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
func (*OpenconfigWithlistval_Model_B_MultiKey) ΛBelongingModule ¶
func (*OpenconfigWithlistval_Model_B_MultiKey) ΛBelongingModule() string
ΛBelongingModule returns the name of the module that defines the namespace of OpenconfigWithlistval_Model_B_MultiKey.
func (*OpenconfigWithlistval_Model_B_MultiKey) ΛEnumTypeMap ¶
func (t *OpenconfigWithlistval_Model_B_MultiKey) Λ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.
func (*OpenconfigWithlistval_Model_B_MultiKey) ΛListKeyMap ¶
func (t *OpenconfigWithlistval_Model_B_MultiKey) ΛListKeyMap() (map[string]interface{}, error)
ΛListKeyMap returns the keys of the OpenconfigWithlistval_Model_B_MultiKey struct, which is a YANG list entry.
func (*OpenconfigWithlistval_Model_B_MultiKey) ΛValidate ¶
func (t *OpenconfigWithlistval_Model_B_MultiKey) ΛValidate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
type OpenconfigWithlistval_Model_B_MultiKey_Config ¶
type OpenconfigWithlistval_Model_B_MultiKey_Config struct { Key1 *uint32 `path:"key1" module:"openconfig-withlistval"` Key2 *uint64 `path:"key2" module:"openconfig-withlistval"` }
OpenconfigWithlistval_Model_B_MultiKey_Config represents the /openconfig-withlistval/model/b/multi-key/config YANG schema element.
func (*OpenconfigWithlistval_Model_B_MultiKey_Config) GetKey1 ¶
func (t *OpenconfigWithlistval_Model_B_MultiKey_Config) GetKey1() uint32
GetKey1 retrieves the value of the leaf Key1 from the OpenconfigWithlistval_Model_B_MultiKey_Config struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Key1 is set, it can safely use t.GetKey1() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Key1 == nil' before retrieving the leaf's value.
func (*OpenconfigWithlistval_Model_B_MultiKey_Config) GetKey2 ¶
func (t *OpenconfigWithlistval_Model_B_MultiKey_Config) GetKey2() uint64
GetKey2 retrieves the value of the leaf Key2 from the OpenconfigWithlistval_Model_B_MultiKey_Config struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Key2 is set, it can safely use t.GetKey2() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Key2 == nil' before retrieving the leaf's value.
func (*OpenconfigWithlistval_Model_B_MultiKey_Config) IsYANGGoStruct ¶
func (*OpenconfigWithlistval_Model_B_MultiKey_Config) IsYANGGoStruct()
IsYANGGoStruct ensures that OpenconfigWithlistval_Model_B_MultiKey_Config implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.
func (*OpenconfigWithlistval_Model_B_MultiKey_Config) PopulateDefaults ¶
func (t *OpenconfigWithlistval_Model_B_MultiKey_Config) PopulateDefaults()
PopulateDefaults recursively populates unset leaf fields in the OpenconfigWithlistval_Model_B_MultiKey_Config with default values as specified in the YANG schema, instantiating any nil container fields.
func (*OpenconfigWithlistval_Model_B_MultiKey_Config) SetKey1 ¶
func (t *OpenconfigWithlistval_Model_B_MultiKey_Config) SetKey1(v uint32)
SetKey1 sets the value of the leaf Key1 in the OpenconfigWithlistval_Model_B_MultiKey_Config struct.
func (*OpenconfigWithlistval_Model_B_MultiKey_Config) SetKey2 ¶
func (t *OpenconfigWithlistval_Model_B_MultiKey_Config) SetKey2(v uint64)
SetKey2 sets the value of the leaf Key2 in the OpenconfigWithlistval_Model_B_MultiKey_Config struct.
func (*OpenconfigWithlistval_Model_B_MultiKey_Config) Validate ¶
func (t *OpenconfigWithlistval_Model_B_MultiKey_Config) Validate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
func (*OpenconfigWithlistval_Model_B_MultiKey_Config) ΛBelongingModule ¶
func (*OpenconfigWithlistval_Model_B_MultiKey_Config) ΛBelongingModule() string
ΛBelongingModule returns the name of the module that defines the namespace of OpenconfigWithlistval_Model_B_MultiKey_Config.
func (*OpenconfigWithlistval_Model_B_MultiKey_Config) ΛEnumTypeMap ¶
func (t *OpenconfigWithlistval_Model_B_MultiKey_Config) Λ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.
func (*OpenconfigWithlistval_Model_B_MultiKey_Config) ΛValidate ¶
func (t *OpenconfigWithlistval_Model_B_MultiKey_Config) ΛValidate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
type OpenconfigWithlistval_Model_B_MultiKey_Key ¶
type OpenconfigWithlistval_Model_B_MultiKey_Key struct { Key1 uint32 `path:"key1"` Key2 uint64 `path:"key2"` }
OpenconfigWithlistval_Model_B_MultiKey_Key represents the key for list MultiKey of element /openconfig-withlistval/model/b.
func (OpenconfigWithlistval_Model_B_MultiKey_Key) IsYANGGoKeyStruct ¶
func (OpenconfigWithlistval_Model_B_MultiKey_Key) IsYANGGoKeyStruct()
IsYANGGoKeyStruct ensures that OpenconfigWithlistval_Model_B_MultiKey_Key partially implements the yang.GoKeyStruct interface. This allows functions that need to handle this key struct to identify it as being generated by gogen.
func (OpenconfigWithlistval_Model_B_MultiKey_Key) ΛListKeyMap ¶
func (t OpenconfigWithlistval_Model_B_MultiKey_Key) ΛListKeyMap() (map[string]interface{}, error)
ΛListKeyMap returns the values of the OpenconfigWithlistval_Model_B_MultiKey_Key key struct.
type OpenconfigWithlistval_Model_B_MultiKey_State ¶
type OpenconfigWithlistval_Model_B_MultiKey_State struct { Key1 *uint32 `path:"key1" module:"openconfig-withlistval"` Key2 *uint64 `path:"key2" module:"openconfig-withlistval"` }
OpenconfigWithlistval_Model_B_MultiKey_State represents the /openconfig-withlistval/model/b/multi-key/state YANG schema element.
func (*OpenconfigWithlistval_Model_B_MultiKey_State) GetKey1 ¶
func (t *OpenconfigWithlistval_Model_B_MultiKey_State) GetKey1() uint32
GetKey1 retrieves the value of the leaf Key1 from the OpenconfigWithlistval_Model_B_MultiKey_State struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Key1 is set, it can safely use t.GetKey1() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Key1 == nil' before retrieving the leaf's value.
func (*OpenconfigWithlistval_Model_B_MultiKey_State) GetKey2 ¶
func (t *OpenconfigWithlistval_Model_B_MultiKey_State) GetKey2() uint64
GetKey2 retrieves the value of the leaf Key2 from the OpenconfigWithlistval_Model_B_MultiKey_State struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Key2 is set, it can safely use t.GetKey2() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Key2 == nil' before retrieving the leaf's value.
func (*OpenconfigWithlistval_Model_B_MultiKey_State) IsYANGGoStruct ¶
func (*OpenconfigWithlistval_Model_B_MultiKey_State) IsYANGGoStruct()
IsYANGGoStruct ensures that OpenconfigWithlistval_Model_B_MultiKey_State implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.
func (*OpenconfigWithlistval_Model_B_MultiKey_State) PopulateDefaults ¶
func (t *OpenconfigWithlistval_Model_B_MultiKey_State) PopulateDefaults()
PopulateDefaults recursively populates unset leaf fields in the OpenconfigWithlistval_Model_B_MultiKey_State with default values as specified in the YANG schema, instantiating any nil container fields.
func (*OpenconfigWithlistval_Model_B_MultiKey_State) SetKey1 ¶
func (t *OpenconfigWithlistval_Model_B_MultiKey_State) SetKey1(v uint32)
SetKey1 sets the value of the leaf Key1 in the OpenconfigWithlistval_Model_B_MultiKey_State struct.
func (*OpenconfigWithlistval_Model_B_MultiKey_State) SetKey2 ¶
func (t *OpenconfigWithlistval_Model_B_MultiKey_State) SetKey2(v uint64)
SetKey2 sets the value of the leaf Key2 in the OpenconfigWithlistval_Model_B_MultiKey_State struct.
func (*OpenconfigWithlistval_Model_B_MultiKey_State) Validate ¶
func (t *OpenconfigWithlistval_Model_B_MultiKey_State) Validate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
func (*OpenconfigWithlistval_Model_B_MultiKey_State) ΛBelongingModule ¶
func (*OpenconfigWithlistval_Model_B_MultiKey_State) ΛBelongingModule() string
ΛBelongingModule returns the name of the module that defines the namespace of OpenconfigWithlistval_Model_B_MultiKey_State.
func (*OpenconfigWithlistval_Model_B_MultiKey_State) ΛEnumTypeMap ¶
func (t *OpenconfigWithlistval_Model_B_MultiKey_State) Λ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.
func (*OpenconfigWithlistval_Model_B_MultiKey_State) ΛValidate ¶
func (t *OpenconfigWithlistval_Model_B_MultiKey_State) ΛValidate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
type OpenconfigWithlistval_Model_C ¶
type OpenconfigWithlistval_Model_C struct {
NoKey []*OpenconfigWithlistval_Model_C_NoKey `path:"no-key" module:"openconfig-withlistval"`
}
OpenconfigWithlistval_Model_C represents the /openconfig-withlistval/model/c YANG schema element.
func (*OpenconfigWithlistval_Model_C) IsYANGGoStruct ¶
func (*OpenconfigWithlistval_Model_C) IsYANGGoStruct()
IsYANGGoStruct ensures that OpenconfigWithlistval_Model_C implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.
func (*OpenconfigWithlistval_Model_C) PopulateDefaults ¶
func (t *OpenconfigWithlistval_Model_C) PopulateDefaults()
PopulateDefaults recursively populates unset leaf fields in the OpenconfigWithlistval_Model_C with default values as specified in the YANG schema, instantiating any nil container fields.
func (*OpenconfigWithlistval_Model_C) Validate ¶
func (t *OpenconfigWithlistval_Model_C) Validate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
func (*OpenconfigWithlistval_Model_C) ΛBelongingModule ¶
func (*OpenconfigWithlistval_Model_C) ΛBelongingModule() string
ΛBelongingModule returns the name of the module that defines the namespace of OpenconfigWithlistval_Model_C.
func (*OpenconfigWithlistval_Model_C) ΛEnumTypeMap ¶
func (t *OpenconfigWithlistval_Model_C) Λ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.
func (*OpenconfigWithlistval_Model_C) ΛValidate ¶
func (t *OpenconfigWithlistval_Model_C) ΛValidate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
type OpenconfigWithlistval_Model_C_NoKey ¶
type OpenconfigWithlistval_Model_C_NoKey struct {
Foo *OpenconfigWithlistval_Model_C_NoKey_Foo `path:"foo" module:"openconfig-withlistval"`
}
OpenconfigWithlistval_Model_C_NoKey represents the /openconfig-withlistval/model/c/no-key YANG schema element.
func (*OpenconfigWithlistval_Model_C_NoKey) GetFoo ¶
func (t *OpenconfigWithlistval_Model_C_NoKey) GetFoo() *OpenconfigWithlistval_Model_C_NoKey_Foo
GetFoo returns the value of the Foo struct pointer from OpenconfigWithlistval_Model_C_NoKey. If the receiver or the field Foo is nil, nil is returned such that the Get* methods can be safely chained.
func (*OpenconfigWithlistval_Model_C_NoKey) GetOrCreateFoo ¶
func (t *OpenconfigWithlistval_Model_C_NoKey) GetOrCreateFoo() *OpenconfigWithlistval_Model_C_NoKey_Foo
GetOrCreateFoo retrieves the value of the Foo field or returns the existing field if it already exists.
func (*OpenconfigWithlistval_Model_C_NoKey) IsYANGGoStruct ¶
func (*OpenconfigWithlistval_Model_C_NoKey) IsYANGGoStruct()
IsYANGGoStruct ensures that OpenconfigWithlistval_Model_C_NoKey implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.
func (*OpenconfigWithlistval_Model_C_NoKey) PopulateDefaults ¶
func (t *OpenconfigWithlistval_Model_C_NoKey) PopulateDefaults()
PopulateDefaults recursively populates unset leaf fields in the OpenconfigWithlistval_Model_C_NoKey with default values as specified in the YANG schema, instantiating any nil container fields.
func (*OpenconfigWithlistval_Model_C_NoKey) Validate ¶
func (t *OpenconfigWithlistval_Model_C_NoKey) Validate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
func (*OpenconfigWithlistval_Model_C_NoKey) ΛBelongingModule ¶
func (*OpenconfigWithlistval_Model_C_NoKey) ΛBelongingModule() string
ΛBelongingModule returns the name of the module that defines the namespace of OpenconfigWithlistval_Model_C_NoKey.
func (*OpenconfigWithlistval_Model_C_NoKey) ΛEnumTypeMap ¶
func (t *OpenconfigWithlistval_Model_C_NoKey) Λ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.
func (*OpenconfigWithlistval_Model_C_NoKey) ΛValidate ¶
func (t *OpenconfigWithlistval_Model_C_NoKey) ΛValidate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
type OpenconfigWithlistval_Model_C_NoKey_Foo ¶
type OpenconfigWithlistval_Model_C_NoKey_Foo struct {
State *OpenconfigWithlistval_Model_C_NoKey_Foo_State `path:"state" module:"openconfig-withlistval"`
}
OpenconfigWithlistval_Model_C_NoKey_Foo represents the /openconfig-withlistval/model/c/no-key/foo YANG schema element.
func (*OpenconfigWithlistval_Model_C_NoKey_Foo) GetOrCreateState ¶
func (t *OpenconfigWithlistval_Model_C_NoKey_Foo) GetOrCreateState() *OpenconfigWithlistval_Model_C_NoKey_Foo_State
GetOrCreateState retrieves the value of the State field or returns the existing field if it already exists.
func (*OpenconfigWithlistval_Model_C_NoKey_Foo) GetState ¶
func (t *OpenconfigWithlistval_Model_C_NoKey_Foo) GetState() *OpenconfigWithlistval_Model_C_NoKey_Foo_State
GetState returns the value of the State struct pointer from OpenconfigWithlistval_Model_C_NoKey_Foo. If the receiver or the field State is nil, nil is returned such that the Get* methods can be safely chained.
func (*OpenconfigWithlistval_Model_C_NoKey_Foo) IsYANGGoStruct ¶
func (*OpenconfigWithlistval_Model_C_NoKey_Foo) IsYANGGoStruct()
IsYANGGoStruct ensures that OpenconfigWithlistval_Model_C_NoKey_Foo implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.
func (*OpenconfigWithlistval_Model_C_NoKey_Foo) PopulateDefaults ¶
func (t *OpenconfigWithlistval_Model_C_NoKey_Foo) PopulateDefaults()
PopulateDefaults recursively populates unset leaf fields in the OpenconfigWithlistval_Model_C_NoKey_Foo with default values as specified in the YANG schema, instantiating any nil container fields.
func (*OpenconfigWithlistval_Model_C_NoKey_Foo) Validate ¶
func (t *OpenconfigWithlistval_Model_C_NoKey_Foo) Validate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
func (*OpenconfigWithlistval_Model_C_NoKey_Foo) ΛBelongingModule ¶
func (*OpenconfigWithlistval_Model_C_NoKey_Foo) ΛBelongingModule() string
ΛBelongingModule returns the name of the module that defines the namespace of OpenconfigWithlistval_Model_C_NoKey_Foo.
func (*OpenconfigWithlistval_Model_C_NoKey_Foo) ΛEnumTypeMap ¶
func (t *OpenconfigWithlistval_Model_C_NoKey_Foo) Λ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.
func (*OpenconfigWithlistval_Model_C_NoKey_Foo) ΛValidate ¶
func (t *OpenconfigWithlistval_Model_C_NoKey_Foo) ΛValidate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
type OpenconfigWithlistval_Model_C_NoKey_Foo_State ¶
type OpenconfigWithlistval_Model_C_NoKey_Foo_State struct { Key *string `path:"key" module:"openconfig-withlistval"` Value *int64 `path:"value" module:"openconfig-withlistval"` }
OpenconfigWithlistval_Model_C_NoKey_Foo_State represents the /openconfig-withlistval/model/c/no-key/foo/state YANG schema element.
func (*OpenconfigWithlistval_Model_C_NoKey_Foo_State) GetKey ¶
func (t *OpenconfigWithlistval_Model_C_NoKey_Foo_State) GetKey() string
GetKey retrieves the value of the leaf Key from the OpenconfigWithlistval_Model_C_NoKey_Foo_State struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Key is set, it can safely use t.GetKey() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Key == nil' before retrieving the leaf's value.
func (*OpenconfigWithlistval_Model_C_NoKey_Foo_State) GetValue ¶
func (t *OpenconfigWithlistval_Model_C_NoKey_Foo_State) GetValue() int64
GetValue retrieves the value of the leaf Value from the OpenconfigWithlistval_Model_C_NoKey_Foo_State struct. If the field is unset but has a default value in the YANG schema, then the default value will be returned. Caution should be exercised whilst using this method since when without a default value, it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Value is set, it can safely use t.GetValue() to retrieve the value. In the case that the caller has different actions based on whether the leaf is set or unset, it should use 'if t.Value == nil' before retrieving the leaf's value.
func (*OpenconfigWithlistval_Model_C_NoKey_Foo_State) IsYANGGoStruct ¶
func (*OpenconfigWithlistval_Model_C_NoKey_Foo_State) IsYANGGoStruct()
IsYANGGoStruct ensures that OpenconfigWithlistval_Model_C_NoKey_Foo_State implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.
func (*OpenconfigWithlistval_Model_C_NoKey_Foo_State) PopulateDefaults ¶
func (t *OpenconfigWithlistval_Model_C_NoKey_Foo_State) PopulateDefaults()
PopulateDefaults recursively populates unset leaf fields in the OpenconfigWithlistval_Model_C_NoKey_Foo_State with default values as specified in the YANG schema, instantiating any nil container fields.
func (*OpenconfigWithlistval_Model_C_NoKey_Foo_State) SetKey ¶
func (t *OpenconfigWithlistval_Model_C_NoKey_Foo_State) SetKey(v string)
SetKey sets the value of the leaf Key in the OpenconfigWithlistval_Model_C_NoKey_Foo_State struct.
func (*OpenconfigWithlistval_Model_C_NoKey_Foo_State) SetValue ¶
func (t *OpenconfigWithlistval_Model_C_NoKey_Foo_State) SetValue(v int64)
SetValue sets the value of the leaf Value in the OpenconfigWithlistval_Model_C_NoKey_Foo_State struct.
func (*OpenconfigWithlistval_Model_C_NoKey_Foo_State) Validate ¶
func (t *OpenconfigWithlistval_Model_C_NoKey_Foo_State) Validate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
func (*OpenconfigWithlistval_Model_C_NoKey_Foo_State) ΛBelongingModule ¶
func (*OpenconfigWithlistval_Model_C_NoKey_Foo_State) ΛBelongingModule() string
ΛBelongingModule returns the name of the module that defines the namespace of OpenconfigWithlistval_Model_C_NoKey_Foo_State.
func (*OpenconfigWithlistval_Model_C_NoKey_Foo_State) ΛEnumTypeMap ¶
func (t *OpenconfigWithlistval_Model_C_NoKey_Foo_State) Λ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.
func (*OpenconfigWithlistval_Model_C_NoKey_Foo_State) ΛValidate ¶
func (t *OpenconfigWithlistval_Model_C_NoKey_Foo_State) ΛValidate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
type UnionBool ¶
type UnionBool bool
UnionBool is a bool type assignable to unions of which it is a subtype.
type UnionFloat64 ¶
type UnionFloat64 float64
UnionFloat64 is a float64 type assignable to unions of which it is a subtype.
type UnionInt16 ¶
type UnionInt16 int16
UnionInt16 is an int16 type assignable to unions of which it is a subtype.
type UnionInt32 ¶
type UnionInt32 int32
UnionInt32 is an int32 type assignable to unions of which it is a subtype.
type UnionInt64 ¶
type UnionInt64 int64
UnionInt64 is an int64 type assignable to unions of which it is a subtype.
type UnionInt8 ¶
type UnionInt8 int8
UnionInt8 is an int8 type assignable to unions of which it is a subtype.
type UnionString ¶
type UnionString string
UnionString is a string type assignable to unions of which it is a subtype.
type UnionUint16 ¶
type UnionUint16 uint16
UnionUint16 is a uint16 type assignable to unions of which it is a subtype.
type UnionUint32 ¶
type UnionUint32 uint32
UnionUint32 is a uint32 type assignable to unions of which it is a subtype.
type UnionUint64 ¶
type UnionUint64 uint64
UnionUint64 is a uint64 type assignable to unions of which it is a subtype.
type UnionUint8 ¶
type UnionUint8 uint8
UnionUint8 is a uint8 type assignable to unions of which it is a subtype.
type UnionUnsupported ¶
type UnionUnsupported struct {
Value interface{}
}
UnionUnsupported is an interface{} wrapper type for unsupported types. It is assignable to unions of which it is a subtype.
Directories ¶
Path | Synopsis |
---|---|
Package a is a generated package which contains definitions of structs which generate gNMI paths for a YANG schema.
|
Package a is a generated package which contains definitions of structs which generate gNMI paths for a YANG schema. |
Package modelb is a generated package which contains definitions of structs which generate gNMI paths for a YANG schema.
|
Package modelb is a generated package which contains definitions of structs which generate gNMI paths for a YANG schema. |
Package nested is a generated package which contains definitions of structs which generate gNMI paths for a YANG schema.
|
Package nested is a generated package which contains definitions of structs which generate gNMI paths for a YANG schema. |
Package simple is a generated package which contains definitions of structs which generate gNMI paths for a YANG schema.
|
Package simple is a generated package which contains definitions of structs which generate gNMI paths for a YANG schema. |
Package uexampleocpath is a generated package which contains definitions of structs which generate gNMI paths for a YANG schema.
|
Package uexampleocpath is a generated package which contains definitions of structs which generate gNMI paths for a YANG schema. |
Package withlistval is a generated package which contains definitions of structs which generate gNMI paths for a YANG schema.
|
Package withlistval is a generated package which contains definitions of structs which generate gNMI paths for a YANG schema. |