scratch

package
v0.0.0-...-77b0151 Latest Latest
Warning

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

Go to latest
Published: May 7, 2015 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const BuilderId = "sorah.amazon.scratch"

Variables

This section is empty.

Functions

This section is empty.

Types

type Builder

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

func (*Builder) Cancel

func (builder *Builder) Cancel()

func (*Builder) Prepare

func (builder *Builder) Prepare(raws ...interface{}) ([]string, error)

func (*Builder) Run

func (builder *Builder) Run(ui packer.Ui, hook packer.Hook, cache packer.Cache) (packer.Artifact, error)

type Config

type Config struct {
	common.PackerConfig    `mapstructure:",squash"`
	awscommon.AccessConfig `mapstructure:",squash"`
	awscommon.AMIConfig    `mapstructure:",squash"`
	awscommon.RunConfig    `mapstructure:",squash"`
	awscommon.BlockDevices `mapstructure:",squash"`

	WorkerDeviceName string `mapstructure:"worker_device_name"`
	VolumeSize       int64  `mapstructure:"volume_size"`
	VolumeType       string `mapstructure:"volume_type"`
	RootDeviceName   string `mapstructure:"root_device_name"`
	// contains filtered or unexported fields
}

type StepGetVolume

type StepGetVolume struct {
	DeviceName string
}

func (*StepGetVolume) Cleanup

func (step *StepGetVolume) Cleanup(state multistep.StateBag)

func (*StepGetVolume) Run

type StepRegisterAMI

type StepRegisterAMI struct {
	RootDeviceName string
	// contains filtered or unexported fields
}

func (*StepRegisterAMI) Cleanup

func (step *StepRegisterAMI) Cleanup(state multistep.StateBag)

func (*StepRegisterAMI) Run

type StepStopInstance

type StepStopInstance struct {
	SpotPrice string
}

func (*StepStopInstance) Cleanup

func (s *StepStopInstance) Cleanup(multistep.StateBag)

func (*StepStopInstance) Run

Jump to

Keyboard shortcuts

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