Documentation ¶
Index ¶
- Constants
- func ExpandOSPaths(paths []string) ([]string, error)
- type Schema
- func (sc *Schema) BuildPath(pe []string, p *sdcpb.Path) error
- func (s *Schema) Dirs() []string
- func (s *Schema) Excludes() []string
- func (sc *Schema) ExpandPath(p *sdcpb.Path, dt sdcpb.DataType) ([]*sdcpb.Path, error)
- func (s *Schema) Files() []string
- func (sc *Schema) FindPossibleModulesForPathElement(e *yang.Entry, pathElement string) ([]*yang.Entry, error)
- func (sc *Schema) GetEntry(pe []string) (*yang.Entry, error)
- func (sc *Schema) GetEntryCh(pe []string, ch chan *yang.Entry) error
- func (s *Schema) Name() string
- func (s *Schema) Reload() (*Schema, error)
- func (s *Schema) Reset()
- func (sc *Schema) SchemaElemFromYEntry(e *yang.Entry, withDesc bool) (*sdcpb.SchemaElem, error)
- func (s *Schema) UniqueName(sep string) string
- func (s *Schema) Vendor() string
- func (s *Schema) Version() string
- func (s *Schema) Walk(e *yang.Entry, fn func(ec *yang.Entry) error) error
Constants ¶
View Source
const (
RootName = "__root__"
)
Variables ¶
This section is empty.
Functions ¶
func ExpandOSPaths ¶
Types ¶
type Schema ¶
type Schema struct {
// contains filtered or unexported fields
}
func (*Schema) ExpandPath ¶
func (*Schema) FindPossibleModulesForPathElement ¶ added in v0.0.28
func (*Schema) SchemaElemFromYEntry ¶ added in v0.0.26
func (*Schema) UniqueName ¶
Click to show internal directories.
Click to hide internal directories.