Versions in this module Expand all Collapse all v1 v1.3.2 Oct 29, 2018 Changes in this version + const BuilderId + var ErrInvalidCompressionLevel = fmt.Errorf("Invalid compression level. Expected an integer from -1 to 9.") + var UnnecessaryFilesPatterns = []string + func CopyContents(dst, src string) error + func DecompressOva(dir, src string) error + func DirToBox(dst, dir string, ui packer.Ui, level int) error + func LinkFile(dst, src string) error + func WriteMetadata(dir string, contents interface{}) error + type AWSProvider struct + func (p *AWSProvider) KeepInputArtifact() bool + func (p *AWSProvider) Process(ui packer.Ui, artifact packer.Artifact, dir string) (vagrantfile string, metadata map[string]interface{}, err error) + type Artifact struct + Path string + Provider string + func NewArtifact(provider, path string) *Artifact + 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 AzureProvider struct + func (p *AzureProvider) KeepInputArtifact() bool + func (p *AzureProvider) Process(ui packer.Ui, artifact packer.Artifact, dir string) (vagrantfile string, metadata map[string]interface{}, err error) + type Config struct + CompressionLevel int + Include []string + OutputPath string + Override map[string]interface{} + VagrantfileTemplate string + type DigitalOceanProvider struct + func (p *DigitalOceanProvider) KeepInputArtifact() bool + func (p *DigitalOceanProvider) Process(ui packer.Ui, artifact packer.Artifact, dir string) (vagrantfile string, metadata map[string]interface{}, err error) + type DockerProvider struct + func (p *DockerProvider) KeepInputArtifact() bool + func (p *DockerProvider) Process(ui packer.Ui, artifact packer.Artifact, dir string) (vagrantfile string, metadata map[string]interface{}, err error) + type GoogleProvider struct + func (p *GoogleProvider) KeepInputArtifact() bool + func (p *GoogleProvider) Process(ui packer.Ui, artifact packer.Artifact, dir string) (vagrantfile string, metadata map[string]interface{}, err error) + type HypervProvider struct + func (p *HypervProvider) KeepInputArtifact() bool + func (p *HypervProvider) Process(ui packer.Ui, artifact packer.Artifact, dir string) (vagrantfile string, metadata map[string]interface{}, err error) + type LXCProvider struct + func (p *LXCProvider) KeepInputArtifact() bool + func (p *LXCProvider) Process(ui packer.Ui, artifact packer.Artifact, dir string) (vagrantfile string, metadata map[string]interface{}, err error) + type LibVirtProvider struct + func (p *LibVirtProvider) KeepInputArtifact() bool + func (p *LibVirtProvider) Process(ui packer.Ui, artifact packer.Artifact, dir string) (vagrantfile string, metadata map[string]interface{}, err error) + type ParallelsProvider struct + func (p *ParallelsProvider) KeepInputArtifact() bool + func (p *ParallelsProvider) Process(ui packer.Ui, artifact packer.Artifact, dir string) (vagrantfile string, metadata map[string]interface{}, err error) + type PostProcessor struct + func (p *PostProcessor) Configure(raws ...interface{}) error + func (p *PostProcessor) PostProcess(ui packer.Ui, artifact packer.Artifact) (packer.Artifact, bool, error) + func (p *PostProcessor) PostProcessProvider(name string, provider Provider, ui packer.Ui, artifact packer.Artifact) (packer.Artifact, bool, error) + type Provider interface + KeepInputArtifact func() bool + Process func(packer.Ui, packer.Artifact, string) (vagrantfile string, metadata map[string]interface{}, err error) + type ScalewayProvider struct + func (p *ScalewayProvider) KeepInputArtifact() bool + func (p *ScalewayProvider) Process(ui packer.Ui, artifact packer.Artifact, dir string) (vagrantfile string, metadata map[string]interface{}, err error) + type VBoxProvider struct + func (p *VBoxProvider) KeepInputArtifact() bool + func (p *VBoxProvider) Process(ui packer.Ui, artifact packer.Artifact, dir string) (vagrantfile string, metadata map[string]interface{}, err error) + type VMwareProvider struct + func (p *VMwareProvider) KeepInputArtifact() bool + func (p *VMwareProvider) Process(ui packer.Ui, artifact packer.Artifact, dir string) (vagrantfile string, metadata map[string]interface{}, err error)