package
0.29.22
Repository: https://github.com/openconfig/ygot.git
Documentation: pkg.go.dev

# Packages

Package pathtest tests the path generation library (ypathgen) using a real OpenConfig YANG schema.

# Functions

GetOrderedNodeDataNames returns the alphabetically-sorted slice of keys (path struct names) for a given NodeDataMap.
NewDefaultConfig creates a GenConfig with default configuration.

# Constants

BuilderCtorSuffix is the suffix applied to the list builder constructor method's name in order to indicate itself to the user.
BuilderKeyPrefix is the prefix applied to the key-modifying builder method for a list PathStruct that uses the builder API.
WildcardSuffix is the suffix given to the wildcard versions of each node as well as a list's wildcard child constructor methods that distinguishes each from its non-wildcard counterpart.

# Structs

GenConfig stores code generation configuration.
GeneratedPathCode contains generated code snippets that can be processed by the calling application.
GoImports contains package import options.
GoPathStructCodeSnippet is used to store the generated code snippets associated with a particular Go struct entity (corresponding to a container, list, or leaf in the schema).
NodeData contains information about the ygen-generated code of a YANG schema node.

# Type aliases

NodeDataMap is a map from the path struct type name of a schema node to its NodeData.