ygotgen

package
v0.0.0-...-b66c160 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 18, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

README

To generate ygotgen.go, run bash gen.sh in ygotgen directory.

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

Constants

This section is empty.

Variables

View Source
var (
	SchemaTree map[string]*yang.Entry
)
View Source
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.

View Source
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 Schema

func Schema() (*ytypes.Schema, error)

Schema returns the details of the generated schema.

func Unmarshal

func Unmarshal(data []byte, destStruct ygot.GoStruct, opts ...ytypes.UnmarshalOpt) error

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.

func UnzipSchema

func UnzipSchema() (map[string]*yang.Entry, error)

UnzipSchema unzips the zipped schema and returns a map of yang.Entry nodes, keyed by the name of the struct that the yang.Entry describes the schema for.

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

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

String returns a logging-friendly string for E_OpenconfigCatalogTypes_CATALOG_MEMBER_TYPE.

func (E_OpenconfigCatalogTypes_CATALOG_MEMBER_TYPE) ΛMap

Λ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

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

String returns a logging-friendly string for E_OpenconfigCatalogTypes_IMPLEMENTATION_STATUS_TYPE.

func (E_OpenconfigCatalogTypes_IMPLEMENTATION_STATUS_TYPE) ΛMap

Λ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

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

String returns a logging-friendly string for E_OpenconfigCatalogTypes_MODULE_CATEGORY_BASE.

func (E_OpenconfigCatalogTypes_MODULE_CATEGORY_BASE) ΛMap

Λ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

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

String returns a logging-friendly string for E_OpenconfigCatalogTypes_MODULE_STATUS_TYPE.

func (E_OpenconfigCatalogTypes_MODULE_STATUS_TYPE) ΛMap

Λ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

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

String returns a logging-friendly string for E_OpenconfigCatalogTypes_MODULE_SUBCATEGORY_BASE.

func (E_OpenconfigCatalogTypes_MODULE_SUBCATEGORY_BASE) ΛMap

Λ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

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

String returns a logging-friendly string for E_OpenconfigCatalogTypes_ORGANIZATION_TYPE.

func (E_OpenconfigCatalogTypes_ORGANIZATION_TYPE) ΛMap

Λ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

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

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

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

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

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

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

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

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

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

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

GetOrCreateFeatureBundles retrieves the value of the FeatureBundles field or returns the existing field if it already exists.

func (*OpenconfigModuleCatalog_Organizations_Organization) GetOrCreateImplementations

GetOrCreateImplementations retrieves the value of the Implementations field or returns the existing field if it already exists.

func (*OpenconfigModuleCatalog_Organizations_Organization) GetOrCreateModules

GetOrCreateModules retrieves the value of the Modules field or returns the existing field if it already exists.

func (*OpenconfigModuleCatalog_Organizations_Organization) GetOrCreateReleaseBundles

GetOrCreateReleaseBundles retrieves the value of the ReleaseBundles field or returns the existing field if it already exists.

func (*OpenconfigModuleCatalog_Organizations_Organization) GetReleaseBundles

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

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

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

Validate validates s against the YANG schema corresponding to its type.

func (*OpenconfigModuleCatalog_Organizations_Organization) ΛEnumTypeMap

Λ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

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

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

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

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

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

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

Validate validates s against the YANG schema corresponding to its type.

func (*OpenconfigModuleCatalog_Organizations_Organization_FeatureBundles) ΛEnumTypeMap

Λ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

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

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

GetOrCreateFeatureBundles retrieves the value of the FeatureBundles field or returns the existing field if it already exists.

func (*OpenconfigModuleCatalog_Organizations_Organization_FeatureBundles_FeatureBundle) GetOrCreateReleaseBundle

GetOrCreateReleaseBundle retrieves the value of the ReleaseBundle field or returns the existing field if it already exists.

func (*OpenconfigModuleCatalog_Organizations_Organization_FeatureBundles_FeatureBundle) GetPath

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

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

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

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

Validate validates s against the YANG schema corresponding to its type.

func (*OpenconfigModuleCatalog_Organizations_Organization_FeatureBundles_FeatureBundle) ΛEnumTypeMap

Λ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

Λ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

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

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

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

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

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

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

Validate validates s against the YANG schema corresponding to its type.

func (*OpenconfigModuleCatalog_Organizations_Organization_FeatureBundles_FeatureBundle_FeatureBundles) ΛEnumTypeMap

Λ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

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

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

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

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

Validate validates s against the YANG schema corresponding to its type.

func (*OpenconfigModuleCatalog_Organizations_Organization_FeatureBundles_FeatureBundle_FeatureBundles_FeatureBundle) ΛEnumTypeMap

Λ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

Λ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

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

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

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

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

Validate validates s against the YANG schema corresponding to its type.

func (*OpenconfigModuleCatalog_Organizations_Organization_FeatureBundles_FeatureBundle_ReleaseBundle) ΛEnumTypeMap

Λ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

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

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

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

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

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

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

Validate validates s against the YANG schema corresponding to its type.

func (*OpenconfigModuleCatalog_Organizations_Organization_Implementations) ΛEnumTypeMap

Λ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

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

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

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

GetOrCreateFeatureBundles retrieves the value of the FeatureBundles field or returns the existing field if it already exists.

func (*OpenconfigModuleCatalog_Organizations_Organization_Implementations_Implementation) GetPlatform

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

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

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

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

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

Validate validates s against the YANG schema corresponding to its type.

func (*OpenconfigModuleCatalog_Organizations_Organization_Implementations_Implementation) ΛEnumTypeMap

Λ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

Λ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

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

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

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

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

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

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

Validate validates s against the YANG schema corresponding to its type.

func (*OpenconfigModuleCatalog_Organizations_Organization_Implementations_Implementation_FeatureBundles) ΛEnumTypeMap

Λ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

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

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

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

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

Validate validates s against the YANG schema corresponding to its type.

func (*OpenconfigModuleCatalog_Organizations_Organization_Implementations_Implementation_FeatureBundles_FeatureBundle) ΛEnumTypeMap

Λ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

Λ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

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

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

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

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

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

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

Validate validates s against the YANG schema corresponding to its type.

func (*OpenconfigModuleCatalog_Organizations_Organization_Modules) ΛEnumTypeMap

Λ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

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

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

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

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

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

GetOrCreateAccess retrieves the value of the Access field or returns the existing field if it already exists.

func (*OpenconfigModuleCatalog_Organizations_Organization_Modules_Module) GetOrCreateClassification

GetOrCreateClassification retrieves the value of the Classification field or returns the existing field if it already exists.

func (*OpenconfigModuleCatalog_Organizations_Organization_Modules_Module) GetOrCreateDependencies

GetOrCreateDependencies retrieves the value of the Dependencies field or returns the existing field if it already exists.

func (*OpenconfigModuleCatalog_Organizations_Organization_Modules_Module) GetOrCreateSubmodules

GetOrCreateSubmodules retrieves the value of the Submodules field or returns the existing field if it already exists.

func (*OpenconfigModuleCatalog_Organizations_Organization_Modules_Module) GetPrefix

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

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

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

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

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

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

Validate validates s against the YANG schema corresponding to its type.

func (*OpenconfigModuleCatalog_Organizations_Organization_Modules_Module) ΛEnumTypeMap

Λ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

Λ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

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

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

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

Validate validates s against the YANG schema corresponding to its type.

func (*OpenconfigModuleCatalog_Organizations_Organization_Modules_Module_Access) ΛEnumTypeMap

Λ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

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

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

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

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

Validate validates s against the YANG schema corresponding to its type.

func (*OpenconfigModuleCatalog_Organizations_Organization_Modules_Module_Classification) ΛEnumTypeMap

Λ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

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

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

Validate validates s against the YANG schema corresponding to its type.

func (*OpenconfigModuleCatalog_Organizations_Organization_Modules_Module_Dependencies) ΛEnumTypeMap

Λ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

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

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

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

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

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

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

Validate validates s against the YANG schema corresponding to its type.

func (*OpenconfigModuleCatalog_Organizations_Organization_Modules_Module_Submodules) ΛEnumTypeMap

Λ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

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

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

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

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

Validate validates s against the YANG schema corresponding to its type.

func (*OpenconfigModuleCatalog_Organizations_Organization_Modules_Module_Submodules_Submodule) ΛEnumTypeMap

Λ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

Λ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

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

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

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

Validate validates s against the YANG schema corresponding to its type.

func (*OpenconfigModuleCatalog_Organizations_Organization_Modules_Module_Submodules_Submodule_Access) ΛEnumTypeMap

Λ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

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

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

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

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

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

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

Validate validates s against the YANG schema corresponding to its type.

func (*OpenconfigModuleCatalog_Organizations_Organization_ReleaseBundles) ΛEnumTypeMap

Λ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

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

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

GetOrCreateMembers retrieves the value of the Members field or returns the existing field if it already exists.

func (*OpenconfigModuleCatalog_Organizations_Organization_ReleaseBundles_ReleaseBundle) GetVersion

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

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

Validate validates s against the YANG schema corresponding to its type.

func (*OpenconfigModuleCatalog_Organizations_Organization_ReleaseBundles_ReleaseBundle) ΛEnumTypeMap

Λ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

Λ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

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

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

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

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

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

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

Validate validates s against the YANG schema corresponding to its type.

func (*OpenconfigModuleCatalog_Organizations_Organization_ReleaseBundles_ReleaseBundle_Members) ΛEnumTypeMap

Λ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

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

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

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

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

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

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

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

Validate validates s against the YANG schema corresponding to its type.

func (*OpenconfigModuleCatalog_Organizations_Organization_ReleaseBundles_ReleaseBundle_Members_Member) ΛEnumTypeMap

Λ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

Λ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.

type YANGEmpty

type YANGEmpty bool

YANGEmpty is a type that is used for fields that have a YANG type of empty. It is used such that empty fields can be distinguished from boolean fields in the generated code.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL