Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CloneConfig ¶
type CloneConfig struct { Template string `mapstructure:"template"` DiskSize int64 `mapstructure:"disk_size"` LinkedClone bool `mapstructure:"linked_clone"` }
func (*CloneConfig) Prepare ¶
func (c *CloneConfig) Prepare() []error
type Config ¶
type Config struct { packerCommon.PackerConfig `mapstructure:",squash"` common.ConnectConfig `mapstructure:",squash"` CloneConfig `mapstructure:",squash"` common.LocationConfig `mapstructure:",squash"` common.HardwareConfig `mapstructure:",squash"` common.ConfigParamsConfig `mapstructure:",squash"` common.RunConfig `mapstructure:",squash"` Comm communicator.Config `mapstructure:",squash"` common.ShutdownConfig `mapstructure:",squash"` CreateSnapshot bool `mapstructure:"create_snapshot"` ConvertToTemplate bool `mapstructure:"convert_to_template"` // contains filtered or unexported fields }
type StepCloneVM ¶
type StepCloneVM struct { Config *CloneConfig Location *common.LocationConfig }
func (*StepCloneVM) Cleanup ¶
func (s *StepCloneVM) Cleanup(state multistep.StateBag)
func (*StepCloneVM) Run ¶
func (s *StepCloneVM) Run(ctx context.Context, state multistep.StateBag) multistep.StepAction
Click to show internal directories.
Click to hide internal directories.