Documentation ¶ Index ¶ type Parser func New() *Parser 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) Required(path string) bool Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Parser ¶ type Parser struct{} func New ¶ func New() *Parser New creates a new parser func (*Parser) ParseFS ¶ func (p *Parser) ParseFS(ctx context.Context, target fs.FS, path string) (map[string]interface{}, error) func (*Parser) ParseFile ¶ func (p *Parser) ParseFile(_ context.Context, fs fs.FS, path string) (interface{}, error) ParseFile parses Dockerfile content from the provided filesystem path. func (*Parser) Required ¶ func (p *Parser) Required(path string) bool Source Files ¶ View all Source files parser.go Click to show internal directories. Click to hide internal directories.