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, fsys 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 ¶
type Manifest struct { Path string Content *ManifestNode }
func (*Manifest) UnmarshalYAML ¶
type ManifestNode ¶
type ManifestNode struct { StartLine int EndLine int Offset int Value interface{} Type TagType Path string }
func (*ManifestNode) ToRego ¶
func (r *ManifestNode) ToRego() interface{}
func (*ManifestNode) UnmarshalYAML ¶
func (r *ManifestNode) UnmarshalYAML(node *yaml.Node) error
type Parser ¶
type Parser struct {
// contains filtered or unexported fields
}
func (*Parser) SetDebugWriter ¶
func (*Parser) SetSkipRequiredCheck ¶
Click to show internal directories.
Click to hide internal directories.