Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Stage ¶
type Stage interface { // Public interface: Commands() []interface{} DependsOn() []string IsNamed() bool IsValid() bool Name() string // contains filtered or unexported methods }
Stage represents a single FROM with dependent commands.
type Stages ¶
type Stages interface { // Public interface: All() []Stage NamedStage(string) Stage Named() []Stage Unnamed() []Stage // contains filtered or unexported methods }
Stages represents all build stages parsed out of the Dockerfile. Items are ordered accordingly to how they are defnied in the Dockerfile.
func ReadStages ¶
ReadStages reads the stages out of the source commands.
Click to show internal directories.
Click to hide internal directories.