github.com/sneal/packer@v0.5.2/builder/vmware/common/output_dir.go (about) 1 package common 2 3 // OutputDir is an interface type that abstracts the creation and handling 4 // of the output directory for VMware-based products. The abstraction is made 5 // so that the output directory can be properly made on remote (ESXi) based 6 // VMware products as well as local. 7 type OutputDir interface { 8 DirExists() (bool, error) 9 ListFiles() ([]string, error) 10 MkdirAll() error 11 Remove(string) error 12 RemoveAll() error 13 SetOutputDir(string) 14 String() string 15 }