Versions in this module Expand all Collapse all v1 v1.0.0 Jan 26, 2017 Changes in this version + func NodeGetArgs(node *parser.Node) []string + func NodeGetLine(node *parser.Node) string + func ParseLine(line string) (*parser.Node, error) + type Dockerfile struct + func DockerfileFromString(input string) (*Dockerfile, error) + func DockerfileNew() *Dockerfile + func DockerfileRead(input io.Reader) (*Dockerfile, error) + func (d *Dockerfile) AddLineAfterFrom(line string) error + func (d *Dockerfile) AddNodeAfterFrom(node *parser.Node) error + func (d *Dockerfile) AppendLine(line string) error + func (d *Dockerfile) AppendNode(node *parser.Node) error + func (d *Dockerfile) FilterDisableNetwork() error + func (d *Dockerfile) FilterOptimize() error + func (d *Dockerfile) FilterToArm(destArchitecture string) error + func (d *Dockerfile) From() string + func (d *Dockerfile) GetNodesByType(nodeType string) []*parser.Node + func (d *Dockerfile) Length() int + func (d *Dockerfile) PrependLine(line string) error + func (d *Dockerfile) PrependNode(node *parser.Node) error + func (d *Dockerfile) RemoveAt(i int) error + func (d *Dockerfile) RemoveNodesByType(nodeType string) error + func (d *Dockerfile) Replace(from, to string) error + func (d *Dockerfile) SetFrom(from string) error + func (d *Dockerfile) String() string