Versions in this module Expand all Collapse all v0 v0.0.12 Feb 8, 2021 Changes in this version + func RunLocalCommands(commands []string, wrappedCommand common.CommandWrapper, ...) error + type Cleanup interface + CleanupFunc func(multistep.StateBag) error + type Communicator struct + Chroot string + CmdWrapper common.CommandWrapper + func (c *Communicator) Download(src string, w io.Writer) error + func (c *Communicator) DownloadDir(src string, dst string, exclude []string) error + func (c *Communicator) Start(ctx context.Context, cmd *packersdk.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 StepChrootProvision struct + func (s *StepChrootProvision) Cleanup(state multistep.StateBag) + func (s *StepChrootProvision) Run(ctx context.Context, state multistep.StateBag) multistep.StepAction + type StepCopyFiles struct + Files []string + func (s *StepCopyFiles) Cleanup(state multistep.StateBag) + func (s *StepCopyFiles) CleanupFunc(state multistep.StateBag) error + func (s *StepCopyFiles) Run(ctx context.Context, state multistep.StateBag) multistep.StepAction + type StepEarlyCleanup struct + func (s *StepEarlyCleanup) Cleanup(state multistep.StateBag) + func (s *StepEarlyCleanup) Run(ctx context.Context, state multistep.StateBag) multistep.StepAction + type StepMountExtra struct + ChrootMounts [][]string + func (s *StepMountExtra) Cleanup(state multistep.StateBag) + func (s *StepMountExtra) CleanupFunc(state multistep.StateBag) error + func (s *StepMountExtra) Run(ctx context.Context, state multistep.StateBag) multistep.StepAction + type StepPostMountCommands struct + Commands []string + func (s *StepPostMountCommands) Cleanup(state multistep.StateBag) + func (s *StepPostMountCommands) Run(ctx context.Context, state multistep.StateBag) multistep.StepAction + type StepPreMountCommands struct + Commands []string + func (s *StepPreMountCommands) Cleanup(state multistep.StateBag) + func (s *StepPreMountCommands) Run(ctx context.Context, state multistep.StateBag) multistep.StepAction