Versions in this module Expand all Collapse all v0 v0.4.0 Nov 19, 2013 Changes in this version + const BuilderId + type Builder struct + func (b *Builder) Cancel() + func (b *Builder) Prepare(raws ...interface{}) ([]string, error) + func (b *Builder) Run(ui packer.Ui, hook packer.Hook, cache packer.Cache) (packer.Artifact, error) + type Communicator struct + ContainerDir string + ContainerId string + HostDir string + func (c *Communicator) Download(src string, dst io.Writer) error + func (c *Communicator) Start(remote *packer.RemoteCmd) error + func (c *Communicator) Upload(dst string, src io.Reader) error + func (c *Communicator) UploadDir(dst string, src string, exclude []string) error + type Config struct + ExportPath string + Image string + Pull bool + func NewConfig(raws ...interface{}) (*Config, []string, error) + type ContainerConfig struct + Image string + Volumes map[string]string + type DockerDriver struct + Ui packer.Ui + func (d *DockerDriver) Export(id string, dst io.Writer) error + func (d *DockerDriver) Pull(image string) error + func (d *DockerDriver) StartContainer(config *ContainerConfig) (string, error) + func (d *DockerDriver) StopContainer(id string) error + func (d *DockerDriver) Verify() error + type Driver interface + Export func(id string, dst io.Writer) error + Pull func(image string) error + StartContainer func(*ContainerConfig) (string, error) + StopContainer func(id string) error + Verify func() error + type ExportArtifact struct + func (*ExportArtifact) BuilderId() string + func (*ExportArtifact) Id() string + func (a *ExportArtifact) Destroy() error + func (a *ExportArtifact) Files() []string + func (a *ExportArtifact) String() string + type MockDriver struct + ExportCalled bool + ExportError error + ExportID string + ExportReader io.Reader + PullCalled bool + PullError error + PullImage string + StartCalled bool + StartConfig *ContainerConfig + StartError error + StartID string + StopCalled bool + StopError error + StopID string + VerifyCalled bool + VerifyError error + func (d *MockDriver) Export(id string, dst io.Writer) error + func (d *MockDriver) Pull(image string) error + func (d *MockDriver) StartContainer(config *ContainerConfig) (string, error) + func (d *MockDriver) StopContainer(id string) error + func (d *MockDriver) Verify() error + type StepExport struct + func (s *StepExport) Cleanup(state multistep.StateBag) + func (s *StepExport) Run(state multistep.StateBag) multistep.StepAction + type StepProvision struct + func (s *StepProvision) Cleanup(state multistep.StateBag) + func (s *StepProvision) Run(state multistep.StateBag) multistep.StepAction + type StepPull struct + func (s *StepPull) Cleanup(state multistep.StateBag) + func (s *StepPull) Run(state multistep.StateBag) multistep.StepAction + type StepRun struct + func (s *StepRun) Cleanup(state multistep.StateBag) + func (s *StepRun) Run(state multistep.StateBag) multistep.StepAction + type StepTempDir struct + func (s *StepTempDir) Cleanup(state multistep.StateBag) + func (s *StepTempDir) Run(state multistep.StateBag) multistep.StepAction