Versions in this module Expand all Collapse all v1 v1.1.0 Sep 12, 2017 Changes in this version + const BuilderId + func LXDCommand(args ...string) (string, error) + func ShellCommand(command string) *exec.Cmd + type Artifact struct + func (*Artifact) BuilderId() string + func (a *Artifact) Destroy() error + func (a *Artifact) Files() []string + func (a *Artifact) Id() string + func (a *Artifact) State(name string) interface{} + func (a *Artifact) String() string + 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 CommandWrapper func(string) (string, error) + type Communicator struct + CmdWrapper CommandWrapper + ContainerName string + func (c *Communicator) Download(src string, w io.Writer) error + func (c *Communicator) DownloadDir(src string, dst string, exclude []string) error + func (c *Communicator) Execute(commandString string) (*exec.Cmd, error) + func (c *Communicator) Start(cmd *packer.RemoteCmd) error + func (c *Communicator) Upload(dst string, r io.Reader, fi *os.FileInfo) error + func (c *Communicator) UploadDir(dst string, src string, exclude []string) error + type Config struct + CommandWrapper string + ContainerName string + Image string + InitTimeout time.Duration + OutputImage string + func NewConfig(raws ...interface{}) (*Config, error) + type StepProvision struct + func (s *StepProvision) Cleanup(state multistep.StateBag) + func (s *StepProvision) Run(state multistep.StateBag) multistep.StepAction