Documentation ¶
Index ¶
- Constants
- type BuildOptions
- type CLI
- type Dockerfile
- type DockerfileInstruction
- func NewDockerfileADD(content string) DockerfileInstruction
- func NewDockerfileENV(content string) DockerfileInstruction
- func NewDockerfileFROM(content string) DockerfileInstruction
- func NewDockerfileRUN(content string) DockerfileInstruction
- func NewDockerfileUSER(content string) DockerfileInstruction
- type DockerfileInstructionType
- type Executable
- type RemoveImageOptions
- type RunOptions
Constants ¶
View Source
const ExecutableName = "docker"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BuildOptions ¶
type CLI ¶
type CLI struct {
// contains filtered or unexported fields
}
func NewCLI ¶
func NewCLI(executable Executable) CLI
func (CLI) RemoveImage ¶
type Dockerfile ¶
func BuildStagingDockerfile ¶
func BuildStagingDockerfile(logger lager.Logger, fixturePath, buildpackPath string, envs []string) Dockerfile
func NewDockerfile ¶
func NewDockerfile(baseImage string, instructions ...DockerfileInstruction) Dockerfile
type DockerfileInstruction ¶
type DockerfileInstruction struct { Type DockerfileInstructionType Content string }
func NewDockerfileADD ¶
func NewDockerfileADD(content string) DockerfileInstruction
func NewDockerfileENV ¶
func NewDockerfileENV(content string) DockerfileInstruction
func NewDockerfileFROM ¶
func NewDockerfileFROM(content string) DockerfileInstruction
func NewDockerfileRUN ¶
func NewDockerfileRUN(content string) DockerfileInstruction
func NewDockerfileUSER ¶
func NewDockerfileUSER(content string) DockerfileInstruction
func (DockerfileInstruction) String ¶
func (di DockerfileInstruction) String() string
type DockerfileInstructionType ¶
type DockerfileInstructionType string
const ( DockerfileInstructionTypeFROM DockerfileInstructionType = "FROM" DockerfileInstructionTypeADD DockerfileInstructionType = "ADD" DockerfileInstructionTypeRUN DockerfileInstructionType = "RUN" DockerfileInstructionTypeENV DockerfileInstructionType = "ENV" DockerfileInstructionTypeUSER DockerfileInstructionType = "USER" )
type Executable ¶
type RemoveImageOptions ¶
type RemoveImageOptions struct {
Force bool
}
Click to show internal directories.
Click to hide internal directories.