Documentation
¶
Index ¶
- Variables
- func Parse(r io.Reader) (*schema.Config, error)
- func ParseBytes(b []byte) (*schema.Config, error)
- func ParseFile(p string) (*schema.Config, error)
- func ParseMulti(r io.Reader) ([]*schema.Config, error)
- func ParseMultiBytes(b []byte) ([]*schema.Config, error)
- func ParseMultiFile(p string) ([]*schema.Config, error)
- func ParseString(s string) (*schema.Config, error)
- func Walk(in *schema.Config, fn WalkFunc) error
- type WalkFunc
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrSkip = errors.New("skip this node")
ErrSkip is used as a return value for Walk to indicate child stages or steps should be skipped.
View Source
var ErrSkipAll = errors.New("skip all node")
ErrSkipAll is used as a return value for Walk to indicate all subsequent nodes should be skipped
Functions ¶
func ParseBytes ¶
ParseBytes parses the configuration from bytes b.
func ParseMulti ¶
ParseMulti parses a multi-document configuration from io.Reader r.
func ParseMultiBytes ¶
ParseMultiBytes parses a multi-document configuration from bytes b.
func ParseMultiFile ¶
ParseMultiFile parses a multi-document configuration from path p.
func ParseString ¶
ParseString parses the configuration from string s.
Types ¶
Click to show internal directories.
Click to hide internal directories.