Documentation ¶
Index ¶
- func DefaultForm(node *parser.Node) (arguments string)
- func ExecForm(node *parser.Node) (arguments string)
- func KeyValueForm(node *parser.Node, tab string) (arguments string)
- func Marshal(data *parser.Result, document *string) (err error)
- func ShellForm(node *parser.Node) (arguments string)
- type MobyParser
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DefaultForm ¶
DefaultForm format is the default instruction line
func KeyValueForm ¶
KeyValueForm format instruction arguments and add '=' between a key and a value, like `LABEL key=value`
Types ¶
type MobyParser ¶
func (MobyParser) FindInstruction ¶
func (m MobyParser) FindInstruction(dockerfileContent []byte) bool
func (MobyParser) ReplaceInstructions ¶
func (m MobyParser) ReplaceInstructions(dockerfileContent []byte, sourceValue string) ([]byte, types.ChangedLines, error)
func (MobyParser) String ¶
func (m MobyParser) String() string
Click to show internal directories.
Click to hide internal directories.