Documentation
¶
Overview ¶
Copyright (c) 2017-2019, AT&T Intellectual Property. All rights reserved.
Copyright (c) 2015-2017 by Brocade Communications Systems, Inc. All rights reserved.
SPDX-License-Identifier: MPL-2.0
Index ¶
- func Load(fname string, st schema.ModelSet) (*data.Node, error, []error)
- func LoadFile(fname string, f io.Reader, st schema.ModelSet) (*data.Node, error, []error)
- func LoadFileNoValidate(fname string, f io.Reader) (*data.Node, error)
- func LoadNoValidate(fname string) (*data.Node, error)
- func LoadString(name, text string, st schema.ModelSet) (*data.Node, error, []error)
- func LoadStringNoNormalize(name, text string, st schema.ModelSet) (*data.Node, error, []error)
- func LoadStringNoValidate(name, text string) (*data.Node, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func LoadString ¶
LoadString - create tree from given config, noting any rejected paths
Rejected paths are not a fatal error so we return them separately to other, fatal, errors.
func LoadStringNoNormalize ¶
LoadStringNoNormalize - load from string, ignoring any normalization.
Useful for XYANG tool and any other environment where normalization scripts may not be present.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.