Documentation ¶
Overview ¶
Package exampleoc 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).
NOTE WELL: This is an example code file that is distributed with ygot. It should not be used within your application, as it WILL change, without warning. Rather, you should generate structs directly from OpenConfig models using the ygot package.
This package was generated by github.com/openconfig/ygot using the following YANG input files:
- public/release/models/catalog/openconfig-module-catalog.yang
Imported modules were sourced from:
- public/...
- deps/...
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 E_OpenconfigCatalogTypes_CATALOG_MEMBER_TYPE
- type E_OpenconfigCatalogTypes_IMPLEMENTATION_STATUS_TYPE
- type E_OpenconfigCatalogTypes_MODULE_CATEGORY_BASE
- type E_OpenconfigCatalogTypes_MODULE_STATUS_TYPE
- type E_OpenconfigCatalogTypes_MODULE_SUBCATEGORY_BASE
- type E_OpenconfigCatalogTypes_ORGANIZATION_TYPE
- type OpenconfigModuleCatalog_Organizations
- func (t *OpenconfigModuleCatalog_Organizations) AppendOrganization(v *OpenconfigModuleCatalog_Organizations_Organization) error
- func (t *OpenconfigModuleCatalog_Organizations) GetOrCreateOrganization(Name string) *OpenconfigModuleCatalog_Organizations_Organization
- func (t *OpenconfigModuleCatalog_Organizations) GetOrganization(Name string) *OpenconfigModuleCatalog_Organizations_Organization
- func (*OpenconfigModuleCatalog_Organizations) IsYANGGoStruct()
- func (t *OpenconfigModuleCatalog_Organizations) NewOrganization(Name string) (*OpenconfigModuleCatalog_Organizations_Organization, error)
- func (t *OpenconfigModuleCatalog_Organizations) RenameOrganization(oldK, newK string) error
- func (t *OpenconfigModuleCatalog_Organizations) Validate(opts ...ygot.ValidationOption) error
- func (t *OpenconfigModuleCatalog_Organizations) ΛEnumTypeMap() map[string][]reflect.Type
- type OpenconfigModuleCatalog_Organizations_Organization
- func (t *OpenconfigModuleCatalog_Organizations_Organization) GetContact() string
- func (t *OpenconfigModuleCatalog_Organizations_Organization) GetFeatureBundles() *OpenconfigModuleCatalog_Organizations_Organization_FeatureBundles
- func (t *OpenconfigModuleCatalog_Organizations_Organization) GetImplementations() *OpenconfigModuleCatalog_Organizations_Organization_Implementations
- func (t *OpenconfigModuleCatalog_Organizations_Organization) GetModules() *OpenconfigModuleCatalog_Organizations_Organization_Modules
- func (t *OpenconfigModuleCatalog_Organizations_Organization) GetName() string
- func (t *OpenconfigModuleCatalog_Organizations_Organization) GetOrCreateFeatureBundles() *OpenconfigModuleCatalog_Organizations_Organization_FeatureBundles
- func (t *OpenconfigModuleCatalog_Organizations_Organization) GetOrCreateImplementations() *OpenconfigModuleCatalog_Organizations_Organization_Implementations
- func (t *OpenconfigModuleCatalog_Organizations_Organization) GetOrCreateModules() *OpenconfigModuleCatalog_Organizations_Organization_Modules
- func (t *OpenconfigModuleCatalog_Organizations_Organization) GetOrCreateReleaseBundles() *OpenconfigModuleCatalog_Organizations_Organization_ReleaseBundles
- func (t *OpenconfigModuleCatalog_Organizations_Organization) GetReleaseBundles() *OpenconfigModuleCatalog_Organizations_Organization_ReleaseBundles
- func (t *OpenconfigModuleCatalog_Organizations_Organization) GetType() E_OpenconfigCatalogTypes_ORGANIZATION_TYPE
- func (*OpenconfigModuleCatalog_Organizations_Organization) IsYANGGoStruct()
- func (t *OpenconfigModuleCatalog_Organizations_Organization) Validate(opts ...ygot.ValidationOption) error
- func (t *OpenconfigModuleCatalog_Organizations_Organization) ΛEnumTypeMap() map[string][]reflect.Type
- func (t *OpenconfigModuleCatalog_Organizations_Organization) ΛListKeyMap() (map[string]interface{}, error)
- type OpenconfigModuleCatalog_Organizations_Organization_FeatureBundles
- func (t *OpenconfigModuleCatalog_Organizations_Organization_FeatureBundles) AppendFeatureBundle(...) error
- func (t *OpenconfigModuleCatalog_Organizations_Organization_FeatureBundles) GetFeatureBundle(Name string, Version string) ...
- func (t *OpenconfigModuleCatalog_Organizations_Organization_FeatureBundles) GetOrCreateFeatureBundle(Name string, Version string) ...
- func (*OpenconfigModuleCatalog_Organizations_Organization_FeatureBundles) IsYANGGoStruct()
- func (t *OpenconfigModuleCatalog_Organizations_Organization_FeatureBundles) NewFeatureBundle(Name string, Version string) (...)
- func (t *OpenconfigModuleCatalog_Organizations_Organization_FeatureBundles) RenameFeatureBundle(...) error
- func (t *OpenconfigModuleCatalog_Organizations_Organization_FeatureBundles) Validate(opts ...ygot.ValidationOption) error
- func (t *OpenconfigModuleCatalog_Organizations_Organization_FeatureBundles) ΛEnumTypeMap() map[string][]reflect.Type
- type OpenconfigModuleCatalog_Organizations_Organization_FeatureBundles_FeatureBundle
- func (t *OpenconfigModuleCatalog_Organizations_Organization_FeatureBundles_FeatureBundle) GetFeatureBundles() ...
- func (t *OpenconfigModuleCatalog_Organizations_Organization_FeatureBundles_FeatureBundle) GetName() string
- func (t *OpenconfigModuleCatalog_Organizations_Organization_FeatureBundles_FeatureBundle) GetOrCreateFeatureBundles() ...
- func (t *OpenconfigModuleCatalog_Organizations_Organization_FeatureBundles_FeatureBundle) GetOrCreateReleaseBundle() ...
- func (t *OpenconfigModuleCatalog_Organizations_Organization_FeatureBundles_FeatureBundle) GetPath() []string
- func (t *OpenconfigModuleCatalog_Organizations_Organization_FeatureBundles_FeatureBundle) GetReleaseBundle() ...
- func (t *OpenconfigModuleCatalog_Organizations_Organization_FeatureBundles_FeatureBundle) GetVersion() string
- func (*OpenconfigModuleCatalog_Organizations_Organization_FeatureBundles_FeatureBundle) IsYANGGoStruct()
- func (t *OpenconfigModuleCatalog_Organizations_Organization_FeatureBundles_FeatureBundle) Validate(opts ...ygot.ValidationOption) error
- func (t *OpenconfigModuleCatalog_Organizations_Organization_FeatureBundles_FeatureBundle) ΛEnumTypeMap() map[string][]reflect.Type
- func (t *OpenconfigModuleCatalog_Organizations_Organization_FeatureBundles_FeatureBundle) ΛListKeyMap() (map[string]interface{}, error)
- type OpenconfigModuleCatalog_Organizations_Organization_FeatureBundles_FeatureBundle_FeatureBundles
- func (t *OpenconfigModuleCatalog_Organizations_Organization_FeatureBundles_FeatureBundle_FeatureBundles) AppendFeatureBundle(...) error
- func (t *OpenconfigModuleCatalog_Organizations_Organization_FeatureBundles_FeatureBundle_FeatureBundles) GetFeatureBundle(Name string) ...
- func (t *OpenconfigModuleCatalog_Organizations_Organization_FeatureBundles_FeatureBundle_FeatureBundles) GetOrCreateFeatureBundle(Name string) ...
- func (*OpenconfigModuleCatalog_Organizations_Organization_FeatureBundles_FeatureBundle_FeatureBundles) IsYANGGoStruct()
- func (t *OpenconfigModuleCatalog_Organizations_Organization_FeatureBundles_FeatureBundle_FeatureBundles) NewFeatureBundle(Name string) (...)
- func (t *OpenconfigModuleCatalog_Organizations_Organization_FeatureBundles_FeatureBundle_FeatureBundles) RenameFeatureBundle(oldK, newK string) error
- func (t *OpenconfigModuleCatalog_Organizations_Organization_FeatureBundles_FeatureBundle_FeatureBundles) Validate(opts ...ygot.ValidationOption) error
- func (t *OpenconfigModuleCatalog_Organizations_Organization_FeatureBundles_FeatureBundle_FeatureBundles) ΛEnumTypeMap() map[string][]reflect.Type
- type OpenconfigModuleCatalog_Organizations_Organization_FeatureBundles_FeatureBundle_FeatureBundles_FeatureBundle
- func (t *OpenconfigModuleCatalog_Organizations_Organization_FeatureBundles_FeatureBundle_FeatureBundles_FeatureBundle) GetName() string
- func (t *OpenconfigModuleCatalog_Organizations_Organization_FeatureBundles_FeatureBundle_FeatureBundles_FeatureBundle) GetPublisher() string
- func (t *OpenconfigModuleCatalog_Organizations_Organization_FeatureBundles_FeatureBundle_FeatureBundles_FeatureBundle) GetVersion() string
- func (*OpenconfigModuleCatalog_Organizations_Organization_FeatureBundles_FeatureBundle_FeatureBundles_FeatureBundle) IsYANGGoStruct()
- func (t *OpenconfigModuleCatalog_Organizations_Organization_FeatureBundles_FeatureBundle_FeatureBundles_FeatureBundle) Validate(opts ...ygot.ValidationOption) error
- func (t *OpenconfigModuleCatalog_Organizations_Organization_FeatureBundles_FeatureBundle_FeatureBundles_FeatureBundle) ΛEnumTypeMap() map[string][]reflect.Type
- func (t *OpenconfigModuleCatalog_Organizations_Organization_FeatureBundles_FeatureBundle_FeatureBundles_FeatureBundle) ΛListKeyMap() (map[string]interface{}, error)
- type OpenconfigModuleCatalog_Organizations_Organization_FeatureBundles_FeatureBundle_Key
- type OpenconfigModuleCatalog_Organizations_Organization_FeatureBundles_FeatureBundle_ReleaseBundle
- func (t *OpenconfigModuleCatalog_Organizations_Organization_FeatureBundles_FeatureBundle_ReleaseBundle) GetName() string
- func (t *OpenconfigModuleCatalog_Organizations_Organization_FeatureBundles_FeatureBundle_ReleaseBundle) GetPublisher() string
- func (t *OpenconfigModuleCatalog_Organizations_Organization_FeatureBundles_FeatureBundle_ReleaseBundle) GetVersion() string
- func (*OpenconfigModuleCatalog_Organizations_Organization_FeatureBundles_FeatureBundle_ReleaseBundle) IsYANGGoStruct()
- func (t *OpenconfigModuleCatalog_Organizations_Organization_FeatureBundles_FeatureBundle_ReleaseBundle) Validate(opts ...ygot.ValidationOption) error
- func (t *OpenconfigModuleCatalog_Organizations_Organization_FeatureBundles_FeatureBundle_ReleaseBundle) ΛEnumTypeMap() map[string][]reflect.Type
- type OpenconfigModuleCatalog_Organizations_Organization_Implementations
- func (t *OpenconfigModuleCatalog_Organizations_Organization_Implementations) AppendImplementation(...) error
- func (t *OpenconfigModuleCatalog_Organizations_Organization_Implementations) GetImplementation(Id string) ...
- func (t *OpenconfigModuleCatalog_Organizations_Organization_Implementations) GetOrCreateImplementation(Id string) ...
- func (*OpenconfigModuleCatalog_Organizations_Organization_Implementations) IsYANGGoStruct()
- func (t *OpenconfigModuleCatalog_Organizations_Organization_Implementations) NewImplementation(Id string) (...)
- func (t *OpenconfigModuleCatalog_Organizations_Organization_Implementations) RenameImplementation(oldK, newK string) error
- func (t *OpenconfigModuleCatalog_Organizations_Organization_Implementations) Validate(opts ...ygot.ValidationOption) error
- func (t *OpenconfigModuleCatalog_Organizations_Organization_Implementations) ΛEnumTypeMap() map[string][]reflect.Type
- type OpenconfigModuleCatalog_Organizations_Organization_Implementations_Implementation
- func (t *OpenconfigModuleCatalog_Organizations_Organization_Implementations_Implementation) GetDescription() string
- func (t *OpenconfigModuleCatalog_Organizations_Organization_Implementations_Implementation) GetFeatureBundles() ...
- func (t *OpenconfigModuleCatalog_Organizations_Organization_Implementations_Implementation) GetId() string
- func (t *OpenconfigModuleCatalog_Organizations_Organization_Implementations_Implementation) GetOrCreateFeatureBundles() ...
- func (t *OpenconfigModuleCatalog_Organizations_Organization_Implementations_Implementation) GetPlatform() string
- func (t *OpenconfigModuleCatalog_Organizations_Organization_Implementations_Implementation) GetPlatformVersion() string
- func (t *OpenconfigModuleCatalog_Organizations_Organization_Implementations_Implementation) GetReference() string
- func (t *OpenconfigModuleCatalog_Organizations_Organization_Implementations_Implementation) GetStatus() E_OpenconfigCatalogTypes_IMPLEMENTATION_STATUS_TYPE
- func (*OpenconfigModuleCatalog_Organizations_Organization_Implementations_Implementation) IsYANGGoStruct()
- func (t *OpenconfigModuleCatalog_Organizations_Organization_Implementations_Implementation) Validate(opts ...ygot.ValidationOption) error
- func (t *OpenconfigModuleCatalog_Organizations_Organization_Implementations_Implementation) ΛEnumTypeMap() map[string][]reflect.Type
- func (t *OpenconfigModuleCatalog_Organizations_Organization_Implementations_Implementation) ΛListKeyMap() (map[string]interface{}, error)
- type OpenconfigModuleCatalog_Organizations_Organization_Implementations_Implementation_FeatureBundles
- func (t *OpenconfigModuleCatalog_Organizations_Organization_Implementations_Implementation_FeatureBundles) AppendFeatureBundle(...) error
- func (t *OpenconfigModuleCatalog_Organizations_Organization_Implementations_Implementation_FeatureBundles) GetFeatureBundle(Name string, Version string) ...
- func (t *OpenconfigModuleCatalog_Organizations_Organization_Implementations_Implementation_FeatureBundles) GetOrCreateFeatureBundle(Name string, Version string) ...
- func (*OpenconfigModuleCatalog_Organizations_Organization_Implementations_Implementation_FeatureBundles) IsYANGGoStruct()
- func (t *OpenconfigModuleCatalog_Organizations_Organization_Implementations_Implementation_FeatureBundles) NewFeatureBundle(Name string, Version string) (...)
- func (t *OpenconfigModuleCatalog_Organizations_Organization_Implementations_Implementation_FeatureBundles) RenameFeatureBundle(...) error
- func (t *OpenconfigModuleCatalog_Organizations_Organization_Implementations_Implementation_FeatureBundles) Validate(opts ...ygot.ValidationOption) error
- func (t *OpenconfigModuleCatalog_Organizations_Organization_Implementations_Implementation_FeatureBundles) ΛEnumTypeMap() map[string][]reflect.Type
- type OpenconfigModuleCatalog_Organizations_Organization_Implementations_Implementation_FeatureBundles_FeatureBundle
- func (t *OpenconfigModuleCatalog_Organizations_Organization_Implementations_Implementation_FeatureBundles_FeatureBundle) GetName() string
- func (t *OpenconfigModuleCatalog_Organizations_Organization_Implementations_Implementation_FeatureBundles_FeatureBundle) GetPublisher() string
- func (t *OpenconfigModuleCatalog_Organizations_Organization_Implementations_Implementation_FeatureBundles_FeatureBundle) GetVersion() string
- func (*OpenconfigModuleCatalog_Organizations_Organization_Implementations_Implementation_FeatureBundles_FeatureBundle) IsYANGGoStruct()
- func (t *OpenconfigModuleCatalog_Organizations_Organization_Implementations_Implementation_FeatureBundles_FeatureBundle) Validate(opts ...ygot.ValidationOption) error
- func (t *OpenconfigModuleCatalog_Organizations_Organization_Implementations_Implementation_FeatureBundles_FeatureBundle) ΛEnumTypeMap() map[string][]reflect.Type
- func (t *OpenconfigModuleCatalog_Organizations_Organization_Implementations_Implementation_FeatureBundles_FeatureBundle) ΛListKeyMap() (map[string]interface{}, error)
- type OpenconfigModuleCatalog_Organizations_Organization_Implementations_Implementation_FeatureBundles_FeatureBundle_Key
- type OpenconfigModuleCatalog_Organizations_Organization_Modules
- func (t *OpenconfigModuleCatalog_Organizations_Organization_Modules) AppendModule(v *OpenconfigModuleCatalog_Organizations_Organization_Modules_Module) error
- func (t *OpenconfigModuleCatalog_Organizations_Organization_Modules) GetModule(Name string, Version string) *OpenconfigModuleCatalog_Organizations_Organization_Modules_Module
- func (t *OpenconfigModuleCatalog_Organizations_Organization_Modules) GetOrCreateModule(Name string, Version string) *OpenconfigModuleCatalog_Organizations_Organization_Modules_Module
- func (*OpenconfigModuleCatalog_Organizations_Organization_Modules) IsYANGGoStruct()
- func (t *OpenconfigModuleCatalog_Organizations_Organization_Modules) NewModule(Name string, Version string) (*OpenconfigModuleCatalog_Organizations_Organization_Modules_Module, error)
- func (t *OpenconfigModuleCatalog_Organizations_Organization_Modules) RenameModule(...) error
- func (t *OpenconfigModuleCatalog_Organizations_Organization_Modules) Validate(opts ...ygot.ValidationOption) error
- func (t *OpenconfigModuleCatalog_Organizations_Organization_Modules) ΛEnumTypeMap() map[string][]reflect.Type
- type OpenconfigModuleCatalog_Organizations_Organization_Modules_Module
- func (t *OpenconfigModuleCatalog_Organizations_Organization_Modules_Module) GetAccess() *OpenconfigModuleCatalog_Organizations_Organization_Modules_Module_Access
- func (t *OpenconfigModuleCatalog_Organizations_Organization_Modules_Module) GetClassification() ...
- func (t *OpenconfigModuleCatalog_Organizations_Organization_Modules_Module) GetDependencies() ...
- func (t *OpenconfigModuleCatalog_Organizations_Organization_Modules_Module) GetName() string
- func (t *OpenconfigModuleCatalog_Organizations_Organization_Modules_Module) GetNamespace() string
- func (t *OpenconfigModuleCatalog_Organizations_Organization_Modules_Module) GetOrCreateAccess() *OpenconfigModuleCatalog_Organizations_Organization_Modules_Module_Access
- func (t *OpenconfigModuleCatalog_Organizations_Organization_Modules_Module) GetOrCreateClassification() ...
- func (t *OpenconfigModuleCatalog_Organizations_Organization_Modules_Module) GetOrCreateDependencies() ...
- func (t *OpenconfigModuleCatalog_Organizations_Organization_Modules_Module) GetOrCreateSubmodules() *OpenconfigModuleCatalog_Organizations_Organization_Modules_Module_Submodules
- func (t *OpenconfigModuleCatalog_Organizations_Organization_Modules_Module) GetPrefix() string
- func (t *OpenconfigModuleCatalog_Organizations_Organization_Modules_Module) GetRevision() string
- func (t *OpenconfigModuleCatalog_Organizations_Organization_Modules_Module) GetSubmodules() *OpenconfigModuleCatalog_Organizations_Organization_Modules_Module_Submodules
- func (t *OpenconfigModuleCatalog_Organizations_Organization_Modules_Module) GetSummary() string
- func (t *OpenconfigModuleCatalog_Organizations_Organization_Modules_Module) GetVersion() string
- func (*OpenconfigModuleCatalog_Organizations_Organization_Modules_Module) IsYANGGoStruct()
- func (t *OpenconfigModuleCatalog_Organizations_Organization_Modules_Module) Validate(opts ...ygot.ValidationOption) error
- func (t *OpenconfigModuleCatalog_Organizations_Organization_Modules_Module) ΛEnumTypeMap() map[string][]reflect.Type
- func (t *OpenconfigModuleCatalog_Organizations_Organization_Modules_Module) ΛListKeyMap() (map[string]interface{}, error)
- type OpenconfigModuleCatalog_Organizations_Organization_Modules_Module_Access
- func (t *OpenconfigModuleCatalog_Organizations_Organization_Modules_Module_Access) GetMd5Hash() string
- func (t *OpenconfigModuleCatalog_Organizations_Organization_Modules_Module_Access) GetUri() string
- func (*OpenconfigModuleCatalog_Organizations_Organization_Modules_Module_Access) IsYANGGoStruct()
- func (t *OpenconfigModuleCatalog_Organizations_Organization_Modules_Module_Access) Validate(opts ...ygot.ValidationOption) error
- func (t *OpenconfigModuleCatalog_Organizations_Organization_Modules_Module_Access) ΛEnumTypeMap() map[string][]reflect.Type
- type OpenconfigModuleCatalog_Organizations_Organization_Modules_Module_Classification
- func (t *OpenconfigModuleCatalog_Organizations_Organization_Modules_Module_Classification) GetCategory() E_OpenconfigCatalogTypes_MODULE_CATEGORY_BASE
- func (t *OpenconfigModuleCatalog_Organizations_Organization_Modules_Module_Classification) GetDeploymentStatus() E_OpenconfigCatalogTypes_MODULE_STATUS_TYPE
- func (t *OpenconfigModuleCatalog_Organizations_Organization_Modules_Module_Classification) GetSubcategory() E_OpenconfigCatalogTypes_MODULE_SUBCATEGORY_BASE
- func (*OpenconfigModuleCatalog_Organizations_Organization_Modules_Module_Classification) IsYANGGoStruct()
- func (t *OpenconfigModuleCatalog_Organizations_Organization_Modules_Module_Classification) Validate(opts ...ygot.ValidationOption) error
- func (t *OpenconfigModuleCatalog_Organizations_Organization_Modules_Module_Classification) ΛEnumTypeMap() map[string][]reflect.Type
- type OpenconfigModuleCatalog_Organizations_Organization_Modules_Module_Dependencies
- func (t *OpenconfigModuleCatalog_Organizations_Organization_Modules_Module_Dependencies) GetRequiredModule() []string
- func (*OpenconfigModuleCatalog_Organizations_Organization_Modules_Module_Dependencies) IsYANGGoStruct()
- func (t *OpenconfigModuleCatalog_Organizations_Organization_Modules_Module_Dependencies) Validate(opts ...ygot.ValidationOption) error
- func (t *OpenconfigModuleCatalog_Organizations_Organization_Modules_Module_Dependencies) ΛEnumTypeMap() map[string][]reflect.Type
- type OpenconfigModuleCatalog_Organizations_Organization_Modules_Module_Key
- type OpenconfigModuleCatalog_Organizations_Organization_Modules_Module_Submodules
- func (t *OpenconfigModuleCatalog_Organizations_Organization_Modules_Module_Submodules) AppendSubmodule(...) error
- func (t *OpenconfigModuleCatalog_Organizations_Organization_Modules_Module_Submodules) GetOrCreateSubmodule(Name string) ...
- func (t *OpenconfigModuleCatalog_Organizations_Organization_Modules_Module_Submodules) GetSubmodule(Name string) ...
- func (*OpenconfigModuleCatalog_Organizations_Organization_Modules_Module_Submodules) IsYANGGoStruct()
- func (t *OpenconfigModuleCatalog_Organizations_Organization_Modules_Module_Submodules) NewSubmodule(Name string) (...)
- func (t *OpenconfigModuleCatalog_Organizations_Organization_Modules_Module_Submodules) RenameSubmodule(oldK, newK string) error
- func (t *OpenconfigModuleCatalog_Organizations_Organization_Modules_Module_Submodules) Validate(opts ...ygot.ValidationOption) error
- func (t *OpenconfigModuleCatalog_Organizations_Organization_Modules_Module_Submodules) ΛEnumTypeMap() map[string][]reflect.Type
- type OpenconfigModuleCatalog_Organizations_Organization_Modules_Module_Submodules_Submodule
- func (t *OpenconfigModuleCatalog_Organizations_Organization_Modules_Module_Submodules_Submodule) GetAccess() ...
- func (t *OpenconfigModuleCatalog_Organizations_Organization_Modules_Module_Submodules_Submodule) GetName() string
- func (t *OpenconfigModuleCatalog_Organizations_Organization_Modules_Module_Submodules_Submodule) GetOrCreateAccess() ...
- func (*OpenconfigModuleCatalog_Organizations_Organization_Modules_Module_Submodules_Submodule) IsYANGGoStruct()
- func (t *OpenconfigModuleCatalog_Organizations_Organization_Modules_Module_Submodules_Submodule) Validate(opts ...ygot.ValidationOption) error
- func (t *OpenconfigModuleCatalog_Organizations_Organization_Modules_Module_Submodules_Submodule) ΛEnumTypeMap() map[string][]reflect.Type
- func (t *OpenconfigModuleCatalog_Organizations_Organization_Modules_Module_Submodules_Submodule) ΛListKeyMap() (map[string]interface{}, error)
- type OpenconfigModuleCatalog_Organizations_Organization_Modules_Module_Submodules_Submodule_Access
- func (t *OpenconfigModuleCatalog_Organizations_Organization_Modules_Module_Submodules_Submodule_Access) GetMd5Hash() string
- func (t *OpenconfigModuleCatalog_Organizations_Organization_Modules_Module_Submodules_Submodule_Access) GetUri() string
- func (*OpenconfigModuleCatalog_Organizations_Organization_Modules_Module_Submodules_Submodule_Access) IsYANGGoStruct()
- func (t *OpenconfigModuleCatalog_Organizations_Organization_Modules_Module_Submodules_Submodule_Access) Validate(opts ...ygot.ValidationOption) error
- func (t *OpenconfigModuleCatalog_Organizations_Organization_Modules_Module_Submodules_Submodule_Access) ΛEnumTypeMap() map[string][]reflect.Type
- type OpenconfigModuleCatalog_Organizations_Organization_ReleaseBundles
- func (t *OpenconfigModuleCatalog_Organizations_Organization_ReleaseBundles) AppendReleaseBundle(...) error
- func (t *OpenconfigModuleCatalog_Organizations_Organization_ReleaseBundles) GetOrCreateReleaseBundle(Name string, Version string) ...
- func (t *OpenconfigModuleCatalog_Organizations_Organization_ReleaseBundles) GetReleaseBundle(Name string, Version string) ...
- func (*OpenconfigModuleCatalog_Organizations_Organization_ReleaseBundles) IsYANGGoStruct()
- func (t *OpenconfigModuleCatalog_Organizations_Organization_ReleaseBundles) NewReleaseBundle(Name string, Version string) (...)
- func (t *OpenconfigModuleCatalog_Organizations_Organization_ReleaseBundles) RenameReleaseBundle(...) error
- func (t *OpenconfigModuleCatalog_Organizations_Organization_ReleaseBundles) Validate(opts ...ygot.ValidationOption) error
- func (t *OpenconfigModuleCatalog_Organizations_Organization_ReleaseBundles) ΛEnumTypeMap() map[string][]reflect.Type
- type OpenconfigModuleCatalog_Organizations_Organization_ReleaseBundles_ReleaseBundle
- func (t *OpenconfigModuleCatalog_Organizations_Organization_ReleaseBundles_ReleaseBundle) GetMembers() ...
- func (t *OpenconfigModuleCatalog_Organizations_Organization_ReleaseBundles_ReleaseBundle) GetName() string
- func (t *OpenconfigModuleCatalog_Organizations_Organization_ReleaseBundles_ReleaseBundle) GetOrCreateMembers() ...
- func (t *OpenconfigModuleCatalog_Organizations_Organization_ReleaseBundles_ReleaseBundle) GetVersion() string
- func (*OpenconfigModuleCatalog_Organizations_Organization_ReleaseBundles_ReleaseBundle) IsYANGGoStruct()
- func (t *OpenconfigModuleCatalog_Organizations_Organization_ReleaseBundles_ReleaseBundle) Validate(opts ...ygot.ValidationOption) error
- func (t *OpenconfigModuleCatalog_Organizations_Organization_ReleaseBundles_ReleaseBundle) ΛEnumTypeMap() map[string][]reflect.Type
- func (t *OpenconfigModuleCatalog_Organizations_Organization_ReleaseBundles_ReleaseBundle) ΛListKeyMap() (map[string]interface{}, error)
- type OpenconfigModuleCatalog_Organizations_Organization_ReleaseBundles_ReleaseBundle_Key
- type OpenconfigModuleCatalog_Organizations_Organization_ReleaseBundles_ReleaseBundle_Members
- func (t *OpenconfigModuleCatalog_Organizations_Organization_ReleaseBundles_ReleaseBundle_Members) AppendMember(...) error
- func (t *OpenconfigModuleCatalog_Organizations_Organization_ReleaseBundles_ReleaseBundle_Members) GetMember(Id string) ...
- func (t *OpenconfigModuleCatalog_Organizations_Organization_ReleaseBundles_ReleaseBundle_Members) GetOrCreateMember(Id string) ...
- func (*OpenconfigModuleCatalog_Organizations_Organization_ReleaseBundles_ReleaseBundle_Members) IsYANGGoStruct()
- func (t *OpenconfigModuleCatalog_Organizations_Organization_ReleaseBundles_ReleaseBundle_Members) NewMember(Id string) (...)
- func (t *OpenconfigModuleCatalog_Organizations_Organization_ReleaseBundles_ReleaseBundle_Members) RenameMember(oldK, newK string) error
- func (t *OpenconfigModuleCatalog_Organizations_Organization_ReleaseBundles_ReleaseBundle_Members) Validate(opts ...ygot.ValidationOption) error
- func (t *OpenconfigModuleCatalog_Organizations_Organization_ReleaseBundles_ReleaseBundle_Members) ΛEnumTypeMap() map[string][]reflect.Type
- type OpenconfigModuleCatalog_Organizations_Organization_ReleaseBundles_ReleaseBundle_Members_Member
- func (t *OpenconfigModuleCatalog_Organizations_Organization_ReleaseBundles_ReleaseBundle_Members_Member) GetCompatibleVersions() []string
- func (t *OpenconfigModuleCatalog_Organizations_Organization_ReleaseBundles_ReleaseBundle_Members_Member) GetId() string
- func (t *OpenconfigModuleCatalog_Organizations_Organization_ReleaseBundles_ReleaseBundle_Members_Member) GetModule() string
- func (t *OpenconfigModuleCatalog_Organizations_Organization_ReleaseBundles_ReleaseBundle_Members_Member) GetPublisher() string
- func (t *OpenconfigModuleCatalog_Organizations_Organization_ReleaseBundles_ReleaseBundle_Members_Member) GetReleaseBundle() string
- func (t *OpenconfigModuleCatalog_Organizations_Organization_ReleaseBundles_ReleaseBundle_Members_Member) GetType() E_OpenconfigCatalogTypes_CATALOG_MEMBER_TYPE
- func (*OpenconfigModuleCatalog_Organizations_Organization_ReleaseBundles_ReleaseBundle_Members_Member) IsYANGGoStruct()
- func (t *OpenconfigModuleCatalog_Organizations_Organization_ReleaseBundles_ReleaseBundle_Members_Member) Validate(opts ...ygot.ValidationOption) error
- func (t *OpenconfigModuleCatalog_Organizations_Organization_ReleaseBundles_ReleaseBundle_Members_Member) ΛEnumTypeMap() map[string][]reflect.Type
- func (t *OpenconfigModuleCatalog_Organizations_Organization_ReleaseBundles_ReleaseBundle_Members_Member) ΛListKeyMap() (map[string]interface{}, 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 (
SchemaTree map[string]*yang.Entry
)
var ΛEnum = map[string]map[int64]ygot.EnumDefinition{
"E_OpenconfigCatalogTypes_CATALOG_MEMBER_TYPE": {
1: {Name: "FEATURE_BUNDLE", DefiningModule: "openconfig-catalog-types"},
2: {Name: "MODULE", DefiningModule: "openconfig-catalog-types"},
3: {Name: "RELEASE_BUNDLE", DefiningModule: "openconfig-catalog-types"},
},
"E_OpenconfigCatalogTypes_IMPLEMENTATION_STATUS_TYPE": {
1: {Name: "COMPLETE", DefiningModule: "openconfig-catalog-types"},
2: {Name: "IN_PROGRESS", DefiningModule: "openconfig-catalog-types"},
3: {Name: "PARTIAL", DefiningModule: "openconfig-catalog-types"},
4: {Name: "PLANNED", DefiningModule: "openconfig-catalog-types"},
},
"E_OpenconfigCatalogTypes_MODULE_CATEGORY_BASE": {
1: {Name: "IETF_MODEL_LAYER", DefiningModule: "openconfig-catalog-types"},
2: {Name: "IETF_NETWORK_ELEMENT", DefiningModule: "openconfig-catalog-types"},
3: {Name: "IETF_NETWORK_SERVICE", DefiningModule: "openconfig-catalog-types"},
},
"E_OpenconfigCatalogTypes_MODULE_STATUS_TYPE": {
1: {Name: "EXPERIMENTAL", DefiningModule: "openconfig-catalog-types"},
2: {Name: "PRODUCTION", DefiningModule: "openconfig-catalog-types"},
},
"E_OpenconfigCatalogTypes_MODULE_SUBCATEGORY_BASE": {
1: {Name: "IETF_MODEL_TYPE", DefiningModule: "openconfig-catalog-types"},
2: {Name: "IETF_TYPE_STANDARD", DefiningModule: "openconfig-catalog-types"},
3: {Name: "IETF_TYPE_USER", DefiningModule: "openconfig-catalog-types"},
4: {Name: "IETF_TYPE_VENDOR", DefiningModule: "openconfig-catalog-types"},
},
"E_OpenconfigCatalogTypes_ORGANIZATION_TYPE": {
1: {Name: "COMMERCIAL", DefiningModule: "openconfig-catalog-types"},
2: {Name: "INDIVIDUAL", DefiningModule: "openconfig-catalog-types"},
3: {Name: "INDUSTRY", DefiningModule: "openconfig-catalog-types"},
4: {Name: "STANDARDS", DefiningModule: "openconfig-catalog-types"},
},
}
Λ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.
var ΛEnumTypes = map[string][]reflect.Type{ "/organizations/organization/implementations/implementation/status": { reflect.TypeOf((E_OpenconfigCatalogTypes_IMPLEMENTATION_STATUS_TYPE)(0)), }, "/organizations/organization/modules/module/classification/category": { reflect.TypeOf((E_OpenconfigCatalogTypes_MODULE_CATEGORY_BASE)(0)), }, "/organizations/organization/modules/module/classification/deployment-status": { reflect.TypeOf((E_OpenconfigCatalogTypes_MODULE_STATUS_TYPE)(0)), }, "/organizations/organization/modules/module/classification/subcategory": { reflect.TypeOf((E_OpenconfigCatalogTypes_MODULE_SUBCATEGORY_BASE)(0)), }, "/organizations/organization/release-bundles/release-bundle/members/member/type": { reflect.TypeOf((E_OpenconfigCatalogTypes_CATALOG_MEMBER_TYPE)(0)), }, "/organizations/organization/type": { reflect.TypeOf((E_OpenconfigCatalogTypes_ORGANIZATION_TYPE)(0)), }, }
ΛEnumTypes is a map, keyed by a YANG schema path, of the enumerated types that correspond with the leaf. The type is represented as a reflect.Type. The naming of the map ensures that there are no clashes with valid YANG identifiers.
Functions ¶
func Unmarshal ¶
Unmarshal unmarshals data, which must be RFC7951 JSON format, into destStruct, which must be non-nil and the correct GoStruct type. It returns an error if the destStruct is not found in the schema or the data cannot be unmarshaled. The supplied options (opts) are used to control the behaviour of the unmarshal function - for example, determining whether errors are thrown for unknown fields in the input JSON.
Types ¶
type Binary ¶
type Binary []byte
Binary is a type that is used for fields that have a YANG type of binary. It is used such that binary fields can be distinguished from leaf-lists of uint8s (which are mapped to []uint8, equivalent to []byte in reflection).
type E_OpenconfigCatalogTypes_CATALOG_MEMBER_TYPE ¶
type E_OpenconfigCatalogTypes_CATALOG_MEMBER_TYPE int64
E_OpenconfigCatalogTypes_CATALOG_MEMBER_TYPE is a derived int64 type which is used to represent the enumerated node OpenconfigCatalogTypes_CATALOG_MEMBER_TYPE. An additional value named OpenconfigCatalogTypes_CATALOG_MEMBER_TYPE_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 ( // OpenconfigCatalogTypes_CATALOG_MEMBER_TYPE_UNSET corresponds to the value UNSET of OpenconfigCatalogTypes_CATALOG_MEMBER_TYPE OpenconfigCatalogTypes_CATALOG_MEMBER_TYPE_UNSET E_OpenconfigCatalogTypes_CATALOG_MEMBER_TYPE = 0 // OpenconfigCatalogTypes_CATALOG_MEMBER_TYPE_FEATURE_BUNDLE corresponds to the value FEATURE_BUNDLE of OpenconfigCatalogTypes_CATALOG_MEMBER_TYPE OpenconfigCatalogTypes_CATALOG_MEMBER_TYPE_FEATURE_BUNDLE E_OpenconfigCatalogTypes_CATALOG_MEMBER_TYPE = 1 // OpenconfigCatalogTypes_CATALOG_MEMBER_TYPE_MODULE corresponds to the value MODULE of OpenconfigCatalogTypes_CATALOG_MEMBER_TYPE OpenconfigCatalogTypes_CATALOG_MEMBER_TYPE_MODULE E_OpenconfigCatalogTypes_CATALOG_MEMBER_TYPE = 2 // OpenconfigCatalogTypes_CATALOG_MEMBER_TYPE_RELEASE_BUNDLE corresponds to the value RELEASE_BUNDLE of OpenconfigCatalogTypes_CATALOG_MEMBER_TYPE OpenconfigCatalogTypes_CATALOG_MEMBER_TYPE_RELEASE_BUNDLE E_OpenconfigCatalogTypes_CATALOG_MEMBER_TYPE = 3 )
func (E_OpenconfigCatalogTypes_CATALOG_MEMBER_TYPE) IsYANGGoEnum ¶
func (E_OpenconfigCatalogTypes_CATALOG_MEMBER_TYPE) IsYANGGoEnum()
IsYANGGoEnum ensures that OpenconfigCatalogTypes_CATALOG_MEMBER_TYPE implements the yang.GoEnum interface. This ensures that OpenconfigCatalogTypes_CATALOG_MEMBER_TYPE can be identified as a mapped type for a YANG enumeration.
func (E_OpenconfigCatalogTypes_CATALOG_MEMBER_TYPE) String ¶
func (e E_OpenconfigCatalogTypes_CATALOG_MEMBER_TYPE) String() string
String returns a logging-friendly string for E_OpenconfigCatalogTypes_CATALOG_MEMBER_TYPE.
func (E_OpenconfigCatalogTypes_CATALOG_MEMBER_TYPE) ΛMap ¶
func (E_OpenconfigCatalogTypes_CATALOG_MEMBER_TYPE) ΛMap() map[string]map[int64]ygot.EnumDefinition
ΛMap returns the value lookup map associated with OpenconfigCatalogTypes_CATALOG_MEMBER_TYPE.
type E_OpenconfigCatalogTypes_IMPLEMENTATION_STATUS_TYPE ¶
type E_OpenconfigCatalogTypes_IMPLEMENTATION_STATUS_TYPE int64
E_OpenconfigCatalogTypes_IMPLEMENTATION_STATUS_TYPE is a derived int64 type which is used to represent the enumerated node OpenconfigCatalogTypes_IMPLEMENTATION_STATUS_TYPE. An additional value named OpenconfigCatalogTypes_IMPLEMENTATION_STATUS_TYPE_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 ( // OpenconfigCatalogTypes_IMPLEMENTATION_STATUS_TYPE_UNSET corresponds to the value UNSET of OpenconfigCatalogTypes_IMPLEMENTATION_STATUS_TYPE OpenconfigCatalogTypes_IMPLEMENTATION_STATUS_TYPE_UNSET E_OpenconfigCatalogTypes_IMPLEMENTATION_STATUS_TYPE = 0 // OpenconfigCatalogTypes_IMPLEMENTATION_STATUS_TYPE_COMPLETE corresponds to the value COMPLETE of OpenconfigCatalogTypes_IMPLEMENTATION_STATUS_TYPE OpenconfigCatalogTypes_IMPLEMENTATION_STATUS_TYPE_COMPLETE E_OpenconfigCatalogTypes_IMPLEMENTATION_STATUS_TYPE = 1 // OpenconfigCatalogTypes_IMPLEMENTATION_STATUS_TYPE_IN_PROGRESS corresponds to the value IN_PROGRESS of OpenconfigCatalogTypes_IMPLEMENTATION_STATUS_TYPE OpenconfigCatalogTypes_IMPLEMENTATION_STATUS_TYPE_IN_PROGRESS E_OpenconfigCatalogTypes_IMPLEMENTATION_STATUS_TYPE = 2 // OpenconfigCatalogTypes_IMPLEMENTATION_STATUS_TYPE_PARTIAL corresponds to the value PARTIAL of OpenconfigCatalogTypes_IMPLEMENTATION_STATUS_TYPE OpenconfigCatalogTypes_IMPLEMENTATION_STATUS_TYPE_PARTIAL E_OpenconfigCatalogTypes_IMPLEMENTATION_STATUS_TYPE = 3 // OpenconfigCatalogTypes_IMPLEMENTATION_STATUS_TYPE_PLANNED corresponds to the value PLANNED of OpenconfigCatalogTypes_IMPLEMENTATION_STATUS_TYPE OpenconfigCatalogTypes_IMPLEMENTATION_STATUS_TYPE_PLANNED E_OpenconfigCatalogTypes_IMPLEMENTATION_STATUS_TYPE = 4 )
func (E_OpenconfigCatalogTypes_IMPLEMENTATION_STATUS_TYPE) IsYANGGoEnum ¶
func (E_OpenconfigCatalogTypes_IMPLEMENTATION_STATUS_TYPE) IsYANGGoEnum()
IsYANGGoEnum ensures that OpenconfigCatalogTypes_IMPLEMENTATION_STATUS_TYPE implements the yang.GoEnum interface. This ensures that OpenconfigCatalogTypes_IMPLEMENTATION_STATUS_TYPE can be identified as a mapped type for a YANG enumeration.
func (E_OpenconfigCatalogTypes_IMPLEMENTATION_STATUS_TYPE) String ¶
func (e E_OpenconfigCatalogTypes_IMPLEMENTATION_STATUS_TYPE) String() string
String returns a logging-friendly string for E_OpenconfigCatalogTypes_IMPLEMENTATION_STATUS_TYPE.
func (E_OpenconfigCatalogTypes_IMPLEMENTATION_STATUS_TYPE) ΛMap ¶
func (E_OpenconfigCatalogTypes_IMPLEMENTATION_STATUS_TYPE) ΛMap() map[string]map[int64]ygot.EnumDefinition
ΛMap returns the value lookup map associated with OpenconfigCatalogTypes_IMPLEMENTATION_STATUS_TYPE.
type E_OpenconfigCatalogTypes_MODULE_CATEGORY_BASE ¶
type E_OpenconfigCatalogTypes_MODULE_CATEGORY_BASE int64
E_OpenconfigCatalogTypes_MODULE_CATEGORY_BASE is a derived int64 type which is used to represent the enumerated node OpenconfigCatalogTypes_MODULE_CATEGORY_BASE. An additional value named OpenconfigCatalogTypes_MODULE_CATEGORY_BASE_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 ( // OpenconfigCatalogTypes_MODULE_CATEGORY_BASE_UNSET corresponds to the value UNSET of OpenconfigCatalogTypes_MODULE_CATEGORY_BASE OpenconfigCatalogTypes_MODULE_CATEGORY_BASE_UNSET E_OpenconfigCatalogTypes_MODULE_CATEGORY_BASE = 0 // OpenconfigCatalogTypes_MODULE_CATEGORY_BASE_IETF_MODEL_LAYER corresponds to the value IETF_MODEL_LAYER of OpenconfigCatalogTypes_MODULE_CATEGORY_BASE OpenconfigCatalogTypes_MODULE_CATEGORY_BASE_IETF_MODEL_LAYER E_OpenconfigCatalogTypes_MODULE_CATEGORY_BASE = 1 // OpenconfigCatalogTypes_MODULE_CATEGORY_BASE_IETF_NETWORK_ELEMENT corresponds to the value IETF_NETWORK_ELEMENT of OpenconfigCatalogTypes_MODULE_CATEGORY_BASE OpenconfigCatalogTypes_MODULE_CATEGORY_BASE_IETF_NETWORK_ELEMENT E_OpenconfigCatalogTypes_MODULE_CATEGORY_BASE = 2 // OpenconfigCatalogTypes_MODULE_CATEGORY_BASE_IETF_NETWORK_SERVICE corresponds to the value IETF_NETWORK_SERVICE of OpenconfigCatalogTypes_MODULE_CATEGORY_BASE OpenconfigCatalogTypes_MODULE_CATEGORY_BASE_IETF_NETWORK_SERVICE E_OpenconfigCatalogTypes_MODULE_CATEGORY_BASE = 3 )
func (E_OpenconfigCatalogTypes_MODULE_CATEGORY_BASE) IsYANGGoEnum ¶
func (E_OpenconfigCatalogTypes_MODULE_CATEGORY_BASE) IsYANGGoEnum()
IsYANGGoEnum ensures that OpenconfigCatalogTypes_MODULE_CATEGORY_BASE implements the yang.GoEnum interface. This ensures that OpenconfigCatalogTypes_MODULE_CATEGORY_BASE can be identified as a mapped type for a YANG enumeration.
func (E_OpenconfigCatalogTypes_MODULE_CATEGORY_BASE) String ¶
func (e E_OpenconfigCatalogTypes_MODULE_CATEGORY_BASE) String() string
String returns a logging-friendly string for E_OpenconfigCatalogTypes_MODULE_CATEGORY_BASE.
func (E_OpenconfigCatalogTypes_MODULE_CATEGORY_BASE) ΛMap ¶
func (E_OpenconfigCatalogTypes_MODULE_CATEGORY_BASE) ΛMap() map[string]map[int64]ygot.EnumDefinition
ΛMap returns the value lookup map associated with OpenconfigCatalogTypes_MODULE_CATEGORY_BASE.
type E_OpenconfigCatalogTypes_MODULE_STATUS_TYPE ¶
type E_OpenconfigCatalogTypes_MODULE_STATUS_TYPE int64
E_OpenconfigCatalogTypes_MODULE_STATUS_TYPE is a derived int64 type which is used to represent the enumerated node OpenconfigCatalogTypes_MODULE_STATUS_TYPE. An additional value named OpenconfigCatalogTypes_MODULE_STATUS_TYPE_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 ( // OpenconfigCatalogTypes_MODULE_STATUS_TYPE_UNSET corresponds to the value UNSET of OpenconfigCatalogTypes_MODULE_STATUS_TYPE OpenconfigCatalogTypes_MODULE_STATUS_TYPE_UNSET E_OpenconfigCatalogTypes_MODULE_STATUS_TYPE = 0 // OpenconfigCatalogTypes_MODULE_STATUS_TYPE_EXPERIMENTAL corresponds to the value EXPERIMENTAL of OpenconfigCatalogTypes_MODULE_STATUS_TYPE OpenconfigCatalogTypes_MODULE_STATUS_TYPE_EXPERIMENTAL E_OpenconfigCatalogTypes_MODULE_STATUS_TYPE = 1 // OpenconfigCatalogTypes_MODULE_STATUS_TYPE_PRODUCTION corresponds to the value PRODUCTION of OpenconfigCatalogTypes_MODULE_STATUS_TYPE OpenconfigCatalogTypes_MODULE_STATUS_TYPE_PRODUCTION E_OpenconfigCatalogTypes_MODULE_STATUS_TYPE = 2 )
func (E_OpenconfigCatalogTypes_MODULE_STATUS_TYPE) IsYANGGoEnum ¶
func (E_OpenconfigCatalogTypes_MODULE_STATUS_TYPE) IsYANGGoEnum()
IsYANGGoEnum ensures that OpenconfigCatalogTypes_MODULE_STATUS_TYPE implements the yang.GoEnum interface. This ensures that OpenconfigCatalogTypes_MODULE_STATUS_TYPE can be identified as a mapped type for a YANG enumeration.
func (E_OpenconfigCatalogTypes_MODULE_STATUS_TYPE) String ¶
func (e E_OpenconfigCatalogTypes_MODULE_STATUS_TYPE) String() string
String returns a logging-friendly string for E_OpenconfigCatalogTypes_MODULE_STATUS_TYPE.
func (E_OpenconfigCatalogTypes_MODULE_STATUS_TYPE) ΛMap ¶
func (E_OpenconfigCatalogTypes_MODULE_STATUS_TYPE) ΛMap() map[string]map[int64]ygot.EnumDefinition
ΛMap returns the value lookup map associated with OpenconfigCatalogTypes_MODULE_STATUS_TYPE.
type E_OpenconfigCatalogTypes_MODULE_SUBCATEGORY_BASE ¶
type E_OpenconfigCatalogTypes_MODULE_SUBCATEGORY_BASE int64
E_OpenconfigCatalogTypes_MODULE_SUBCATEGORY_BASE is a derived int64 type which is used to represent the enumerated node OpenconfigCatalogTypes_MODULE_SUBCATEGORY_BASE. An additional value named OpenconfigCatalogTypes_MODULE_SUBCATEGORY_BASE_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 ( // OpenconfigCatalogTypes_MODULE_SUBCATEGORY_BASE_UNSET corresponds to the value UNSET of OpenconfigCatalogTypes_MODULE_SUBCATEGORY_BASE OpenconfigCatalogTypes_MODULE_SUBCATEGORY_BASE_UNSET E_OpenconfigCatalogTypes_MODULE_SUBCATEGORY_BASE = 0 // OpenconfigCatalogTypes_MODULE_SUBCATEGORY_BASE_IETF_MODEL_TYPE corresponds to the value IETF_MODEL_TYPE of OpenconfigCatalogTypes_MODULE_SUBCATEGORY_BASE OpenconfigCatalogTypes_MODULE_SUBCATEGORY_BASE_IETF_MODEL_TYPE E_OpenconfigCatalogTypes_MODULE_SUBCATEGORY_BASE = 1 // OpenconfigCatalogTypes_MODULE_SUBCATEGORY_BASE_IETF_TYPE_STANDARD corresponds to the value IETF_TYPE_STANDARD of OpenconfigCatalogTypes_MODULE_SUBCATEGORY_BASE OpenconfigCatalogTypes_MODULE_SUBCATEGORY_BASE_IETF_TYPE_STANDARD E_OpenconfigCatalogTypes_MODULE_SUBCATEGORY_BASE = 2 // OpenconfigCatalogTypes_MODULE_SUBCATEGORY_BASE_IETF_TYPE_USER corresponds to the value IETF_TYPE_USER of OpenconfigCatalogTypes_MODULE_SUBCATEGORY_BASE OpenconfigCatalogTypes_MODULE_SUBCATEGORY_BASE_IETF_TYPE_USER E_OpenconfigCatalogTypes_MODULE_SUBCATEGORY_BASE = 3 // OpenconfigCatalogTypes_MODULE_SUBCATEGORY_BASE_IETF_TYPE_VENDOR corresponds to the value IETF_TYPE_VENDOR of OpenconfigCatalogTypes_MODULE_SUBCATEGORY_BASE OpenconfigCatalogTypes_MODULE_SUBCATEGORY_BASE_IETF_TYPE_VENDOR E_OpenconfigCatalogTypes_MODULE_SUBCATEGORY_BASE = 4 )
func (E_OpenconfigCatalogTypes_MODULE_SUBCATEGORY_BASE) IsYANGGoEnum ¶
func (E_OpenconfigCatalogTypes_MODULE_SUBCATEGORY_BASE) IsYANGGoEnum()
IsYANGGoEnum ensures that OpenconfigCatalogTypes_MODULE_SUBCATEGORY_BASE implements the yang.GoEnum interface. This ensures that OpenconfigCatalogTypes_MODULE_SUBCATEGORY_BASE can be identified as a mapped type for a YANG enumeration.
func (E_OpenconfigCatalogTypes_MODULE_SUBCATEGORY_BASE) String ¶
func (e E_OpenconfigCatalogTypes_MODULE_SUBCATEGORY_BASE) String() string
String returns a logging-friendly string for E_OpenconfigCatalogTypes_MODULE_SUBCATEGORY_BASE.
func (E_OpenconfigCatalogTypes_MODULE_SUBCATEGORY_BASE) ΛMap ¶
func (E_OpenconfigCatalogTypes_MODULE_SUBCATEGORY_BASE) ΛMap() map[string]map[int64]ygot.EnumDefinition
ΛMap returns the value lookup map associated with OpenconfigCatalogTypes_MODULE_SUBCATEGORY_BASE.
type E_OpenconfigCatalogTypes_ORGANIZATION_TYPE ¶
type E_OpenconfigCatalogTypes_ORGANIZATION_TYPE int64
E_OpenconfigCatalogTypes_ORGANIZATION_TYPE is a derived int64 type which is used to represent the enumerated node OpenconfigCatalogTypes_ORGANIZATION_TYPE. An additional value named OpenconfigCatalogTypes_ORGANIZATION_TYPE_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 ( // OpenconfigCatalogTypes_ORGANIZATION_TYPE_UNSET corresponds to the value UNSET of OpenconfigCatalogTypes_ORGANIZATION_TYPE OpenconfigCatalogTypes_ORGANIZATION_TYPE_UNSET E_OpenconfigCatalogTypes_ORGANIZATION_TYPE = 0 // OpenconfigCatalogTypes_ORGANIZATION_TYPE_COMMERCIAL corresponds to the value COMMERCIAL of OpenconfigCatalogTypes_ORGANIZATION_TYPE OpenconfigCatalogTypes_ORGANIZATION_TYPE_COMMERCIAL E_OpenconfigCatalogTypes_ORGANIZATION_TYPE = 1 // OpenconfigCatalogTypes_ORGANIZATION_TYPE_INDIVIDUAL corresponds to the value INDIVIDUAL of OpenconfigCatalogTypes_ORGANIZATION_TYPE OpenconfigCatalogTypes_ORGANIZATION_TYPE_INDIVIDUAL E_OpenconfigCatalogTypes_ORGANIZATION_TYPE = 2 // OpenconfigCatalogTypes_ORGANIZATION_TYPE_INDUSTRY corresponds to the value INDUSTRY of OpenconfigCatalogTypes_ORGANIZATION_TYPE OpenconfigCatalogTypes_ORGANIZATION_TYPE_INDUSTRY E_OpenconfigCatalogTypes_ORGANIZATION_TYPE = 3 // OpenconfigCatalogTypes_ORGANIZATION_TYPE_STANDARDS corresponds to the value STANDARDS of OpenconfigCatalogTypes_ORGANIZATION_TYPE OpenconfigCatalogTypes_ORGANIZATION_TYPE_STANDARDS E_OpenconfigCatalogTypes_ORGANIZATION_TYPE = 4 )
func (E_OpenconfigCatalogTypes_ORGANIZATION_TYPE) IsYANGGoEnum ¶
func (E_OpenconfigCatalogTypes_ORGANIZATION_TYPE) IsYANGGoEnum()
IsYANGGoEnum ensures that OpenconfigCatalogTypes_ORGANIZATION_TYPE implements the yang.GoEnum interface. This ensures that OpenconfigCatalogTypes_ORGANIZATION_TYPE can be identified as a mapped type for a YANG enumeration.
func (E_OpenconfigCatalogTypes_ORGANIZATION_TYPE) String ¶
func (e E_OpenconfigCatalogTypes_ORGANIZATION_TYPE) String() string
String returns a logging-friendly string for E_OpenconfigCatalogTypes_ORGANIZATION_TYPE.
func (E_OpenconfigCatalogTypes_ORGANIZATION_TYPE) ΛMap ¶
func (E_OpenconfigCatalogTypes_ORGANIZATION_TYPE) ΛMap() map[string]map[int64]ygot.EnumDefinition
ΛMap returns the value lookup map associated with OpenconfigCatalogTypes_ORGANIZATION_TYPE.
type OpenconfigModuleCatalog_Organizations ¶
type OpenconfigModuleCatalog_Organizations struct {
Organization map[string]*OpenconfigModuleCatalog_Organizations_Organization `path:"organization" module:"openconfig-module-catalog"`
}
OpenconfigModuleCatalog_Organizations represents the /openconfig-module-catalog/organizations YANG schema element.
func (*OpenconfigModuleCatalog_Organizations) AppendOrganization ¶
func (t *OpenconfigModuleCatalog_Organizations) AppendOrganization(v *OpenconfigModuleCatalog_Organizations_Organization) error
AppendOrganization appends the supplied OpenconfigModuleCatalog_Organizations_Organization struct to the list Organization of OpenconfigModuleCatalog_Organizations. If the key value(s) specified in the supplied OpenconfigModuleCatalog_Organizations_Organization already exist in the list, an error is returned.
func (*OpenconfigModuleCatalog_Organizations) GetOrCreateOrganization ¶
func (t *OpenconfigModuleCatalog_Organizations) GetOrCreateOrganization(Name string) *OpenconfigModuleCatalog_Organizations_Organization
GetOrCreateOrganization retrieves the value with the specified keys from the receiver OpenconfigModuleCatalog_Organizations. If the entry does not exist, then it is created. It returns the existing or new list member.
func (*OpenconfigModuleCatalog_Organizations) GetOrganization ¶
func (t *OpenconfigModuleCatalog_Organizations) GetOrganization(Name string) *OpenconfigModuleCatalog_Organizations_Organization
GetOrganization retrieves the value with the specified key from the Organization map field of OpenconfigModuleCatalog_Organizations. 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 (*OpenconfigModuleCatalog_Organizations) IsYANGGoStruct ¶
func (*OpenconfigModuleCatalog_Organizations) IsYANGGoStruct()
IsYANGGoStruct ensures that OpenconfigModuleCatalog_Organizations implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.
func (*OpenconfigModuleCatalog_Organizations) NewOrganization ¶
func (t *OpenconfigModuleCatalog_Organizations) NewOrganization(Name string) (*OpenconfigModuleCatalog_Organizations_Organization, error)
NewOrganization creates a new entry in the Organization list of the OpenconfigModuleCatalog_Organizations struct. The keys of the list are populated from the input arguments.
func (*OpenconfigModuleCatalog_Organizations) RenameOrganization ¶
func (t *OpenconfigModuleCatalog_Organizations) RenameOrganization(oldK, newK string) error
RenameOrganization renames an entry in the list Organization within the OpenconfigModuleCatalog_Organizations struct. The entry with key oldK is renamed to newK updating the key within the value.
func (*OpenconfigModuleCatalog_Organizations) Validate ¶
func (t *OpenconfigModuleCatalog_Organizations) Validate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
func (*OpenconfigModuleCatalog_Organizations) ΛEnumTypeMap ¶
func (t *OpenconfigModuleCatalog_Organizations) ΛEnumTypeMap() map[string][]reflect.Type
ΛEnumTypeMap returns a map, keyed by YANG schema path, of the enumerated types that are included in the generated code.
type OpenconfigModuleCatalog_Organizations_Organization ¶
type OpenconfigModuleCatalog_Organizations_Organization struct { Contact *string `path:"contact" module:"openconfig-module-catalog"` FeatureBundles *OpenconfigModuleCatalog_Organizations_Organization_FeatureBundles `path:"feature-bundles" module:"openconfig-module-catalog"` Implementations *OpenconfigModuleCatalog_Organizations_Organization_Implementations `path:"implementations" module:"openconfig-module-catalog"` Modules *OpenconfigModuleCatalog_Organizations_Organization_Modules `path:"modules" module:"openconfig-module-catalog"` Name *string `path:"name" module:"openconfig-module-catalog"` ReleaseBundles *OpenconfigModuleCatalog_Organizations_Organization_ReleaseBundles `path:"release-bundles" module:"openconfig-module-catalog"` Type E_OpenconfigCatalogTypes_ORGANIZATION_TYPE `path:"type" module:"openconfig-module-catalog"` }
OpenconfigModuleCatalog_Organizations_Organization represents the /openconfig-module-catalog/organizations/organization YANG schema element.
func (*OpenconfigModuleCatalog_Organizations_Organization) GetContact ¶
func (t *OpenconfigModuleCatalog_Organizations_Organization) GetContact() string
GetContact retrieves the value of the leaf Contact from the OpenconfigModuleCatalog_Organizations_Organization struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Contact is set, it can safely use t.GetContact() 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.Contact == nil' before retrieving the leaf's value.
func (*OpenconfigModuleCatalog_Organizations_Organization) GetFeatureBundles ¶
func (t *OpenconfigModuleCatalog_Organizations_Organization) GetFeatureBundles() *OpenconfigModuleCatalog_Organizations_Organization_FeatureBundles
GetFeatureBundles returns the value of the FeatureBundles struct pointer from OpenconfigModuleCatalog_Organizations_Organization. If the receiver or the field FeatureBundles is nil, nil is returned such that the Get* methods can be safely chained.
func (*OpenconfigModuleCatalog_Organizations_Organization) GetImplementations ¶
func (t *OpenconfigModuleCatalog_Organizations_Organization) GetImplementations() *OpenconfigModuleCatalog_Organizations_Organization_Implementations
GetImplementations returns the value of the Implementations struct pointer from OpenconfigModuleCatalog_Organizations_Organization. If the receiver or the field Implementations is nil, nil is returned such that the Get* methods can be safely chained.
func (*OpenconfigModuleCatalog_Organizations_Organization) GetModules ¶
func (t *OpenconfigModuleCatalog_Organizations_Organization) GetModules() *OpenconfigModuleCatalog_Organizations_Organization_Modules
GetModules returns the value of the Modules struct pointer from OpenconfigModuleCatalog_Organizations_Organization. If the receiver or the field Modules is nil, nil is returned such that the Get* methods can be safely chained.
func (*OpenconfigModuleCatalog_Organizations_Organization) GetName ¶
func (t *OpenconfigModuleCatalog_Organizations_Organization) GetName() string
GetName retrieves the value of the leaf Name from the OpenconfigModuleCatalog_Organizations_Organization struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Name is set, it can safely use t.GetName() 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.Name == nil' before retrieving the leaf's value.
func (*OpenconfigModuleCatalog_Organizations_Organization) GetOrCreateFeatureBundles ¶
func (t *OpenconfigModuleCatalog_Organizations_Organization) GetOrCreateFeatureBundles() *OpenconfigModuleCatalog_Organizations_Organization_FeatureBundles
GetOrCreateFeatureBundles retrieves the value of the FeatureBundles field or returns the existing field if it already exists.
func (*OpenconfigModuleCatalog_Organizations_Organization) GetOrCreateImplementations ¶
func (t *OpenconfigModuleCatalog_Organizations_Organization) GetOrCreateImplementations() *OpenconfigModuleCatalog_Organizations_Organization_Implementations
GetOrCreateImplementations retrieves the value of the Implementations field or returns the existing field if it already exists.
func (*OpenconfigModuleCatalog_Organizations_Organization) GetOrCreateModules ¶
func (t *OpenconfigModuleCatalog_Organizations_Organization) GetOrCreateModules() *OpenconfigModuleCatalog_Organizations_Organization_Modules
GetOrCreateModules retrieves the value of the Modules field or returns the existing field if it already exists.
func (*OpenconfigModuleCatalog_Organizations_Organization) GetOrCreateReleaseBundles ¶
func (t *OpenconfigModuleCatalog_Organizations_Organization) GetOrCreateReleaseBundles() *OpenconfigModuleCatalog_Organizations_Organization_ReleaseBundles
GetOrCreateReleaseBundles retrieves the value of the ReleaseBundles field or returns the existing field if it already exists.
func (*OpenconfigModuleCatalog_Organizations_Organization) GetReleaseBundles ¶
func (t *OpenconfigModuleCatalog_Organizations_Organization) GetReleaseBundles() *OpenconfigModuleCatalog_Organizations_Organization_ReleaseBundles
GetReleaseBundles returns the value of the ReleaseBundles struct pointer from OpenconfigModuleCatalog_Organizations_Organization. If the receiver or the field ReleaseBundles is nil, nil is returned such that the Get* methods can be safely chained.
func (*OpenconfigModuleCatalog_Organizations_Organization) GetType ¶
func (t *OpenconfigModuleCatalog_Organizations_Organization) GetType() E_OpenconfigCatalogTypes_ORGANIZATION_TYPE
GetType retrieves the value of the leaf Type from the OpenconfigModuleCatalog_Organizations_Organization struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Type is set, it can safely use t.GetType() 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.Type == nil' before retrieving the leaf's value.
func (*OpenconfigModuleCatalog_Organizations_Organization) IsYANGGoStruct ¶
func (*OpenconfigModuleCatalog_Organizations_Organization) IsYANGGoStruct()
IsYANGGoStruct ensures that OpenconfigModuleCatalog_Organizations_Organization implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.
func (*OpenconfigModuleCatalog_Organizations_Organization) Validate ¶
func (t *OpenconfigModuleCatalog_Organizations_Organization) Validate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
func (*OpenconfigModuleCatalog_Organizations_Organization) ΛEnumTypeMap ¶
func (t *OpenconfigModuleCatalog_Organizations_Organization) Λ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 (*OpenconfigModuleCatalog_Organizations_Organization) ΛListKeyMap ¶
func (t *OpenconfigModuleCatalog_Organizations_Organization) ΛListKeyMap() (map[string]interface{}, error)
ΛListKeyMap returns the keys of the OpenconfigModuleCatalog_Organizations_Organization struct, which is a YANG list entry.
type OpenconfigModuleCatalog_Organizations_Organization_FeatureBundles ¶
type OpenconfigModuleCatalog_Organizations_Organization_FeatureBundles struct {
FeatureBundle map[OpenconfigModuleCatalog_Organizations_Organization_FeatureBundles_FeatureBundle_Key]*OpenconfigModuleCatalog_Organizations_Organization_FeatureBundles_FeatureBundle `path:"feature-bundle" module:"openconfig-module-catalog"`
}
OpenconfigModuleCatalog_Organizations_Organization_FeatureBundles represents the /openconfig-module-catalog/organizations/organization/feature-bundles YANG schema element.
func (*OpenconfigModuleCatalog_Organizations_Organization_FeatureBundles) AppendFeatureBundle ¶
func (t *OpenconfigModuleCatalog_Organizations_Organization_FeatureBundles) AppendFeatureBundle(v *OpenconfigModuleCatalog_Organizations_Organization_FeatureBundles_FeatureBundle) error
AppendFeatureBundle appends the supplied OpenconfigModuleCatalog_Organizations_Organization_FeatureBundles_FeatureBundle struct to the list FeatureBundle of OpenconfigModuleCatalog_Organizations_Organization_FeatureBundles. If the key value(s) specified in the supplied OpenconfigModuleCatalog_Organizations_Organization_FeatureBundles_FeatureBundle already exist in the list, an error is returned.
func (*OpenconfigModuleCatalog_Organizations_Organization_FeatureBundles) GetFeatureBundle ¶
func (t *OpenconfigModuleCatalog_Organizations_Organization_FeatureBundles) GetFeatureBundle(Name string, Version string) *OpenconfigModuleCatalog_Organizations_Organization_FeatureBundles_FeatureBundle
GetFeatureBundle retrieves the value with the specified key from the FeatureBundle map field of OpenconfigModuleCatalog_Organizations_Organization_FeatureBundles. 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 (*OpenconfigModuleCatalog_Organizations_Organization_FeatureBundles) GetOrCreateFeatureBundle ¶
func (t *OpenconfigModuleCatalog_Organizations_Organization_FeatureBundles) GetOrCreateFeatureBundle(Name string, Version string) *OpenconfigModuleCatalog_Organizations_Organization_FeatureBundles_FeatureBundle
GetOrCreateFeatureBundle retrieves the value with the specified keys from the receiver OpenconfigModuleCatalog_Organizations_Organization_FeatureBundles. If the entry does not exist, then it is created. It returns the existing or new list member.
func (*OpenconfigModuleCatalog_Organizations_Organization_FeatureBundles) IsYANGGoStruct ¶
func (*OpenconfigModuleCatalog_Organizations_Organization_FeatureBundles) IsYANGGoStruct()
IsYANGGoStruct ensures that OpenconfigModuleCatalog_Organizations_Organization_FeatureBundles implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.
func (*OpenconfigModuleCatalog_Organizations_Organization_FeatureBundles) NewFeatureBundle ¶
func (t *OpenconfigModuleCatalog_Organizations_Organization_FeatureBundles) NewFeatureBundle(Name string, Version string) (*OpenconfigModuleCatalog_Organizations_Organization_FeatureBundles_FeatureBundle, error)
NewFeatureBundle creates a new entry in the FeatureBundle list of the OpenconfigModuleCatalog_Organizations_Organization_FeatureBundles struct. The keys of the list are populated from the input arguments.
func (*OpenconfigModuleCatalog_Organizations_Organization_FeatureBundles) RenameFeatureBundle ¶
func (t *OpenconfigModuleCatalog_Organizations_Organization_FeatureBundles) RenameFeatureBundle(oldK, newK OpenconfigModuleCatalog_Organizations_Organization_FeatureBundles_FeatureBundle_Key) error
RenameFeatureBundle renames an entry in the list FeatureBundle within the OpenconfigModuleCatalog_Organizations_Organization_FeatureBundles struct. The entry with key oldK is renamed to newK updating the key within the value.
func (*OpenconfigModuleCatalog_Organizations_Organization_FeatureBundles) Validate ¶
func (t *OpenconfigModuleCatalog_Organizations_Organization_FeatureBundles) Validate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
func (*OpenconfigModuleCatalog_Organizations_Organization_FeatureBundles) ΛEnumTypeMap ¶
func (t *OpenconfigModuleCatalog_Organizations_Organization_FeatureBundles) ΛEnumTypeMap() map[string][]reflect.Type
ΛEnumTypeMap returns a map, keyed by YANG schema path, of the enumerated types that are included in the generated code.
type OpenconfigModuleCatalog_Organizations_Organization_FeatureBundles_FeatureBundle ¶
type OpenconfigModuleCatalog_Organizations_Organization_FeatureBundles_FeatureBundle struct { FeatureBundles *OpenconfigModuleCatalog_Organizations_Organization_FeatureBundles_FeatureBundle_FeatureBundles `path:"feature-bundles" module:"openconfig-module-catalog"` Name *string `path:"name" module:"openconfig-module-catalog"` Path []string `path:"path" module:"openconfig-module-catalog"` ReleaseBundle *OpenconfigModuleCatalog_Organizations_Organization_FeatureBundles_FeatureBundle_ReleaseBundle `path:"release-bundle" module:"openconfig-module-catalog"` Version *string `path:"version" module:"openconfig-module-catalog"` }
OpenconfigModuleCatalog_Organizations_Organization_FeatureBundles_FeatureBundle represents the /openconfig-module-catalog/organizations/organization/feature-bundles/feature-bundle YANG schema element.
func (*OpenconfigModuleCatalog_Organizations_Organization_FeatureBundles_FeatureBundle) GetFeatureBundles ¶
func (t *OpenconfigModuleCatalog_Organizations_Organization_FeatureBundles_FeatureBundle) GetFeatureBundles() *OpenconfigModuleCatalog_Organizations_Organization_FeatureBundles_FeatureBundle_FeatureBundles
GetFeatureBundles returns the value of the FeatureBundles struct pointer from OpenconfigModuleCatalog_Organizations_Organization_FeatureBundles_FeatureBundle. If the receiver or the field FeatureBundles is nil, nil is returned such that the Get* methods can be safely chained.
func (*OpenconfigModuleCatalog_Organizations_Organization_FeatureBundles_FeatureBundle) GetName ¶
func (t *OpenconfigModuleCatalog_Organizations_Organization_FeatureBundles_FeatureBundle) GetName() string
GetName retrieves the value of the leaf Name from the OpenconfigModuleCatalog_Organizations_Organization_FeatureBundles_FeatureBundle struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Name is set, it can safely use t.GetName() 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.Name == nil' before retrieving the leaf's value.
func (*OpenconfigModuleCatalog_Organizations_Organization_FeatureBundles_FeatureBundle) GetOrCreateFeatureBundles ¶
func (t *OpenconfigModuleCatalog_Organizations_Organization_FeatureBundles_FeatureBundle) GetOrCreateFeatureBundles() *OpenconfigModuleCatalog_Organizations_Organization_FeatureBundles_FeatureBundle_FeatureBundles
GetOrCreateFeatureBundles retrieves the value of the FeatureBundles field or returns the existing field if it already exists.
func (*OpenconfigModuleCatalog_Organizations_Organization_FeatureBundles_FeatureBundle) GetOrCreateReleaseBundle ¶
func (t *OpenconfigModuleCatalog_Organizations_Organization_FeatureBundles_FeatureBundle) GetOrCreateReleaseBundle() *OpenconfigModuleCatalog_Organizations_Organization_FeatureBundles_FeatureBundle_ReleaseBundle
GetOrCreateReleaseBundle retrieves the value of the ReleaseBundle field or returns the existing field if it already exists.
func (*OpenconfigModuleCatalog_Organizations_Organization_FeatureBundles_FeatureBundle) GetPath ¶
func (t *OpenconfigModuleCatalog_Organizations_Organization_FeatureBundles_FeatureBundle) GetPath() []string
GetPath retrieves the value of the leaf Path from the OpenconfigModuleCatalog_Organizations_Organization_FeatureBundles_FeatureBundle struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Path is set, it can safely use t.GetPath() 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.Path == nil' before retrieving the leaf's value.
func (*OpenconfigModuleCatalog_Organizations_Organization_FeatureBundles_FeatureBundle) GetReleaseBundle ¶
func (t *OpenconfigModuleCatalog_Organizations_Organization_FeatureBundles_FeatureBundle) GetReleaseBundle() *OpenconfigModuleCatalog_Organizations_Organization_FeatureBundles_FeatureBundle_ReleaseBundle
GetReleaseBundle returns the value of the ReleaseBundle struct pointer from OpenconfigModuleCatalog_Organizations_Organization_FeatureBundles_FeatureBundle. If the receiver or the field ReleaseBundle is nil, nil is returned such that the Get* methods can be safely chained.
func (*OpenconfigModuleCatalog_Organizations_Organization_FeatureBundles_FeatureBundle) GetVersion ¶
func (t *OpenconfigModuleCatalog_Organizations_Organization_FeatureBundles_FeatureBundle) GetVersion() string
GetVersion retrieves the value of the leaf Version from the OpenconfigModuleCatalog_Organizations_Organization_FeatureBundles_FeatureBundle struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Version is set, it can safely use t.GetVersion() 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.Version == nil' before retrieving the leaf's value.
func (*OpenconfigModuleCatalog_Organizations_Organization_FeatureBundles_FeatureBundle) IsYANGGoStruct ¶
func (*OpenconfigModuleCatalog_Organizations_Organization_FeatureBundles_FeatureBundle) IsYANGGoStruct()
IsYANGGoStruct ensures that OpenconfigModuleCatalog_Organizations_Organization_FeatureBundles_FeatureBundle implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.
func (*OpenconfigModuleCatalog_Organizations_Organization_FeatureBundles_FeatureBundle) Validate ¶
func (t *OpenconfigModuleCatalog_Organizations_Organization_FeatureBundles_FeatureBundle) Validate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
func (*OpenconfigModuleCatalog_Organizations_Organization_FeatureBundles_FeatureBundle) ΛEnumTypeMap ¶
func (t *OpenconfigModuleCatalog_Organizations_Organization_FeatureBundles_FeatureBundle) Λ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 (*OpenconfigModuleCatalog_Organizations_Organization_FeatureBundles_FeatureBundle) ΛListKeyMap ¶
func (t *OpenconfigModuleCatalog_Organizations_Organization_FeatureBundles_FeatureBundle) ΛListKeyMap() (map[string]interface{}, error)
ΛListKeyMap returns the keys of the OpenconfigModuleCatalog_Organizations_Organization_FeatureBundles_FeatureBundle struct, which is a YANG list entry.
type OpenconfigModuleCatalog_Organizations_Organization_FeatureBundles_FeatureBundle_FeatureBundles ¶
type OpenconfigModuleCatalog_Organizations_Organization_FeatureBundles_FeatureBundle_FeatureBundles struct {
FeatureBundle map[string]*OpenconfigModuleCatalog_Organizations_Organization_FeatureBundles_FeatureBundle_FeatureBundles_FeatureBundle `path:"feature-bundle" module:"openconfig-module-catalog"`
}
OpenconfigModuleCatalog_Organizations_Organization_FeatureBundles_FeatureBundle_FeatureBundles represents the /openconfig-module-catalog/organizations/organization/feature-bundles/feature-bundle/feature-bundles YANG schema element.
func (*OpenconfigModuleCatalog_Organizations_Organization_FeatureBundles_FeatureBundle_FeatureBundles) AppendFeatureBundle ¶
func (t *OpenconfigModuleCatalog_Organizations_Organization_FeatureBundles_FeatureBundle_FeatureBundles) AppendFeatureBundle(v *OpenconfigModuleCatalog_Organizations_Organization_FeatureBundles_FeatureBundle_FeatureBundles_FeatureBundle) error
AppendFeatureBundle appends the supplied OpenconfigModuleCatalog_Organizations_Organization_FeatureBundles_FeatureBundle_FeatureBundles_FeatureBundle struct to the list FeatureBundle of OpenconfigModuleCatalog_Organizations_Organization_FeatureBundles_FeatureBundle_FeatureBundles. If the key value(s) specified in the supplied OpenconfigModuleCatalog_Organizations_Organization_FeatureBundles_FeatureBundle_FeatureBundles_FeatureBundle already exist in the list, an error is returned.
func (*OpenconfigModuleCatalog_Organizations_Organization_FeatureBundles_FeatureBundle_FeatureBundles) GetFeatureBundle ¶
func (t *OpenconfigModuleCatalog_Organizations_Organization_FeatureBundles_FeatureBundle_FeatureBundles) GetFeatureBundle(Name string) *OpenconfigModuleCatalog_Organizations_Organization_FeatureBundles_FeatureBundle_FeatureBundles_FeatureBundle
GetFeatureBundle retrieves the value with the specified key from the FeatureBundle map field of OpenconfigModuleCatalog_Organizations_Organization_FeatureBundles_FeatureBundle_FeatureBundles. 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 (*OpenconfigModuleCatalog_Organizations_Organization_FeatureBundles_FeatureBundle_FeatureBundles) GetOrCreateFeatureBundle ¶
func (t *OpenconfigModuleCatalog_Organizations_Organization_FeatureBundles_FeatureBundle_FeatureBundles) GetOrCreateFeatureBundle(Name string) *OpenconfigModuleCatalog_Organizations_Organization_FeatureBundles_FeatureBundle_FeatureBundles_FeatureBundle
GetOrCreateFeatureBundle retrieves the value with the specified keys from the receiver OpenconfigModuleCatalog_Organizations_Organization_FeatureBundles_FeatureBundle_FeatureBundles. If the entry does not exist, then it is created. It returns the existing or new list member.
func (*OpenconfigModuleCatalog_Organizations_Organization_FeatureBundles_FeatureBundle_FeatureBundles) IsYANGGoStruct ¶
func (*OpenconfigModuleCatalog_Organizations_Organization_FeatureBundles_FeatureBundle_FeatureBundles) IsYANGGoStruct()
IsYANGGoStruct ensures that OpenconfigModuleCatalog_Organizations_Organization_FeatureBundles_FeatureBundle_FeatureBundles implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.
func (*OpenconfigModuleCatalog_Organizations_Organization_FeatureBundles_FeatureBundle_FeatureBundles) NewFeatureBundle ¶
func (t *OpenconfigModuleCatalog_Organizations_Organization_FeatureBundles_FeatureBundle_FeatureBundles) NewFeatureBundle(Name string) (*OpenconfigModuleCatalog_Organizations_Organization_FeatureBundles_FeatureBundle_FeatureBundles_FeatureBundle, error)
NewFeatureBundle creates a new entry in the FeatureBundle list of the OpenconfigModuleCatalog_Organizations_Organization_FeatureBundles_FeatureBundle_FeatureBundles struct. The keys of the list are populated from the input arguments.
func (*OpenconfigModuleCatalog_Organizations_Organization_FeatureBundles_FeatureBundle_FeatureBundles) RenameFeatureBundle ¶
func (t *OpenconfigModuleCatalog_Organizations_Organization_FeatureBundles_FeatureBundle_FeatureBundles) RenameFeatureBundle(oldK, newK string) error
RenameFeatureBundle renames an entry in the list FeatureBundle within the OpenconfigModuleCatalog_Organizations_Organization_FeatureBundles_FeatureBundle_FeatureBundles struct. The entry with key oldK is renamed to newK updating the key within the value.
func (*OpenconfigModuleCatalog_Organizations_Organization_FeatureBundles_FeatureBundle_FeatureBundles) Validate ¶
func (t *OpenconfigModuleCatalog_Organizations_Organization_FeatureBundles_FeatureBundle_FeatureBundles) Validate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
func (*OpenconfigModuleCatalog_Organizations_Organization_FeatureBundles_FeatureBundle_FeatureBundles) ΛEnumTypeMap ¶
func (t *OpenconfigModuleCatalog_Organizations_Organization_FeatureBundles_FeatureBundle_FeatureBundles) ΛEnumTypeMap() map[string][]reflect.Type
ΛEnumTypeMap returns a map, keyed by YANG schema path, of the enumerated types that are included in the generated code.
type OpenconfigModuleCatalog_Organizations_Organization_FeatureBundles_FeatureBundle_FeatureBundles_FeatureBundle ¶
type OpenconfigModuleCatalog_Organizations_Organization_FeatureBundles_FeatureBundle_FeatureBundles_FeatureBundle struct { Name *string `path:"name" module:"openconfig-module-catalog"` Publisher *string `path:"publisher" module:"openconfig-module-catalog"` Version *string `path:"version" module:"openconfig-module-catalog"` }
OpenconfigModuleCatalog_Organizations_Organization_FeatureBundles_FeatureBundle_FeatureBundles_FeatureBundle represents the /openconfig-module-catalog/organizations/organization/feature-bundles/feature-bundle/feature-bundles/feature-bundle YANG schema element.
func (*OpenconfigModuleCatalog_Organizations_Organization_FeatureBundles_FeatureBundle_FeatureBundles_FeatureBundle) GetName ¶
func (t *OpenconfigModuleCatalog_Organizations_Organization_FeatureBundles_FeatureBundle_FeatureBundles_FeatureBundle) GetName() string
GetName retrieves the value of the leaf Name from the OpenconfigModuleCatalog_Organizations_Organization_FeatureBundles_FeatureBundle_FeatureBundles_FeatureBundle struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Name is set, it can safely use t.GetName() 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.Name == nil' before retrieving the leaf's value.
func (*OpenconfigModuleCatalog_Organizations_Organization_FeatureBundles_FeatureBundle_FeatureBundles_FeatureBundle) GetPublisher ¶
func (t *OpenconfigModuleCatalog_Organizations_Organization_FeatureBundles_FeatureBundle_FeatureBundles_FeatureBundle) GetPublisher() string
GetPublisher retrieves the value of the leaf Publisher from the OpenconfigModuleCatalog_Organizations_Organization_FeatureBundles_FeatureBundle_FeatureBundles_FeatureBundle struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Publisher is set, it can safely use t.GetPublisher() 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.Publisher == nil' before retrieving the leaf's value.
func (*OpenconfigModuleCatalog_Organizations_Organization_FeatureBundles_FeatureBundle_FeatureBundles_FeatureBundle) GetVersion ¶
func (t *OpenconfigModuleCatalog_Organizations_Organization_FeatureBundles_FeatureBundle_FeatureBundles_FeatureBundle) GetVersion() string
GetVersion retrieves the value of the leaf Version from the OpenconfigModuleCatalog_Organizations_Organization_FeatureBundles_FeatureBundle_FeatureBundles_FeatureBundle struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Version is set, it can safely use t.GetVersion() 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.Version == nil' before retrieving the leaf's value.
func (*OpenconfigModuleCatalog_Organizations_Organization_FeatureBundles_FeatureBundle_FeatureBundles_FeatureBundle) IsYANGGoStruct ¶
func (*OpenconfigModuleCatalog_Organizations_Organization_FeatureBundles_FeatureBundle_FeatureBundles_FeatureBundle) IsYANGGoStruct()
IsYANGGoStruct ensures that OpenconfigModuleCatalog_Organizations_Organization_FeatureBundles_FeatureBundle_FeatureBundles_FeatureBundle implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.
func (*OpenconfigModuleCatalog_Organizations_Organization_FeatureBundles_FeatureBundle_FeatureBundles_FeatureBundle) Validate ¶
func (t *OpenconfigModuleCatalog_Organizations_Organization_FeatureBundles_FeatureBundle_FeatureBundles_FeatureBundle) Validate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
func (*OpenconfigModuleCatalog_Organizations_Organization_FeatureBundles_FeatureBundle_FeatureBundles_FeatureBundle) ΛEnumTypeMap ¶
func (t *OpenconfigModuleCatalog_Organizations_Organization_FeatureBundles_FeatureBundle_FeatureBundles_FeatureBundle) Λ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 (*OpenconfigModuleCatalog_Organizations_Organization_FeatureBundles_FeatureBundle_FeatureBundles_FeatureBundle) ΛListKeyMap ¶
func (t *OpenconfigModuleCatalog_Organizations_Organization_FeatureBundles_FeatureBundle_FeatureBundles_FeatureBundle) ΛListKeyMap() (map[string]interface{}, error)
ΛListKeyMap returns the keys of the OpenconfigModuleCatalog_Organizations_Organization_FeatureBundles_FeatureBundle_FeatureBundles_FeatureBundle struct, which is a YANG list entry.
type OpenconfigModuleCatalog_Organizations_Organization_FeatureBundles_FeatureBundle_Key ¶
type OpenconfigModuleCatalog_Organizations_Organization_FeatureBundles_FeatureBundle_Key struct { Name string `path:"name"` Version string `path:"version"` }
OpenconfigModuleCatalog_Organizations_Organization_FeatureBundles_FeatureBundle_Key represents the key for list FeatureBundle of element /openconfig-module-catalog/organizations/organization/feature-bundles.
type OpenconfigModuleCatalog_Organizations_Organization_FeatureBundles_FeatureBundle_ReleaseBundle ¶
type OpenconfigModuleCatalog_Organizations_Organization_FeatureBundles_FeatureBundle_ReleaseBundle struct { Name *string `path:"name" module:"openconfig-module-catalog"` Publisher *string `path:"publisher" module:"openconfig-module-catalog"` Version *string `path:"version" module:"openconfig-module-catalog"` }
OpenconfigModuleCatalog_Organizations_Organization_FeatureBundles_FeatureBundle_ReleaseBundle represents the /openconfig-module-catalog/organizations/organization/feature-bundles/feature-bundle/release-bundle YANG schema element.
func (*OpenconfigModuleCatalog_Organizations_Organization_FeatureBundles_FeatureBundle_ReleaseBundle) GetName ¶
func (t *OpenconfigModuleCatalog_Organizations_Organization_FeatureBundles_FeatureBundle_ReleaseBundle) GetName() string
GetName retrieves the value of the leaf Name from the OpenconfigModuleCatalog_Organizations_Organization_FeatureBundles_FeatureBundle_ReleaseBundle struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Name is set, it can safely use t.GetName() 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.Name == nil' before retrieving the leaf's value.
func (*OpenconfigModuleCatalog_Organizations_Organization_FeatureBundles_FeatureBundle_ReleaseBundle) GetPublisher ¶
func (t *OpenconfigModuleCatalog_Organizations_Organization_FeatureBundles_FeatureBundle_ReleaseBundle) GetPublisher() string
GetPublisher retrieves the value of the leaf Publisher from the OpenconfigModuleCatalog_Organizations_Organization_FeatureBundles_FeatureBundle_ReleaseBundle struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Publisher is set, it can safely use t.GetPublisher() 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.Publisher == nil' before retrieving the leaf's value.
func (*OpenconfigModuleCatalog_Organizations_Organization_FeatureBundles_FeatureBundle_ReleaseBundle) GetVersion ¶
func (t *OpenconfigModuleCatalog_Organizations_Organization_FeatureBundles_FeatureBundle_ReleaseBundle) GetVersion() string
GetVersion retrieves the value of the leaf Version from the OpenconfigModuleCatalog_Organizations_Organization_FeatureBundles_FeatureBundle_ReleaseBundle struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Version is set, it can safely use t.GetVersion() 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.Version == nil' before retrieving the leaf's value.
func (*OpenconfigModuleCatalog_Organizations_Organization_FeatureBundles_FeatureBundle_ReleaseBundle) IsYANGGoStruct ¶
func (*OpenconfigModuleCatalog_Organizations_Organization_FeatureBundles_FeatureBundle_ReleaseBundle) IsYANGGoStruct()
IsYANGGoStruct ensures that OpenconfigModuleCatalog_Organizations_Organization_FeatureBundles_FeatureBundle_ReleaseBundle implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.
func (*OpenconfigModuleCatalog_Organizations_Organization_FeatureBundles_FeatureBundle_ReleaseBundle) Validate ¶
func (t *OpenconfigModuleCatalog_Organizations_Organization_FeatureBundles_FeatureBundle_ReleaseBundle) Validate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
func (*OpenconfigModuleCatalog_Organizations_Organization_FeatureBundles_FeatureBundle_ReleaseBundle) ΛEnumTypeMap ¶
func (t *OpenconfigModuleCatalog_Organizations_Organization_FeatureBundles_FeatureBundle_ReleaseBundle) ΛEnumTypeMap() map[string][]reflect.Type
ΛEnumTypeMap returns a map, keyed by YANG schema path, of the enumerated types that are included in the generated code.
type OpenconfigModuleCatalog_Organizations_Organization_Implementations ¶
type OpenconfigModuleCatalog_Organizations_Organization_Implementations struct {
Implementation map[string]*OpenconfigModuleCatalog_Organizations_Organization_Implementations_Implementation `path:"implementation" module:"openconfig-module-catalog"`
}
OpenconfigModuleCatalog_Organizations_Organization_Implementations represents the /openconfig-module-catalog/organizations/organization/implementations YANG schema element.
func (*OpenconfigModuleCatalog_Organizations_Organization_Implementations) AppendImplementation ¶
func (t *OpenconfigModuleCatalog_Organizations_Organization_Implementations) AppendImplementation(v *OpenconfigModuleCatalog_Organizations_Organization_Implementations_Implementation) error
AppendImplementation appends the supplied OpenconfigModuleCatalog_Organizations_Organization_Implementations_Implementation struct to the list Implementation of OpenconfigModuleCatalog_Organizations_Organization_Implementations. If the key value(s) specified in the supplied OpenconfigModuleCatalog_Organizations_Organization_Implementations_Implementation already exist in the list, an error is returned.
func (*OpenconfigModuleCatalog_Organizations_Organization_Implementations) GetImplementation ¶
func (t *OpenconfigModuleCatalog_Organizations_Organization_Implementations) GetImplementation(Id string) *OpenconfigModuleCatalog_Organizations_Organization_Implementations_Implementation
GetImplementation retrieves the value with the specified key from the Implementation map field of OpenconfigModuleCatalog_Organizations_Organization_Implementations. 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 (*OpenconfigModuleCatalog_Organizations_Organization_Implementations) GetOrCreateImplementation ¶
func (t *OpenconfigModuleCatalog_Organizations_Organization_Implementations) GetOrCreateImplementation(Id string) *OpenconfigModuleCatalog_Organizations_Organization_Implementations_Implementation
GetOrCreateImplementation retrieves the value with the specified keys from the receiver OpenconfigModuleCatalog_Organizations_Organization_Implementations. If the entry does not exist, then it is created. It returns the existing or new list member.
func (*OpenconfigModuleCatalog_Organizations_Organization_Implementations) IsYANGGoStruct ¶
func (*OpenconfigModuleCatalog_Organizations_Organization_Implementations) IsYANGGoStruct()
IsYANGGoStruct ensures that OpenconfigModuleCatalog_Organizations_Organization_Implementations implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.
func (*OpenconfigModuleCatalog_Organizations_Organization_Implementations) NewImplementation ¶
func (t *OpenconfigModuleCatalog_Organizations_Organization_Implementations) NewImplementation(Id string) (*OpenconfigModuleCatalog_Organizations_Organization_Implementations_Implementation, error)
NewImplementation creates a new entry in the Implementation list of the OpenconfigModuleCatalog_Organizations_Organization_Implementations struct. The keys of the list are populated from the input arguments.
func (*OpenconfigModuleCatalog_Organizations_Organization_Implementations) RenameImplementation ¶
func (t *OpenconfigModuleCatalog_Organizations_Organization_Implementations) RenameImplementation(oldK, newK string) error
RenameImplementation renames an entry in the list Implementation within the OpenconfigModuleCatalog_Organizations_Organization_Implementations struct. The entry with key oldK is renamed to newK updating the key within the value.
func (*OpenconfigModuleCatalog_Organizations_Organization_Implementations) Validate ¶
func (t *OpenconfigModuleCatalog_Organizations_Organization_Implementations) Validate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
func (*OpenconfigModuleCatalog_Organizations_Organization_Implementations) ΛEnumTypeMap ¶
func (t *OpenconfigModuleCatalog_Organizations_Organization_Implementations) ΛEnumTypeMap() map[string][]reflect.Type
ΛEnumTypeMap returns a map, keyed by YANG schema path, of the enumerated types that are included in the generated code.
type OpenconfigModuleCatalog_Organizations_Organization_Implementations_Implementation ¶
type OpenconfigModuleCatalog_Organizations_Organization_Implementations_Implementation struct { Description *string `path:"description" module:"openconfig-module-catalog"` FeatureBundles *OpenconfigModuleCatalog_Organizations_Organization_Implementations_Implementation_FeatureBundles `path:"feature-bundles" module:"openconfig-module-catalog"` Id *string `path:"id" module:"openconfig-module-catalog"` Platform *string `path:"platform" module:"openconfig-module-catalog"` PlatformVersion *string `path:"platform-version" module:"openconfig-module-catalog"` Reference *string `path:"reference" module:"openconfig-module-catalog"` Status E_OpenconfigCatalogTypes_IMPLEMENTATION_STATUS_TYPE `path:"status" module:"openconfig-module-catalog"` }
OpenconfigModuleCatalog_Organizations_Organization_Implementations_Implementation represents the /openconfig-module-catalog/organizations/organization/implementations/implementation YANG schema element.
func (*OpenconfigModuleCatalog_Organizations_Organization_Implementations_Implementation) GetDescription ¶
func (t *OpenconfigModuleCatalog_Organizations_Organization_Implementations_Implementation) GetDescription() string
GetDescription retrieves the value of the leaf Description from the OpenconfigModuleCatalog_Organizations_Organization_Implementations_Implementation struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Description is set, it can safely use t.GetDescription() 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.Description == nil' before retrieving the leaf's value.
func (*OpenconfigModuleCatalog_Organizations_Organization_Implementations_Implementation) GetFeatureBundles ¶
func (t *OpenconfigModuleCatalog_Organizations_Organization_Implementations_Implementation) GetFeatureBundles() *OpenconfigModuleCatalog_Organizations_Organization_Implementations_Implementation_FeatureBundles
GetFeatureBundles returns the value of the FeatureBundles struct pointer from OpenconfigModuleCatalog_Organizations_Organization_Implementations_Implementation. If the receiver or the field FeatureBundles is nil, nil is returned such that the Get* methods can be safely chained.
func (*OpenconfigModuleCatalog_Organizations_Organization_Implementations_Implementation) GetId ¶
func (t *OpenconfigModuleCatalog_Organizations_Organization_Implementations_Implementation) GetId() string
GetId retrieves the value of the leaf Id from the OpenconfigModuleCatalog_Organizations_Organization_Implementations_Implementation struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Id is set, it can safely use t.GetId() 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.Id == nil' before retrieving the leaf's value.
func (*OpenconfigModuleCatalog_Organizations_Organization_Implementations_Implementation) GetOrCreateFeatureBundles ¶
func (t *OpenconfigModuleCatalog_Organizations_Organization_Implementations_Implementation) GetOrCreateFeatureBundles() *OpenconfigModuleCatalog_Organizations_Organization_Implementations_Implementation_FeatureBundles
GetOrCreateFeatureBundles retrieves the value of the FeatureBundles field or returns the existing field if it already exists.
func (*OpenconfigModuleCatalog_Organizations_Organization_Implementations_Implementation) GetPlatform ¶
func (t *OpenconfigModuleCatalog_Organizations_Organization_Implementations_Implementation) GetPlatform() string
GetPlatform retrieves the value of the leaf Platform from the OpenconfigModuleCatalog_Organizations_Organization_Implementations_Implementation struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Platform is set, it can safely use t.GetPlatform() 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.Platform == nil' before retrieving the leaf's value.
func (*OpenconfigModuleCatalog_Organizations_Organization_Implementations_Implementation) GetPlatformVersion ¶
func (t *OpenconfigModuleCatalog_Organizations_Organization_Implementations_Implementation) GetPlatformVersion() string
GetPlatformVersion retrieves the value of the leaf PlatformVersion from the OpenconfigModuleCatalog_Organizations_Organization_Implementations_Implementation struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if PlatformVersion is set, it can safely use t.GetPlatformVersion() 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.PlatformVersion == nil' before retrieving the leaf's value.
func (*OpenconfigModuleCatalog_Organizations_Organization_Implementations_Implementation) GetReference ¶
func (t *OpenconfigModuleCatalog_Organizations_Organization_Implementations_Implementation) GetReference() string
GetReference retrieves the value of the leaf Reference from the OpenconfigModuleCatalog_Organizations_Organization_Implementations_Implementation struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Reference is set, it can safely use t.GetReference() 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.Reference == nil' before retrieving the leaf's value.
func (*OpenconfigModuleCatalog_Organizations_Organization_Implementations_Implementation) GetStatus ¶
func (t *OpenconfigModuleCatalog_Organizations_Organization_Implementations_Implementation) GetStatus() E_OpenconfigCatalogTypes_IMPLEMENTATION_STATUS_TYPE
GetStatus retrieves the value of the leaf Status from the OpenconfigModuleCatalog_Organizations_Organization_Implementations_Implementation struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Status is set, it can safely use t.GetStatus() 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.Status == nil' before retrieving the leaf's value.
func (*OpenconfigModuleCatalog_Organizations_Organization_Implementations_Implementation) IsYANGGoStruct ¶
func (*OpenconfigModuleCatalog_Organizations_Organization_Implementations_Implementation) IsYANGGoStruct()
IsYANGGoStruct ensures that OpenconfigModuleCatalog_Organizations_Organization_Implementations_Implementation implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.
func (*OpenconfigModuleCatalog_Organizations_Organization_Implementations_Implementation) Validate ¶
func (t *OpenconfigModuleCatalog_Organizations_Organization_Implementations_Implementation) Validate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
func (*OpenconfigModuleCatalog_Organizations_Organization_Implementations_Implementation) ΛEnumTypeMap ¶
func (t *OpenconfigModuleCatalog_Organizations_Organization_Implementations_Implementation) Λ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 (*OpenconfigModuleCatalog_Organizations_Organization_Implementations_Implementation) ΛListKeyMap ¶
func (t *OpenconfigModuleCatalog_Organizations_Organization_Implementations_Implementation) ΛListKeyMap() (map[string]interface{}, error)
ΛListKeyMap returns the keys of the OpenconfigModuleCatalog_Organizations_Organization_Implementations_Implementation struct, which is a YANG list entry.
type OpenconfigModuleCatalog_Organizations_Organization_Implementations_Implementation_FeatureBundles ¶
type OpenconfigModuleCatalog_Organizations_Organization_Implementations_Implementation_FeatureBundles struct {
FeatureBundle map[OpenconfigModuleCatalog_Organizations_Organization_Implementations_Implementation_FeatureBundles_FeatureBundle_Key]*OpenconfigModuleCatalog_Organizations_Organization_Implementations_Implementation_FeatureBundles_FeatureBundle `path:"feature-bundle" module:"openconfig-module-catalog"`
}
OpenconfigModuleCatalog_Organizations_Organization_Implementations_Implementation_FeatureBundles represents the /openconfig-module-catalog/organizations/organization/implementations/implementation/feature-bundles YANG schema element.
func (*OpenconfigModuleCatalog_Organizations_Organization_Implementations_Implementation_FeatureBundles) AppendFeatureBundle ¶
func (t *OpenconfigModuleCatalog_Organizations_Organization_Implementations_Implementation_FeatureBundles) AppendFeatureBundle(v *OpenconfigModuleCatalog_Organizations_Organization_Implementations_Implementation_FeatureBundles_FeatureBundle) error
AppendFeatureBundle appends the supplied OpenconfigModuleCatalog_Organizations_Organization_Implementations_Implementation_FeatureBundles_FeatureBundle struct to the list FeatureBundle of OpenconfigModuleCatalog_Organizations_Organization_Implementations_Implementation_FeatureBundles. If the key value(s) specified in the supplied OpenconfigModuleCatalog_Organizations_Organization_Implementations_Implementation_FeatureBundles_FeatureBundle already exist in the list, an error is returned.
func (*OpenconfigModuleCatalog_Organizations_Organization_Implementations_Implementation_FeatureBundles) GetFeatureBundle ¶
func (t *OpenconfigModuleCatalog_Organizations_Organization_Implementations_Implementation_FeatureBundles) GetFeatureBundle(Name string, Version string) *OpenconfigModuleCatalog_Organizations_Organization_Implementations_Implementation_FeatureBundles_FeatureBundle
GetFeatureBundle retrieves the value with the specified key from the FeatureBundle map field of OpenconfigModuleCatalog_Organizations_Organization_Implementations_Implementation_FeatureBundles. 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 (*OpenconfigModuleCatalog_Organizations_Organization_Implementations_Implementation_FeatureBundles) GetOrCreateFeatureBundle ¶
func (t *OpenconfigModuleCatalog_Organizations_Organization_Implementations_Implementation_FeatureBundles) GetOrCreateFeatureBundle(Name string, Version string) *OpenconfigModuleCatalog_Organizations_Organization_Implementations_Implementation_FeatureBundles_FeatureBundle
GetOrCreateFeatureBundle retrieves the value with the specified keys from the receiver OpenconfigModuleCatalog_Organizations_Organization_Implementations_Implementation_FeatureBundles. If the entry does not exist, then it is created. It returns the existing or new list member.
func (*OpenconfigModuleCatalog_Organizations_Organization_Implementations_Implementation_FeatureBundles) IsYANGGoStruct ¶
func (*OpenconfigModuleCatalog_Organizations_Organization_Implementations_Implementation_FeatureBundles) IsYANGGoStruct()
IsYANGGoStruct ensures that OpenconfigModuleCatalog_Organizations_Organization_Implementations_Implementation_FeatureBundles implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.
func (*OpenconfigModuleCatalog_Organizations_Organization_Implementations_Implementation_FeatureBundles) NewFeatureBundle ¶
func (t *OpenconfigModuleCatalog_Organizations_Organization_Implementations_Implementation_FeatureBundles) NewFeatureBundle(Name string, Version string) (*OpenconfigModuleCatalog_Organizations_Organization_Implementations_Implementation_FeatureBundles_FeatureBundle, error)
NewFeatureBundle creates a new entry in the FeatureBundle list of the OpenconfigModuleCatalog_Organizations_Organization_Implementations_Implementation_FeatureBundles struct. The keys of the list are populated from the input arguments.
func (*OpenconfigModuleCatalog_Organizations_Organization_Implementations_Implementation_FeatureBundles) RenameFeatureBundle ¶
func (t *OpenconfigModuleCatalog_Organizations_Organization_Implementations_Implementation_FeatureBundles) RenameFeatureBundle(oldK, newK OpenconfigModuleCatalog_Organizations_Organization_Implementations_Implementation_FeatureBundles_FeatureBundle_Key) error
RenameFeatureBundle renames an entry in the list FeatureBundle within the OpenconfigModuleCatalog_Organizations_Organization_Implementations_Implementation_FeatureBundles struct. The entry with key oldK is renamed to newK updating the key within the value.
func (*OpenconfigModuleCatalog_Organizations_Organization_Implementations_Implementation_FeatureBundles) Validate ¶
func (t *OpenconfigModuleCatalog_Organizations_Organization_Implementations_Implementation_FeatureBundles) Validate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
func (*OpenconfigModuleCatalog_Organizations_Organization_Implementations_Implementation_FeatureBundles) ΛEnumTypeMap ¶
func (t *OpenconfigModuleCatalog_Organizations_Organization_Implementations_Implementation_FeatureBundles) ΛEnumTypeMap() map[string][]reflect.Type
ΛEnumTypeMap returns a map, keyed by YANG schema path, of the enumerated types that are included in the generated code.
type OpenconfigModuleCatalog_Organizations_Organization_Implementations_Implementation_FeatureBundles_FeatureBundle ¶
type OpenconfigModuleCatalog_Organizations_Organization_Implementations_Implementation_FeatureBundles_FeatureBundle struct { Name *string `path:"name" module:"openconfig-module-catalog"` Publisher *string `path:"publisher" module:"openconfig-module-catalog"` Version *string `path:"version" module:"openconfig-module-catalog"` }
OpenconfigModuleCatalog_Organizations_Organization_Implementations_Implementation_FeatureBundles_FeatureBundle represents the /openconfig-module-catalog/organizations/organization/implementations/implementation/feature-bundles/feature-bundle YANG schema element.
func (*OpenconfigModuleCatalog_Organizations_Organization_Implementations_Implementation_FeatureBundles_FeatureBundle) GetName ¶
func (t *OpenconfigModuleCatalog_Organizations_Organization_Implementations_Implementation_FeatureBundles_FeatureBundle) GetName() string
GetName retrieves the value of the leaf Name from the OpenconfigModuleCatalog_Organizations_Organization_Implementations_Implementation_FeatureBundles_FeatureBundle struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Name is set, it can safely use t.GetName() 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.Name == nil' before retrieving the leaf's value.
func (*OpenconfigModuleCatalog_Organizations_Organization_Implementations_Implementation_FeatureBundles_FeatureBundle) GetPublisher ¶
func (t *OpenconfigModuleCatalog_Organizations_Organization_Implementations_Implementation_FeatureBundles_FeatureBundle) GetPublisher() string
GetPublisher retrieves the value of the leaf Publisher from the OpenconfigModuleCatalog_Organizations_Organization_Implementations_Implementation_FeatureBundles_FeatureBundle struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Publisher is set, it can safely use t.GetPublisher() 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.Publisher == nil' before retrieving the leaf's value.
func (*OpenconfigModuleCatalog_Organizations_Organization_Implementations_Implementation_FeatureBundles_FeatureBundle) GetVersion ¶
func (t *OpenconfigModuleCatalog_Organizations_Organization_Implementations_Implementation_FeatureBundles_FeatureBundle) GetVersion() string
GetVersion retrieves the value of the leaf Version from the OpenconfigModuleCatalog_Organizations_Organization_Implementations_Implementation_FeatureBundles_FeatureBundle struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Version is set, it can safely use t.GetVersion() 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.Version == nil' before retrieving the leaf's value.
func (*OpenconfigModuleCatalog_Organizations_Organization_Implementations_Implementation_FeatureBundles_FeatureBundle) IsYANGGoStruct ¶
func (*OpenconfigModuleCatalog_Organizations_Organization_Implementations_Implementation_FeatureBundles_FeatureBundle) IsYANGGoStruct()
IsYANGGoStruct ensures that OpenconfigModuleCatalog_Organizations_Organization_Implementations_Implementation_FeatureBundles_FeatureBundle implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.
func (*OpenconfigModuleCatalog_Organizations_Organization_Implementations_Implementation_FeatureBundles_FeatureBundle) Validate ¶
func (t *OpenconfigModuleCatalog_Organizations_Organization_Implementations_Implementation_FeatureBundles_FeatureBundle) Validate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
func (*OpenconfigModuleCatalog_Organizations_Organization_Implementations_Implementation_FeatureBundles_FeatureBundle) ΛEnumTypeMap ¶
func (t *OpenconfigModuleCatalog_Organizations_Organization_Implementations_Implementation_FeatureBundles_FeatureBundle) Λ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 (*OpenconfigModuleCatalog_Organizations_Organization_Implementations_Implementation_FeatureBundles_FeatureBundle) ΛListKeyMap ¶
func (t *OpenconfigModuleCatalog_Organizations_Organization_Implementations_Implementation_FeatureBundles_FeatureBundle) ΛListKeyMap() (map[string]interface{}, error)
ΛListKeyMap returns the keys of the OpenconfigModuleCatalog_Organizations_Organization_Implementations_Implementation_FeatureBundles_FeatureBundle struct, which is a YANG list entry.
type OpenconfigModuleCatalog_Organizations_Organization_Implementations_Implementation_FeatureBundles_FeatureBundle_Key ¶
type OpenconfigModuleCatalog_Organizations_Organization_Implementations_Implementation_FeatureBundles_FeatureBundle_Key struct { Name string `path:"name"` Version string `path:"version"` }
OpenconfigModuleCatalog_Organizations_Organization_Implementations_Implementation_FeatureBundles_FeatureBundle_Key represents the key for list FeatureBundle of element /openconfig-module-catalog/organizations/organization/implementations/implementation/feature-bundles.
type OpenconfigModuleCatalog_Organizations_Organization_Modules ¶
type OpenconfigModuleCatalog_Organizations_Organization_Modules struct {
Module map[OpenconfigModuleCatalog_Organizations_Organization_Modules_Module_Key]*OpenconfigModuleCatalog_Organizations_Organization_Modules_Module `path:"module" module:"openconfig-module-catalog"`
}
OpenconfigModuleCatalog_Organizations_Organization_Modules represents the /openconfig-module-catalog/organizations/organization/modules YANG schema element.
func (*OpenconfigModuleCatalog_Organizations_Organization_Modules) AppendModule ¶
func (t *OpenconfigModuleCatalog_Organizations_Organization_Modules) AppendModule(v *OpenconfigModuleCatalog_Organizations_Organization_Modules_Module) error
AppendModule appends the supplied OpenconfigModuleCatalog_Organizations_Organization_Modules_Module struct to the list Module of OpenconfigModuleCatalog_Organizations_Organization_Modules. If the key value(s) specified in the supplied OpenconfigModuleCatalog_Organizations_Organization_Modules_Module already exist in the list, an error is returned.
func (*OpenconfigModuleCatalog_Organizations_Organization_Modules) GetModule ¶
func (t *OpenconfigModuleCatalog_Organizations_Organization_Modules) GetModule(Name string, Version string) *OpenconfigModuleCatalog_Organizations_Organization_Modules_Module
GetModule retrieves the value with the specified key from the Module map field of OpenconfigModuleCatalog_Organizations_Organization_Modules. 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 (*OpenconfigModuleCatalog_Organizations_Organization_Modules) GetOrCreateModule ¶
func (t *OpenconfigModuleCatalog_Organizations_Organization_Modules) GetOrCreateModule(Name string, Version string) *OpenconfigModuleCatalog_Organizations_Organization_Modules_Module
GetOrCreateModule retrieves the value with the specified keys from the receiver OpenconfigModuleCatalog_Organizations_Organization_Modules. If the entry does not exist, then it is created. It returns the existing or new list member.
func (*OpenconfigModuleCatalog_Organizations_Organization_Modules) IsYANGGoStruct ¶
func (*OpenconfigModuleCatalog_Organizations_Organization_Modules) IsYANGGoStruct()
IsYANGGoStruct ensures that OpenconfigModuleCatalog_Organizations_Organization_Modules implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.
func (*OpenconfigModuleCatalog_Organizations_Organization_Modules) NewModule ¶
func (t *OpenconfigModuleCatalog_Organizations_Organization_Modules) NewModule(Name string, Version string) (*OpenconfigModuleCatalog_Organizations_Organization_Modules_Module, error)
NewModule creates a new entry in the Module list of the OpenconfigModuleCatalog_Organizations_Organization_Modules struct. The keys of the list are populated from the input arguments.
func (*OpenconfigModuleCatalog_Organizations_Organization_Modules) RenameModule ¶
func (t *OpenconfigModuleCatalog_Organizations_Organization_Modules) RenameModule(oldK, newK OpenconfigModuleCatalog_Organizations_Organization_Modules_Module_Key) error
RenameModule renames an entry in the list Module within the OpenconfigModuleCatalog_Organizations_Organization_Modules struct. The entry with key oldK is renamed to newK updating the key within the value.
func (*OpenconfigModuleCatalog_Organizations_Organization_Modules) Validate ¶
func (t *OpenconfigModuleCatalog_Organizations_Organization_Modules) Validate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
func (*OpenconfigModuleCatalog_Organizations_Organization_Modules) ΛEnumTypeMap ¶
func (t *OpenconfigModuleCatalog_Organizations_Organization_Modules) ΛEnumTypeMap() map[string][]reflect.Type
ΛEnumTypeMap returns a map, keyed by YANG schema path, of the enumerated types that are included in the generated code.
type OpenconfigModuleCatalog_Organizations_Organization_Modules_Module ¶
type OpenconfigModuleCatalog_Organizations_Organization_Modules_Module struct { Access *OpenconfigModuleCatalog_Organizations_Organization_Modules_Module_Access `path:"access" module:"openconfig-module-catalog"` Classification *OpenconfigModuleCatalog_Organizations_Organization_Modules_Module_Classification `path:"classification" module:"openconfig-module-catalog"` Dependencies *OpenconfigModuleCatalog_Organizations_Organization_Modules_Module_Dependencies `path:"dependencies" module:"openconfig-module-catalog"` Name *string `path:"name" module:"openconfig-module-catalog"` Namespace *string `path:"namespace" module:"openconfig-module-catalog"` Prefix *string `path:"prefix" module:"openconfig-module-catalog"` Revision *string `path:"revision" module:"openconfig-module-catalog"` Submodules *OpenconfigModuleCatalog_Organizations_Organization_Modules_Module_Submodules `path:"submodules" module:"openconfig-module-catalog"` Summary *string `path:"summary" module:"openconfig-module-catalog"` Version *string `path:"version" module:"openconfig-module-catalog"` }
OpenconfigModuleCatalog_Organizations_Organization_Modules_Module represents the /openconfig-module-catalog/organizations/organization/modules/module YANG schema element.
func (*OpenconfigModuleCatalog_Organizations_Organization_Modules_Module) GetAccess ¶
func (t *OpenconfigModuleCatalog_Organizations_Organization_Modules_Module) GetAccess() *OpenconfigModuleCatalog_Organizations_Organization_Modules_Module_Access
GetAccess returns the value of the Access struct pointer from OpenconfigModuleCatalog_Organizations_Organization_Modules_Module. If the receiver or the field Access is nil, nil is returned such that the Get* methods can be safely chained.
func (*OpenconfigModuleCatalog_Organizations_Organization_Modules_Module) GetClassification ¶
func (t *OpenconfigModuleCatalog_Organizations_Organization_Modules_Module) GetClassification() *OpenconfigModuleCatalog_Organizations_Organization_Modules_Module_Classification
GetClassification returns the value of the Classification struct pointer from OpenconfigModuleCatalog_Organizations_Organization_Modules_Module. If the receiver or the field Classification is nil, nil is returned such that the Get* methods can be safely chained.
func (*OpenconfigModuleCatalog_Organizations_Organization_Modules_Module) GetDependencies ¶
func (t *OpenconfigModuleCatalog_Organizations_Organization_Modules_Module) GetDependencies() *OpenconfigModuleCatalog_Organizations_Organization_Modules_Module_Dependencies
GetDependencies returns the value of the Dependencies struct pointer from OpenconfigModuleCatalog_Organizations_Organization_Modules_Module. If the receiver or the field Dependencies is nil, nil is returned such that the Get* methods can be safely chained.
func (*OpenconfigModuleCatalog_Organizations_Organization_Modules_Module) GetName ¶
func (t *OpenconfigModuleCatalog_Organizations_Organization_Modules_Module) GetName() string
GetName retrieves the value of the leaf Name from the OpenconfigModuleCatalog_Organizations_Organization_Modules_Module struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Name is set, it can safely use t.GetName() 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.Name == nil' before retrieving the leaf's value.
func (*OpenconfigModuleCatalog_Organizations_Organization_Modules_Module) GetNamespace ¶
func (t *OpenconfigModuleCatalog_Organizations_Organization_Modules_Module) GetNamespace() string
GetNamespace retrieves the value of the leaf Namespace from the OpenconfigModuleCatalog_Organizations_Organization_Modules_Module struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Namespace is set, it can safely use t.GetNamespace() 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.Namespace == nil' before retrieving the leaf's value.
func (*OpenconfigModuleCatalog_Organizations_Organization_Modules_Module) GetOrCreateAccess ¶
func (t *OpenconfigModuleCatalog_Organizations_Organization_Modules_Module) GetOrCreateAccess() *OpenconfigModuleCatalog_Organizations_Organization_Modules_Module_Access
GetOrCreateAccess retrieves the value of the Access field or returns the existing field if it already exists.
func (*OpenconfigModuleCatalog_Organizations_Organization_Modules_Module) GetOrCreateClassification ¶
func (t *OpenconfigModuleCatalog_Organizations_Organization_Modules_Module) GetOrCreateClassification() *OpenconfigModuleCatalog_Organizations_Organization_Modules_Module_Classification
GetOrCreateClassification retrieves the value of the Classification field or returns the existing field if it already exists.
func (*OpenconfigModuleCatalog_Organizations_Organization_Modules_Module) GetOrCreateDependencies ¶
func (t *OpenconfigModuleCatalog_Organizations_Organization_Modules_Module) GetOrCreateDependencies() *OpenconfigModuleCatalog_Organizations_Organization_Modules_Module_Dependencies
GetOrCreateDependencies retrieves the value of the Dependencies field or returns the existing field if it already exists.
func (*OpenconfigModuleCatalog_Organizations_Organization_Modules_Module) GetOrCreateSubmodules ¶
func (t *OpenconfigModuleCatalog_Organizations_Organization_Modules_Module) GetOrCreateSubmodules() *OpenconfigModuleCatalog_Organizations_Organization_Modules_Module_Submodules
GetOrCreateSubmodules retrieves the value of the Submodules field or returns the existing field if it already exists.
func (*OpenconfigModuleCatalog_Organizations_Organization_Modules_Module) GetPrefix ¶
func (t *OpenconfigModuleCatalog_Organizations_Organization_Modules_Module) GetPrefix() string
GetPrefix retrieves the value of the leaf Prefix from the OpenconfigModuleCatalog_Organizations_Organization_Modules_Module struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Prefix is set, it can safely use t.GetPrefix() 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.Prefix == nil' before retrieving the leaf's value.
func (*OpenconfigModuleCatalog_Organizations_Organization_Modules_Module) GetRevision ¶
func (t *OpenconfigModuleCatalog_Organizations_Organization_Modules_Module) GetRevision() string
GetRevision retrieves the value of the leaf Revision from the OpenconfigModuleCatalog_Organizations_Organization_Modules_Module struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Revision is set, it can safely use t.GetRevision() 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.Revision == nil' before retrieving the leaf's value.
func (*OpenconfigModuleCatalog_Organizations_Organization_Modules_Module) GetSubmodules ¶
func (t *OpenconfigModuleCatalog_Organizations_Organization_Modules_Module) GetSubmodules() *OpenconfigModuleCatalog_Organizations_Organization_Modules_Module_Submodules
GetSubmodules returns the value of the Submodules struct pointer from OpenconfigModuleCatalog_Organizations_Organization_Modules_Module. If the receiver or the field Submodules is nil, nil is returned such that the Get* methods can be safely chained.
func (*OpenconfigModuleCatalog_Organizations_Organization_Modules_Module) GetSummary ¶
func (t *OpenconfigModuleCatalog_Organizations_Organization_Modules_Module) GetSummary() string
GetSummary retrieves the value of the leaf Summary from the OpenconfigModuleCatalog_Organizations_Organization_Modules_Module struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Summary is set, it can safely use t.GetSummary() 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.Summary == nil' before retrieving the leaf's value.
func (*OpenconfigModuleCatalog_Organizations_Organization_Modules_Module) GetVersion ¶
func (t *OpenconfigModuleCatalog_Organizations_Organization_Modules_Module) GetVersion() string
GetVersion retrieves the value of the leaf Version from the OpenconfigModuleCatalog_Organizations_Organization_Modules_Module struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Version is set, it can safely use t.GetVersion() 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.Version == nil' before retrieving the leaf's value.
func (*OpenconfigModuleCatalog_Organizations_Organization_Modules_Module) IsYANGGoStruct ¶
func (*OpenconfigModuleCatalog_Organizations_Organization_Modules_Module) IsYANGGoStruct()
IsYANGGoStruct ensures that OpenconfigModuleCatalog_Organizations_Organization_Modules_Module implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.
func (*OpenconfigModuleCatalog_Organizations_Organization_Modules_Module) Validate ¶
func (t *OpenconfigModuleCatalog_Organizations_Organization_Modules_Module) Validate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
func (*OpenconfigModuleCatalog_Organizations_Organization_Modules_Module) ΛEnumTypeMap ¶
func (t *OpenconfigModuleCatalog_Organizations_Organization_Modules_Module) Λ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 (*OpenconfigModuleCatalog_Organizations_Organization_Modules_Module) ΛListKeyMap ¶
func (t *OpenconfigModuleCatalog_Organizations_Organization_Modules_Module) ΛListKeyMap() (map[string]interface{}, error)
ΛListKeyMap returns the keys of the OpenconfigModuleCatalog_Organizations_Organization_Modules_Module struct, which is a YANG list entry.
type OpenconfigModuleCatalog_Organizations_Organization_Modules_Module_Access ¶
type OpenconfigModuleCatalog_Organizations_Organization_Modules_Module_Access struct { Md5Hash *string `path:"md5-hash" module:"openconfig-module-catalog"` Uri *string `path:"uri" module:"openconfig-module-catalog"` }
OpenconfigModuleCatalog_Organizations_Organization_Modules_Module_Access represents the /openconfig-module-catalog/organizations/organization/modules/module/access YANG schema element.
func (*OpenconfigModuleCatalog_Organizations_Organization_Modules_Module_Access) GetMd5Hash ¶
func (t *OpenconfigModuleCatalog_Organizations_Organization_Modules_Module_Access) GetMd5Hash() string
GetMd5Hash retrieves the value of the leaf Md5Hash from the OpenconfigModuleCatalog_Organizations_Organization_Modules_Module_Access struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Md5Hash is set, it can safely use t.GetMd5Hash() 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.Md5Hash == nil' before retrieving the leaf's value.
func (*OpenconfigModuleCatalog_Organizations_Organization_Modules_Module_Access) GetUri ¶
func (t *OpenconfigModuleCatalog_Organizations_Organization_Modules_Module_Access) GetUri() string
GetUri retrieves the value of the leaf Uri from the OpenconfigModuleCatalog_Organizations_Organization_Modules_Module_Access struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Uri is set, it can safely use t.GetUri() 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.Uri == nil' before retrieving the leaf's value.
func (*OpenconfigModuleCatalog_Organizations_Organization_Modules_Module_Access) IsYANGGoStruct ¶
func (*OpenconfigModuleCatalog_Organizations_Organization_Modules_Module_Access) IsYANGGoStruct()
IsYANGGoStruct ensures that OpenconfigModuleCatalog_Organizations_Organization_Modules_Module_Access implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.
func (*OpenconfigModuleCatalog_Organizations_Organization_Modules_Module_Access) Validate ¶
func (t *OpenconfigModuleCatalog_Organizations_Organization_Modules_Module_Access) Validate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
func (*OpenconfigModuleCatalog_Organizations_Organization_Modules_Module_Access) ΛEnumTypeMap ¶
func (t *OpenconfigModuleCatalog_Organizations_Organization_Modules_Module_Access) ΛEnumTypeMap() map[string][]reflect.Type
ΛEnumTypeMap returns a map, keyed by YANG schema path, of the enumerated types that are included in the generated code.
type OpenconfigModuleCatalog_Organizations_Organization_Modules_Module_Classification ¶
type OpenconfigModuleCatalog_Organizations_Organization_Modules_Module_Classification struct { Category E_OpenconfigCatalogTypes_MODULE_CATEGORY_BASE `path:"category" module:"openconfig-module-catalog"` DeploymentStatus E_OpenconfigCatalogTypes_MODULE_STATUS_TYPE `path:"deployment-status" module:"openconfig-module-catalog"` Subcategory E_OpenconfigCatalogTypes_MODULE_SUBCATEGORY_BASE `path:"subcategory" module:"openconfig-module-catalog"` }
OpenconfigModuleCatalog_Organizations_Organization_Modules_Module_Classification represents the /openconfig-module-catalog/organizations/organization/modules/module/classification YANG schema element.
func (*OpenconfigModuleCatalog_Organizations_Organization_Modules_Module_Classification) GetCategory ¶
func (t *OpenconfigModuleCatalog_Organizations_Organization_Modules_Module_Classification) GetCategory() E_OpenconfigCatalogTypes_MODULE_CATEGORY_BASE
GetCategory retrieves the value of the leaf Category from the OpenconfigModuleCatalog_Organizations_Organization_Modules_Module_Classification struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Category is set, it can safely use t.GetCategory() 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.Category == nil' before retrieving the leaf's value.
func (*OpenconfigModuleCatalog_Organizations_Organization_Modules_Module_Classification) GetDeploymentStatus ¶
func (t *OpenconfigModuleCatalog_Organizations_Organization_Modules_Module_Classification) GetDeploymentStatus() E_OpenconfigCatalogTypes_MODULE_STATUS_TYPE
GetDeploymentStatus retrieves the value of the leaf DeploymentStatus from the OpenconfigModuleCatalog_Organizations_Organization_Modules_Module_Classification struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if DeploymentStatus is set, it can safely use t.GetDeploymentStatus() 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.DeploymentStatus == nil' before retrieving the leaf's value.
func (*OpenconfigModuleCatalog_Organizations_Organization_Modules_Module_Classification) GetSubcategory ¶
func (t *OpenconfigModuleCatalog_Organizations_Organization_Modules_Module_Classification) GetSubcategory() E_OpenconfigCatalogTypes_MODULE_SUBCATEGORY_BASE
GetSubcategory retrieves the value of the leaf Subcategory from the OpenconfigModuleCatalog_Organizations_Organization_Modules_Module_Classification struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Subcategory is set, it can safely use t.GetSubcategory() 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.Subcategory == nil' before retrieving the leaf's value.
func (*OpenconfigModuleCatalog_Organizations_Organization_Modules_Module_Classification) IsYANGGoStruct ¶
func (*OpenconfigModuleCatalog_Organizations_Organization_Modules_Module_Classification) IsYANGGoStruct()
IsYANGGoStruct ensures that OpenconfigModuleCatalog_Organizations_Organization_Modules_Module_Classification implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.
func (*OpenconfigModuleCatalog_Organizations_Organization_Modules_Module_Classification) Validate ¶
func (t *OpenconfigModuleCatalog_Organizations_Organization_Modules_Module_Classification) Validate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
func (*OpenconfigModuleCatalog_Organizations_Organization_Modules_Module_Classification) ΛEnumTypeMap ¶
func (t *OpenconfigModuleCatalog_Organizations_Organization_Modules_Module_Classification) ΛEnumTypeMap() map[string][]reflect.Type
ΛEnumTypeMap returns a map, keyed by YANG schema path, of the enumerated types that are included in the generated code.
type OpenconfigModuleCatalog_Organizations_Organization_Modules_Module_Dependencies ¶
type OpenconfigModuleCatalog_Organizations_Organization_Modules_Module_Dependencies struct {
RequiredModule []string `path:"required-module" module:"openconfig-module-catalog"`
}
OpenconfigModuleCatalog_Organizations_Organization_Modules_Module_Dependencies represents the /openconfig-module-catalog/organizations/organization/modules/module/dependencies YANG schema element.
func (*OpenconfigModuleCatalog_Organizations_Organization_Modules_Module_Dependencies) GetRequiredModule ¶
func (t *OpenconfigModuleCatalog_Organizations_Organization_Modules_Module_Dependencies) GetRequiredModule() []string
GetRequiredModule retrieves the value of the leaf RequiredModule from the OpenconfigModuleCatalog_Organizations_Organization_Modules_Module_Dependencies struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if RequiredModule is set, it can safely use t.GetRequiredModule() 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.RequiredModule == nil' before retrieving the leaf's value.
func (*OpenconfigModuleCatalog_Organizations_Organization_Modules_Module_Dependencies) IsYANGGoStruct ¶
func (*OpenconfigModuleCatalog_Organizations_Organization_Modules_Module_Dependencies) IsYANGGoStruct()
IsYANGGoStruct ensures that OpenconfigModuleCatalog_Organizations_Organization_Modules_Module_Dependencies implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.
func (*OpenconfigModuleCatalog_Organizations_Organization_Modules_Module_Dependencies) Validate ¶
func (t *OpenconfigModuleCatalog_Organizations_Organization_Modules_Module_Dependencies) Validate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
func (*OpenconfigModuleCatalog_Organizations_Organization_Modules_Module_Dependencies) ΛEnumTypeMap ¶
func (t *OpenconfigModuleCatalog_Organizations_Organization_Modules_Module_Dependencies) ΛEnumTypeMap() map[string][]reflect.Type
ΛEnumTypeMap returns a map, keyed by YANG schema path, of the enumerated types that are included in the generated code.
type OpenconfigModuleCatalog_Organizations_Organization_Modules_Module_Key ¶
type OpenconfigModuleCatalog_Organizations_Organization_Modules_Module_Key struct { Name string `path:"name"` Version string `path:"version"` }
OpenconfigModuleCatalog_Organizations_Organization_Modules_Module_Key represents the key for list Module of element /openconfig-module-catalog/organizations/organization/modules.
type OpenconfigModuleCatalog_Organizations_Organization_Modules_Module_Submodules ¶
type OpenconfigModuleCatalog_Organizations_Organization_Modules_Module_Submodules struct {
Submodule map[string]*OpenconfigModuleCatalog_Organizations_Organization_Modules_Module_Submodules_Submodule `path:"submodule" module:"openconfig-module-catalog"`
}
OpenconfigModuleCatalog_Organizations_Organization_Modules_Module_Submodules represents the /openconfig-module-catalog/organizations/organization/modules/module/submodules YANG schema element.
func (*OpenconfigModuleCatalog_Organizations_Organization_Modules_Module_Submodules) AppendSubmodule ¶
func (t *OpenconfigModuleCatalog_Organizations_Organization_Modules_Module_Submodules) AppendSubmodule(v *OpenconfigModuleCatalog_Organizations_Organization_Modules_Module_Submodules_Submodule) error
AppendSubmodule appends the supplied OpenconfigModuleCatalog_Organizations_Organization_Modules_Module_Submodules_Submodule struct to the list Submodule of OpenconfigModuleCatalog_Organizations_Organization_Modules_Module_Submodules. If the key value(s) specified in the supplied OpenconfigModuleCatalog_Organizations_Organization_Modules_Module_Submodules_Submodule already exist in the list, an error is returned.
func (*OpenconfigModuleCatalog_Organizations_Organization_Modules_Module_Submodules) GetOrCreateSubmodule ¶
func (t *OpenconfigModuleCatalog_Organizations_Organization_Modules_Module_Submodules) GetOrCreateSubmodule(Name string) *OpenconfigModuleCatalog_Organizations_Organization_Modules_Module_Submodules_Submodule
GetOrCreateSubmodule retrieves the value with the specified keys from the receiver OpenconfigModuleCatalog_Organizations_Organization_Modules_Module_Submodules. If the entry does not exist, then it is created. It returns the existing or new list member.
func (*OpenconfigModuleCatalog_Organizations_Organization_Modules_Module_Submodules) GetSubmodule ¶
func (t *OpenconfigModuleCatalog_Organizations_Organization_Modules_Module_Submodules) GetSubmodule(Name string) *OpenconfigModuleCatalog_Organizations_Organization_Modules_Module_Submodules_Submodule
GetSubmodule retrieves the value with the specified key from the Submodule map field of OpenconfigModuleCatalog_Organizations_Organization_Modules_Module_Submodules. 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 (*OpenconfigModuleCatalog_Organizations_Organization_Modules_Module_Submodules) IsYANGGoStruct ¶
func (*OpenconfigModuleCatalog_Organizations_Organization_Modules_Module_Submodules) IsYANGGoStruct()
IsYANGGoStruct ensures that OpenconfigModuleCatalog_Organizations_Organization_Modules_Module_Submodules implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.
func (*OpenconfigModuleCatalog_Organizations_Organization_Modules_Module_Submodules) NewSubmodule ¶
func (t *OpenconfigModuleCatalog_Organizations_Organization_Modules_Module_Submodules) NewSubmodule(Name string) (*OpenconfigModuleCatalog_Organizations_Organization_Modules_Module_Submodules_Submodule, error)
NewSubmodule creates a new entry in the Submodule list of the OpenconfigModuleCatalog_Organizations_Organization_Modules_Module_Submodules struct. The keys of the list are populated from the input arguments.
func (*OpenconfigModuleCatalog_Organizations_Organization_Modules_Module_Submodules) RenameSubmodule ¶
func (t *OpenconfigModuleCatalog_Organizations_Organization_Modules_Module_Submodules) RenameSubmodule(oldK, newK string) error
RenameSubmodule renames an entry in the list Submodule within the OpenconfigModuleCatalog_Organizations_Organization_Modules_Module_Submodules struct. The entry with key oldK is renamed to newK updating the key within the value.
func (*OpenconfigModuleCatalog_Organizations_Organization_Modules_Module_Submodules) Validate ¶
func (t *OpenconfigModuleCatalog_Organizations_Organization_Modules_Module_Submodules) Validate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
func (*OpenconfigModuleCatalog_Organizations_Organization_Modules_Module_Submodules) ΛEnumTypeMap ¶
func (t *OpenconfigModuleCatalog_Organizations_Organization_Modules_Module_Submodules) ΛEnumTypeMap() map[string][]reflect.Type
ΛEnumTypeMap returns a map, keyed by YANG schema path, of the enumerated types that are included in the generated code.
type OpenconfigModuleCatalog_Organizations_Organization_Modules_Module_Submodules_Submodule ¶
type OpenconfigModuleCatalog_Organizations_Organization_Modules_Module_Submodules_Submodule struct { Access *OpenconfigModuleCatalog_Organizations_Organization_Modules_Module_Submodules_Submodule_Access `path:"access" module:"openconfig-module-catalog"` Name *string `path:"name" module:"openconfig-module-catalog"` }
OpenconfigModuleCatalog_Organizations_Organization_Modules_Module_Submodules_Submodule represents the /openconfig-module-catalog/organizations/organization/modules/module/submodules/submodule YANG schema element.
func (*OpenconfigModuleCatalog_Organizations_Organization_Modules_Module_Submodules_Submodule) GetAccess ¶
func (t *OpenconfigModuleCatalog_Organizations_Organization_Modules_Module_Submodules_Submodule) GetAccess() *OpenconfigModuleCatalog_Organizations_Organization_Modules_Module_Submodules_Submodule_Access
GetAccess returns the value of the Access struct pointer from OpenconfigModuleCatalog_Organizations_Organization_Modules_Module_Submodules_Submodule. If the receiver or the field Access is nil, nil is returned such that the Get* methods can be safely chained.
func (*OpenconfigModuleCatalog_Organizations_Organization_Modules_Module_Submodules_Submodule) GetName ¶
func (t *OpenconfigModuleCatalog_Organizations_Organization_Modules_Module_Submodules_Submodule) GetName() string
GetName retrieves the value of the leaf Name from the OpenconfigModuleCatalog_Organizations_Organization_Modules_Module_Submodules_Submodule struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Name is set, it can safely use t.GetName() 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.Name == nil' before retrieving the leaf's value.
func (*OpenconfigModuleCatalog_Organizations_Organization_Modules_Module_Submodules_Submodule) GetOrCreateAccess ¶
func (t *OpenconfigModuleCatalog_Organizations_Organization_Modules_Module_Submodules_Submodule) GetOrCreateAccess() *OpenconfigModuleCatalog_Organizations_Organization_Modules_Module_Submodules_Submodule_Access
GetOrCreateAccess retrieves the value of the Access field or returns the existing field if it already exists.
func (*OpenconfigModuleCatalog_Organizations_Organization_Modules_Module_Submodules_Submodule) IsYANGGoStruct ¶
func (*OpenconfigModuleCatalog_Organizations_Organization_Modules_Module_Submodules_Submodule) IsYANGGoStruct()
IsYANGGoStruct ensures that OpenconfigModuleCatalog_Organizations_Organization_Modules_Module_Submodules_Submodule implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.
func (*OpenconfigModuleCatalog_Organizations_Organization_Modules_Module_Submodules_Submodule) Validate ¶
func (t *OpenconfigModuleCatalog_Organizations_Organization_Modules_Module_Submodules_Submodule) Validate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
func (*OpenconfigModuleCatalog_Organizations_Organization_Modules_Module_Submodules_Submodule) ΛEnumTypeMap ¶
func (t *OpenconfigModuleCatalog_Organizations_Organization_Modules_Module_Submodules_Submodule) Λ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 (*OpenconfigModuleCatalog_Organizations_Organization_Modules_Module_Submodules_Submodule) ΛListKeyMap ¶
func (t *OpenconfigModuleCatalog_Organizations_Organization_Modules_Module_Submodules_Submodule) ΛListKeyMap() (map[string]interface{}, error)
ΛListKeyMap returns the keys of the OpenconfigModuleCatalog_Organizations_Organization_Modules_Module_Submodules_Submodule struct, which is a YANG list entry.
type OpenconfigModuleCatalog_Organizations_Organization_Modules_Module_Submodules_Submodule_Access ¶
type OpenconfigModuleCatalog_Organizations_Organization_Modules_Module_Submodules_Submodule_Access struct { Md5Hash *string `path:"md5-hash" module:"openconfig-module-catalog"` Uri *string `path:"uri" module:"openconfig-module-catalog"` }
OpenconfigModuleCatalog_Organizations_Organization_Modules_Module_Submodules_Submodule_Access represents the /openconfig-module-catalog/organizations/organization/modules/module/submodules/submodule/access YANG schema element.
func (*OpenconfigModuleCatalog_Organizations_Organization_Modules_Module_Submodules_Submodule_Access) GetMd5Hash ¶
func (t *OpenconfigModuleCatalog_Organizations_Organization_Modules_Module_Submodules_Submodule_Access) GetMd5Hash() string
GetMd5Hash retrieves the value of the leaf Md5Hash from the OpenconfigModuleCatalog_Organizations_Organization_Modules_Module_Submodules_Submodule_Access struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Md5Hash is set, it can safely use t.GetMd5Hash() 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.Md5Hash == nil' before retrieving the leaf's value.
func (*OpenconfigModuleCatalog_Organizations_Organization_Modules_Module_Submodules_Submodule_Access) GetUri ¶
func (t *OpenconfigModuleCatalog_Organizations_Organization_Modules_Module_Submodules_Submodule_Access) GetUri() string
GetUri retrieves the value of the leaf Uri from the OpenconfigModuleCatalog_Organizations_Organization_Modules_Module_Submodules_Submodule_Access struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Uri is set, it can safely use t.GetUri() 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.Uri == nil' before retrieving the leaf's value.
func (*OpenconfigModuleCatalog_Organizations_Organization_Modules_Module_Submodules_Submodule_Access) IsYANGGoStruct ¶
func (*OpenconfigModuleCatalog_Organizations_Organization_Modules_Module_Submodules_Submodule_Access) IsYANGGoStruct()
IsYANGGoStruct ensures that OpenconfigModuleCatalog_Organizations_Organization_Modules_Module_Submodules_Submodule_Access implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.
func (*OpenconfigModuleCatalog_Organizations_Organization_Modules_Module_Submodules_Submodule_Access) Validate ¶
func (t *OpenconfigModuleCatalog_Organizations_Organization_Modules_Module_Submodules_Submodule_Access) Validate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
func (*OpenconfigModuleCatalog_Organizations_Organization_Modules_Module_Submodules_Submodule_Access) ΛEnumTypeMap ¶
func (t *OpenconfigModuleCatalog_Organizations_Organization_Modules_Module_Submodules_Submodule_Access) ΛEnumTypeMap() map[string][]reflect.Type
ΛEnumTypeMap returns a map, keyed by YANG schema path, of the enumerated types that are included in the generated code.
type OpenconfigModuleCatalog_Organizations_Organization_ReleaseBundles ¶
type OpenconfigModuleCatalog_Organizations_Organization_ReleaseBundles struct {
ReleaseBundle map[OpenconfigModuleCatalog_Organizations_Organization_ReleaseBundles_ReleaseBundle_Key]*OpenconfigModuleCatalog_Organizations_Organization_ReleaseBundles_ReleaseBundle `path:"release-bundle" module:"openconfig-module-catalog"`
}
OpenconfigModuleCatalog_Organizations_Organization_ReleaseBundles represents the /openconfig-module-catalog/organizations/organization/release-bundles YANG schema element.
func (*OpenconfigModuleCatalog_Organizations_Organization_ReleaseBundles) AppendReleaseBundle ¶
func (t *OpenconfigModuleCatalog_Organizations_Organization_ReleaseBundles) AppendReleaseBundle(v *OpenconfigModuleCatalog_Organizations_Organization_ReleaseBundles_ReleaseBundle) error
AppendReleaseBundle appends the supplied OpenconfigModuleCatalog_Organizations_Organization_ReleaseBundles_ReleaseBundle struct to the list ReleaseBundle of OpenconfigModuleCatalog_Organizations_Organization_ReleaseBundles. If the key value(s) specified in the supplied OpenconfigModuleCatalog_Organizations_Organization_ReleaseBundles_ReleaseBundle already exist in the list, an error is returned.
func (*OpenconfigModuleCatalog_Organizations_Organization_ReleaseBundles) GetOrCreateReleaseBundle ¶
func (t *OpenconfigModuleCatalog_Organizations_Organization_ReleaseBundles) GetOrCreateReleaseBundle(Name string, Version string) *OpenconfigModuleCatalog_Organizations_Organization_ReleaseBundles_ReleaseBundle
GetOrCreateReleaseBundle retrieves the value with the specified keys from the receiver OpenconfigModuleCatalog_Organizations_Organization_ReleaseBundles. If the entry does not exist, then it is created. It returns the existing or new list member.
func (*OpenconfigModuleCatalog_Organizations_Organization_ReleaseBundles) GetReleaseBundle ¶
func (t *OpenconfigModuleCatalog_Organizations_Organization_ReleaseBundles) GetReleaseBundle(Name string, Version string) *OpenconfigModuleCatalog_Organizations_Organization_ReleaseBundles_ReleaseBundle
GetReleaseBundle retrieves the value with the specified key from the ReleaseBundle map field of OpenconfigModuleCatalog_Organizations_Organization_ReleaseBundles. 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 (*OpenconfigModuleCatalog_Organizations_Organization_ReleaseBundles) IsYANGGoStruct ¶
func (*OpenconfigModuleCatalog_Organizations_Organization_ReleaseBundles) IsYANGGoStruct()
IsYANGGoStruct ensures that OpenconfigModuleCatalog_Organizations_Organization_ReleaseBundles implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.
func (*OpenconfigModuleCatalog_Organizations_Organization_ReleaseBundles) NewReleaseBundle ¶
func (t *OpenconfigModuleCatalog_Organizations_Organization_ReleaseBundles) NewReleaseBundle(Name string, Version string) (*OpenconfigModuleCatalog_Organizations_Organization_ReleaseBundles_ReleaseBundle, error)
NewReleaseBundle creates a new entry in the ReleaseBundle list of the OpenconfigModuleCatalog_Organizations_Organization_ReleaseBundles struct. The keys of the list are populated from the input arguments.
func (*OpenconfigModuleCatalog_Organizations_Organization_ReleaseBundles) RenameReleaseBundle ¶
func (t *OpenconfigModuleCatalog_Organizations_Organization_ReleaseBundles) RenameReleaseBundle(oldK, newK OpenconfigModuleCatalog_Organizations_Organization_ReleaseBundles_ReleaseBundle_Key) error
RenameReleaseBundle renames an entry in the list ReleaseBundle within the OpenconfigModuleCatalog_Organizations_Organization_ReleaseBundles struct. The entry with key oldK is renamed to newK updating the key within the value.
func (*OpenconfigModuleCatalog_Organizations_Organization_ReleaseBundles) Validate ¶
func (t *OpenconfigModuleCatalog_Organizations_Organization_ReleaseBundles) Validate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
func (*OpenconfigModuleCatalog_Organizations_Organization_ReleaseBundles) ΛEnumTypeMap ¶
func (t *OpenconfigModuleCatalog_Organizations_Organization_ReleaseBundles) ΛEnumTypeMap() map[string][]reflect.Type
ΛEnumTypeMap returns a map, keyed by YANG schema path, of the enumerated types that are included in the generated code.
type OpenconfigModuleCatalog_Organizations_Organization_ReleaseBundles_ReleaseBundle ¶
type OpenconfigModuleCatalog_Organizations_Organization_ReleaseBundles_ReleaseBundle struct { Members *OpenconfigModuleCatalog_Organizations_Organization_ReleaseBundles_ReleaseBundle_Members `path:"members" module:"openconfig-module-catalog"` Name *string `path:"name" module:"openconfig-module-catalog"` Version *string `path:"version" module:"openconfig-module-catalog"` }
OpenconfigModuleCatalog_Organizations_Organization_ReleaseBundles_ReleaseBundle represents the /openconfig-module-catalog/organizations/organization/release-bundles/release-bundle YANG schema element.
func (*OpenconfigModuleCatalog_Organizations_Organization_ReleaseBundles_ReleaseBundle) GetMembers ¶
func (t *OpenconfigModuleCatalog_Organizations_Organization_ReleaseBundles_ReleaseBundle) GetMembers() *OpenconfigModuleCatalog_Organizations_Organization_ReleaseBundles_ReleaseBundle_Members
GetMembers returns the value of the Members struct pointer from OpenconfigModuleCatalog_Organizations_Organization_ReleaseBundles_ReleaseBundle. If the receiver or the field Members is nil, nil is returned such that the Get* methods can be safely chained.
func (*OpenconfigModuleCatalog_Organizations_Organization_ReleaseBundles_ReleaseBundle) GetName ¶
func (t *OpenconfigModuleCatalog_Organizations_Organization_ReleaseBundles_ReleaseBundle) GetName() string
GetName retrieves the value of the leaf Name from the OpenconfigModuleCatalog_Organizations_Organization_ReleaseBundles_ReleaseBundle struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Name is set, it can safely use t.GetName() 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.Name == nil' before retrieving the leaf's value.
func (*OpenconfigModuleCatalog_Organizations_Organization_ReleaseBundles_ReleaseBundle) GetOrCreateMembers ¶
func (t *OpenconfigModuleCatalog_Organizations_Organization_ReleaseBundles_ReleaseBundle) GetOrCreateMembers() *OpenconfigModuleCatalog_Organizations_Organization_ReleaseBundles_ReleaseBundle_Members
GetOrCreateMembers retrieves the value of the Members field or returns the existing field if it already exists.
func (*OpenconfigModuleCatalog_Organizations_Organization_ReleaseBundles_ReleaseBundle) GetVersion ¶
func (t *OpenconfigModuleCatalog_Organizations_Organization_ReleaseBundles_ReleaseBundle) GetVersion() string
GetVersion retrieves the value of the leaf Version from the OpenconfigModuleCatalog_Organizations_Organization_ReleaseBundles_ReleaseBundle struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Version is set, it can safely use t.GetVersion() 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.Version == nil' before retrieving the leaf's value.
func (*OpenconfigModuleCatalog_Organizations_Organization_ReleaseBundles_ReleaseBundle) IsYANGGoStruct ¶
func (*OpenconfigModuleCatalog_Organizations_Organization_ReleaseBundles_ReleaseBundle) IsYANGGoStruct()
IsYANGGoStruct ensures that OpenconfigModuleCatalog_Organizations_Organization_ReleaseBundles_ReleaseBundle implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.
func (*OpenconfigModuleCatalog_Organizations_Organization_ReleaseBundles_ReleaseBundle) Validate ¶
func (t *OpenconfigModuleCatalog_Organizations_Organization_ReleaseBundles_ReleaseBundle) Validate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
func (*OpenconfigModuleCatalog_Organizations_Organization_ReleaseBundles_ReleaseBundle) ΛEnumTypeMap ¶
func (t *OpenconfigModuleCatalog_Organizations_Organization_ReleaseBundles_ReleaseBundle) Λ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 (*OpenconfigModuleCatalog_Organizations_Organization_ReleaseBundles_ReleaseBundle) ΛListKeyMap ¶
func (t *OpenconfigModuleCatalog_Organizations_Organization_ReleaseBundles_ReleaseBundle) ΛListKeyMap() (map[string]interface{}, error)
ΛListKeyMap returns the keys of the OpenconfigModuleCatalog_Organizations_Organization_ReleaseBundles_ReleaseBundle struct, which is a YANG list entry.
type OpenconfigModuleCatalog_Organizations_Organization_ReleaseBundles_ReleaseBundle_Key ¶
type OpenconfigModuleCatalog_Organizations_Organization_ReleaseBundles_ReleaseBundle_Key struct { Name string `path:"name"` Version string `path:"version"` }
OpenconfigModuleCatalog_Organizations_Organization_ReleaseBundles_ReleaseBundle_Key represents the key for list ReleaseBundle of element /openconfig-module-catalog/organizations/organization/release-bundles.
type OpenconfigModuleCatalog_Organizations_Organization_ReleaseBundles_ReleaseBundle_Members ¶
type OpenconfigModuleCatalog_Organizations_Organization_ReleaseBundles_ReleaseBundle_Members struct {
Member map[string]*OpenconfigModuleCatalog_Organizations_Organization_ReleaseBundles_ReleaseBundle_Members_Member `path:"member" module:"openconfig-module-catalog"`
}
OpenconfigModuleCatalog_Organizations_Organization_ReleaseBundles_ReleaseBundle_Members represents the /openconfig-module-catalog/organizations/organization/release-bundles/release-bundle/members YANG schema element.
func (*OpenconfigModuleCatalog_Organizations_Organization_ReleaseBundles_ReleaseBundle_Members) AppendMember ¶
func (t *OpenconfigModuleCatalog_Organizations_Organization_ReleaseBundles_ReleaseBundle_Members) AppendMember(v *OpenconfigModuleCatalog_Organizations_Organization_ReleaseBundles_ReleaseBundle_Members_Member) error
AppendMember appends the supplied OpenconfigModuleCatalog_Organizations_Organization_ReleaseBundles_ReleaseBundle_Members_Member struct to the list Member of OpenconfigModuleCatalog_Organizations_Organization_ReleaseBundles_ReleaseBundle_Members. If the key value(s) specified in the supplied OpenconfigModuleCatalog_Organizations_Organization_ReleaseBundles_ReleaseBundle_Members_Member already exist in the list, an error is returned.
func (*OpenconfigModuleCatalog_Organizations_Organization_ReleaseBundles_ReleaseBundle_Members) GetMember ¶
func (t *OpenconfigModuleCatalog_Organizations_Organization_ReleaseBundles_ReleaseBundle_Members) GetMember(Id string) *OpenconfigModuleCatalog_Organizations_Organization_ReleaseBundles_ReleaseBundle_Members_Member
GetMember retrieves the value with the specified key from the Member map field of OpenconfigModuleCatalog_Organizations_Organization_ReleaseBundles_ReleaseBundle_Members. 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 (*OpenconfigModuleCatalog_Organizations_Organization_ReleaseBundles_ReleaseBundle_Members) GetOrCreateMember ¶
func (t *OpenconfigModuleCatalog_Organizations_Organization_ReleaseBundles_ReleaseBundle_Members) GetOrCreateMember(Id string) *OpenconfigModuleCatalog_Organizations_Organization_ReleaseBundles_ReleaseBundle_Members_Member
GetOrCreateMember retrieves the value with the specified keys from the receiver OpenconfigModuleCatalog_Organizations_Organization_ReleaseBundles_ReleaseBundle_Members. If the entry does not exist, then it is created. It returns the existing or new list member.
func (*OpenconfigModuleCatalog_Organizations_Organization_ReleaseBundles_ReleaseBundle_Members) IsYANGGoStruct ¶
func (*OpenconfigModuleCatalog_Organizations_Organization_ReleaseBundles_ReleaseBundle_Members) IsYANGGoStruct()
IsYANGGoStruct ensures that OpenconfigModuleCatalog_Organizations_Organization_ReleaseBundles_ReleaseBundle_Members implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.
func (*OpenconfigModuleCatalog_Organizations_Organization_ReleaseBundles_ReleaseBundle_Members) NewMember ¶
func (t *OpenconfigModuleCatalog_Organizations_Organization_ReleaseBundles_ReleaseBundle_Members) NewMember(Id string) (*OpenconfigModuleCatalog_Organizations_Organization_ReleaseBundles_ReleaseBundle_Members_Member, error)
NewMember creates a new entry in the Member list of the OpenconfigModuleCatalog_Organizations_Organization_ReleaseBundles_ReleaseBundle_Members struct. The keys of the list are populated from the input arguments.
func (*OpenconfigModuleCatalog_Organizations_Organization_ReleaseBundles_ReleaseBundle_Members) RenameMember ¶
func (t *OpenconfigModuleCatalog_Organizations_Organization_ReleaseBundles_ReleaseBundle_Members) RenameMember(oldK, newK string) error
RenameMember renames an entry in the list Member within the OpenconfigModuleCatalog_Organizations_Organization_ReleaseBundles_ReleaseBundle_Members struct. The entry with key oldK is renamed to newK updating the key within the value.
func (*OpenconfigModuleCatalog_Organizations_Organization_ReleaseBundles_ReleaseBundle_Members) Validate ¶
func (t *OpenconfigModuleCatalog_Organizations_Organization_ReleaseBundles_ReleaseBundle_Members) Validate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
func (*OpenconfigModuleCatalog_Organizations_Organization_ReleaseBundles_ReleaseBundle_Members) ΛEnumTypeMap ¶
func (t *OpenconfigModuleCatalog_Organizations_Organization_ReleaseBundles_ReleaseBundle_Members) ΛEnumTypeMap() map[string][]reflect.Type
ΛEnumTypeMap returns a map, keyed by YANG schema path, of the enumerated types that are included in the generated code.
type OpenconfigModuleCatalog_Organizations_Organization_ReleaseBundles_ReleaseBundle_Members_Member ¶
type OpenconfigModuleCatalog_Organizations_Organization_ReleaseBundles_ReleaseBundle_Members_Member struct { CompatibleVersions []string `path:"compatible-versions" module:"openconfig-module-catalog"` Id *string `path:"id" module:"openconfig-module-catalog"` Module *string `path:"module" module:"openconfig-module-catalog"` Publisher *string `path:"publisher" module:"openconfig-module-catalog"` ReleaseBundle *string `path:"release-bundle" module:"openconfig-module-catalog"` Type E_OpenconfigCatalogTypes_CATALOG_MEMBER_TYPE `path:"type" module:"openconfig-module-catalog"` }
OpenconfigModuleCatalog_Organizations_Organization_ReleaseBundles_ReleaseBundle_Members_Member represents the /openconfig-module-catalog/organizations/organization/release-bundles/release-bundle/members/member YANG schema element.
func (*OpenconfigModuleCatalog_Organizations_Organization_ReleaseBundles_ReleaseBundle_Members_Member) GetCompatibleVersions ¶
func (t *OpenconfigModuleCatalog_Organizations_Organization_ReleaseBundles_ReleaseBundle_Members_Member) GetCompatibleVersions() []string
GetCompatibleVersions retrieves the value of the leaf CompatibleVersions from the OpenconfigModuleCatalog_Organizations_Organization_ReleaseBundles_ReleaseBundle_Members_Member struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if CompatibleVersions is set, it can safely use t.GetCompatibleVersions() 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.CompatibleVersions == nil' before retrieving the leaf's value.
func (*OpenconfigModuleCatalog_Organizations_Organization_ReleaseBundles_ReleaseBundle_Members_Member) GetId ¶
func (t *OpenconfigModuleCatalog_Organizations_Organization_ReleaseBundles_ReleaseBundle_Members_Member) GetId() string
GetId retrieves the value of the leaf Id from the OpenconfigModuleCatalog_Organizations_Organization_ReleaseBundles_ReleaseBundle_Members_Member struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Id is set, it can safely use t.GetId() 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.Id == nil' before retrieving the leaf's value.
func (*OpenconfigModuleCatalog_Organizations_Organization_ReleaseBundles_ReleaseBundle_Members_Member) GetModule ¶
func (t *OpenconfigModuleCatalog_Organizations_Organization_ReleaseBundles_ReleaseBundle_Members_Member) GetModule() string
GetModule retrieves the value of the leaf Module from the OpenconfigModuleCatalog_Organizations_Organization_ReleaseBundles_ReleaseBundle_Members_Member struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Module is set, it can safely use t.GetModule() 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.Module == nil' before retrieving the leaf's value.
func (*OpenconfigModuleCatalog_Organizations_Organization_ReleaseBundles_ReleaseBundle_Members_Member) GetPublisher ¶
func (t *OpenconfigModuleCatalog_Organizations_Organization_ReleaseBundles_ReleaseBundle_Members_Member) GetPublisher() string
GetPublisher retrieves the value of the leaf Publisher from the OpenconfigModuleCatalog_Organizations_Organization_ReleaseBundles_ReleaseBundle_Members_Member struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Publisher is set, it can safely use t.GetPublisher() 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.Publisher == nil' before retrieving the leaf's value.
func (*OpenconfigModuleCatalog_Organizations_Organization_ReleaseBundles_ReleaseBundle_Members_Member) GetReleaseBundle ¶
func (t *OpenconfigModuleCatalog_Organizations_Organization_ReleaseBundles_ReleaseBundle_Members_Member) GetReleaseBundle() string
GetReleaseBundle retrieves the value of the leaf ReleaseBundle from the OpenconfigModuleCatalog_Organizations_Organization_ReleaseBundles_ReleaseBundle_Members_Member struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if ReleaseBundle is set, it can safely use t.GetReleaseBundle() 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.ReleaseBundle == nil' before retrieving the leaf's value.
func (*OpenconfigModuleCatalog_Organizations_Organization_ReleaseBundles_ReleaseBundle_Members_Member) GetType ¶
func (t *OpenconfigModuleCatalog_Organizations_Organization_ReleaseBundles_ReleaseBundle_Members_Member) GetType() E_OpenconfigCatalogTypes_CATALOG_MEMBER_TYPE
GetType retrieves the value of the leaf Type from the OpenconfigModuleCatalog_Organizations_Organization_ReleaseBundles_ReleaseBundle_Members_Member struct. Caution should be exercised whilst using this method since it will return the Go zero value if the field is explicitly unset. If the caller explicitly does not care if Type is set, it can safely use t.GetType() 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.Type == nil' before retrieving the leaf's value.
func (*OpenconfigModuleCatalog_Organizations_Organization_ReleaseBundles_ReleaseBundle_Members_Member) IsYANGGoStruct ¶
func (*OpenconfigModuleCatalog_Organizations_Organization_ReleaseBundles_ReleaseBundle_Members_Member) IsYANGGoStruct()
IsYANGGoStruct ensures that OpenconfigModuleCatalog_Organizations_Organization_ReleaseBundles_ReleaseBundle_Members_Member implements the yang.GoStruct interface. This allows functions that need to handle this struct to identify it as being generated by ygen.
func (*OpenconfigModuleCatalog_Organizations_Organization_ReleaseBundles_ReleaseBundle_Members_Member) Validate ¶
func (t *OpenconfigModuleCatalog_Organizations_Organization_ReleaseBundles_ReleaseBundle_Members_Member) Validate(opts ...ygot.ValidationOption) error
Validate validates s against the YANG schema corresponding to its type.
func (*OpenconfigModuleCatalog_Organizations_Organization_ReleaseBundles_ReleaseBundle_Members_Member) ΛEnumTypeMap ¶
func (t *OpenconfigModuleCatalog_Organizations_Organization_ReleaseBundles_ReleaseBundle_Members_Member) Λ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 (*OpenconfigModuleCatalog_Organizations_Organization_ReleaseBundles_ReleaseBundle_Members_Member) ΛListKeyMap ¶
func (t *OpenconfigModuleCatalog_Organizations_Organization_ReleaseBundles_ReleaseBundle_Members_Member) ΛListKeyMap() (map[string]interface{}, error)
ΛListKeyMap returns the keys of the OpenconfigModuleCatalog_Organizations_Organization_ReleaseBundles_ReleaseBundle_Members_Member struct, which is a YANG list entry.
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.