Documentation ¶
Index ¶
- type Manifest
- type ManifestNode
- type Parser
- func (p *Parser) Parse(r io.Reader, path string) ([]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)
- type TagType
Constants ¶
This section is empty.
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 struct { StartLine int EndLine int Offset int Value interface{} Type TagType Path string }
func (*ManifestNode) ToRego ¶ added in v0.55.0
func (r *ManifestNode) ToRego() interface{}
func (*ManifestNode) UnmarshalYAML ¶ added in v0.50.0
func (r *ManifestNode) UnmarshalYAML(node *yaml.Node) error
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.