Documentation ¶
Index ¶
Constants ¶
View Source
const DefaultBuildTarget = "build"
View Source
const DefaultRunTarget = "run"
View Source
const Version = "0.5.3"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BuildCmdOpts ¶
type BuildCmdOpts struct { DockerH string `short:"H" description:"Where to connect to docker daemon."` Source string `short:"s" long:"source" description:"Container source. (default: graph)"` Destination string `short:"d" long:"destination" description:"Container destination. (default: graph)"` NoOp bool `long:"noop" description:"Set the container command to /bin/true."` Epoch bool `long:"epoch" description:"Force all file modtimes to epoch."` }
func (*BuildCmdOpts) Execute ¶
func (opts *BuildCmdOpts) Execute(args []string) error
Transforms a container
type Hroot ¶ added in v0.5.0
type Hroot struct {
// contains filtered or unexported fields
}
Holds everything needed to run a hroot command
func (*Hroot) ExportBuild ¶ added in v0.5.0
Prepare the hroot export
func (*Hroot) Launch ¶ added in v0.5.0
func (d *Hroot) Launch()
Lanuch the container and wait for it to complete
func (*Hroot) PrepareCache ¶ added in v0.5.0
func (d *Hroot) PrepareCache()
Prepare the docker cache
func (*Hroot) PrepareOutput ¶ added in v0.5.0
func (d *Hroot) PrepareOutput()
Prepare the hroot output
func (*Hroot) StartDocker ¶ added in v0.5.0
Connects to the docker daemon
type ImagePath ¶
type ImagePath struct {
// contains filtered or unexported fields
}
Holds everything needed to load/save docker images
type RunCmdOpts ¶
type VersionCmdOpts ¶
type VersionCmdOpts struct{}
func (*VersionCmdOpts) Execute ¶
func (opts *VersionCmdOpts) Execute(args []string) error
Version command
Click to show internal directories.
Click to hide internal directories.