Versions in this module Expand all Collapse all v0 v0.2.2 Aug 1, 2013 Changes in this version + const BuilderId + const LOCK_EX — darwin/amd64, js/wasm, linux/amd64 + const LOCK_NB — darwin/amd64, js/wasm, linux/amd64 + const LOCK_UN — darwin/amd64, js/wasm, linux/amd64 + func AvailableDevice() (string, error) + type Builder struct + func (b *Builder) Cancel() + func (b *Builder) Prepare(raws ...interface{}) error + func (b *Builder) Run(ui packer.Ui, hook packer.Hook, cache packer.Cache) (packer.Artifact, error) + type Cleanup interface + CleanupFunc func(map[string]interface{}) error + type Communicator struct + Chroot string + func (c *Communicator) Download(src string, w io.Writer) error + func (c *Communicator) Start(cmd *packer.RemoteCmd) error + func (c *Communicator) Upload(dst string, r io.Reader) error + type Config struct + AMIName string + ChrootMounts [][]string + CopyFiles []string + DevicePath string + MountCommand string + MountPath string + SourceAmi string + UnmountCommand string + type StepAttachVolume struct + func (s *StepAttachVolume) Cleanup(state map[string]interface{}) + func (s *StepAttachVolume) CleanupFunc(state map[string]interface{}) error + func (s *StepAttachVolume) Run(state map[string]interface{}) multistep.StepAction + type StepChrootProvision struct + func (s *StepChrootProvision) Cleanup(state map[string]interface{}) + func (s *StepChrootProvision) Run(state map[string]interface{}) multistep.StepAction + type StepCopyFiles struct + func (s *StepCopyFiles) Cleanup(state map[string]interface{}) + func (s *StepCopyFiles) CleanupFunc(map[string]interface{}) error + func (s *StepCopyFiles) Run(state map[string]interface{}) multistep.StepAction + type StepCreateVolume struct + func (s *StepCreateVolume) Cleanup(state map[string]interface{}) + func (s *StepCreateVolume) Run(state map[string]interface{}) multistep.StepAction + type StepEarlyCleanup struct + func (s *StepEarlyCleanup) Cleanup(state map[string]interface{}) + func (s *StepEarlyCleanup) Run(state map[string]interface{}) multistep.StepAction + type StepEarlyUnflock struct + func (s *StepEarlyUnflock) Cleanup(state map[string]interface{}) + func (s *StepEarlyUnflock) Run(state map[string]interface{}) multistep.StepAction + type StepFlock struct + func (s *StepFlock) Cleanup(state map[string]interface{}) + func (s *StepFlock) CleanupFunc(state map[string]interface{}) error + func (s *StepFlock) Run(state map[string]interface{}) multistep.StepAction + type StepInstanceInfo struct + func (s *StepInstanceInfo) Cleanup(map[string]interface{}) + func (s *StepInstanceInfo) Run(state map[string]interface{}) multistep.StepAction + type StepMountDevice struct + func (s *StepMountDevice) Cleanup(state map[string]interface{}) + func (s *StepMountDevice) CleanupFunc(state map[string]interface{}) error + func (s *StepMountDevice) Run(state map[string]interface{}) multistep.StepAction + type StepMountExtra struct + func (s *StepMountExtra) Cleanup(state map[string]interface{}) + func (s *StepMountExtra) CleanupFunc(state map[string]interface{}) error + func (s *StepMountExtra) Run(state map[string]interface{}) multistep.StepAction + type StepPrepareDevice struct + func (s *StepPrepareDevice) Cleanup(state map[string]interface{}) + func (s *StepPrepareDevice) Run(state map[string]interface{}) multistep.StepAction + type StepRegisterAMI struct + func (s *StepRegisterAMI) Cleanup(state map[string]interface{}) + func (s *StepRegisterAMI) Run(state map[string]interface{}) multistep.StepAction + type StepSnapshot struct + func (s *StepSnapshot) Cleanup(state map[string]interface{}) + func (s *StepSnapshot) Run(state map[string]interface{}) multistep.StepAction + type StepSourceAMIInfo struct + func (s *StepSourceAMIInfo) Cleanup(map[string]interface{}) + func (s *StepSourceAMIInfo) Run(state map[string]interface{}) multistep.StepAction