vsphere

package
v1.3.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 11, 2018 License: MPL-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

View Source
const BuilderId = "packer.post-processor.vsphere"

Variables

This section is empty.

Functions

This section is empty.

Types

type Artifact added in v1.2.0

type Artifact struct {
	// contains filtered or unexported fields
}

func NewArtifact added in v1.2.0

func NewArtifact(datastore, vmfolder, vmname string, files []string) *Artifact

func (*Artifact) BuilderId added in v1.2.0

func (*Artifact) BuilderId() string

func (*Artifact) Destroy added in v1.2.0

func (a *Artifact) Destroy() error

func (*Artifact) Files added in v1.2.0

func (a *Artifact) Files() []string

func (*Artifact) Id added in v1.2.0

func (a *Artifact) Id() string

func (*Artifact) State added in v1.2.0

func (*Artifact) State(name string) interface{}

func (*Artifact) String added in v1.2.0

func (a *Artifact) String() string

type Config

type Config struct {
	common.PackerConfig `mapstructure:",squash"`

	Cluster      string   `mapstructure:"cluster"`
	Datacenter   string   `mapstructure:"datacenter"`
	Datastore    string   `mapstructure:"datastore"`
	DiskMode     string   `mapstructure:"disk_mode"`
	Host         string   `mapstructure:"host"`
	ESXiHost     string   `mapstructure:"esxi_host"`
	Insecure     bool     `mapstructure:"insecure"`
	Options      []string `mapstructure:"options"`
	Overwrite    bool     `mapstructure:"overwrite"`
	Password     string   `mapstructure:"password"`
	ResourcePool string   `mapstructure:"resource_pool"`
	Username     string   `mapstructure:"username"`
	VMFolder     string   `mapstructure:"vm_folder"`
	VMName       string   `mapstructure:"vm_name"`
	VMNetwork    string   `mapstructure:"vm_network"`
	// contains filtered or unexported fields
}

type PostProcessor

type PostProcessor struct {
	// contains filtered or unexported fields
}

func (*PostProcessor) BuildArgs added in v0.11.0

func (p *PostProcessor) BuildArgs(source, ovftool_uri string) ([]string, error)

func (*PostProcessor) Configure

func (p *PostProcessor) Configure(raws ...interface{}) error

func (*PostProcessor) PostProcess

func (p *PostProcessor) PostProcess(ui packer.Ui, artifact packer.Artifact) (packer.Artifact, bool, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL