Documentation ¶
Index ¶
- Constants
- type Manifest
- type ManifestNode
- type Parser
- func (p *Parser) Parse(r io.Reader) ([]interface{}, error)
- func (p *Parser) ParseFS(ctx context.Context, target fs.FS, path string) (map[string][]interface{}, error)
- func (p *Parser) ParseFile(_ context.Context, fs fs.FS, path string) ([]interface{}, error)
- func (p *Parser) SetDebugWriter(writer io.Writer)
- func (p *Parser) SetSkipRequiredCheck(b bool)
Constants ¶
View Source
const ( StartLine = "startline" EndLine = "endline" Value = "value" )
View Source
const ( TagBool = "!!bool" TagInt = "!!int" TagString = "!!str" TagSlice = "!!seq" TagMap = "!!map" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Manifest ¶ added in v0.50.0
type Manifest struct { Path string Content ManifestNode }
func (*Manifest) UnmarshalYAML ¶ added in v0.50.0
type ManifestNode ¶ added in v0.50.0
type ManifestNode map[string]interface{}
func (ManifestNode) EndLine ¶ added in v0.50.0
func (r ManifestNode) EndLine() int
func (ManifestNode) StartLine ¶ added in v0.50.0
func (r ManifestNode) StartLine() int
func (ManifestNode) UnmarshalYAML ¶ added in v0.50.0
func (r ManifestNode) UnmarshalYAML(node *yaml.Node) error
func (ManifestNode) Value ¶ added in v0.50.0
func (r ManifestNode) Value() interface{}
type Parser ¶
type Parser struct {
// contains filtered or unexported fields
}
func (*Parser) SetDebugWriter ¶ added in v0.39.0
func (*Parser) SetSkipRequiredCheck ¶ added in v0.39.0
Click to show internal directories.
Click to hide internal directories.