Versions in this module Expand all Collapse all v0 v0.12.2 Jan 20, 2017 Changes in this version + const BuilderId + type AccessConfig struct + Account string + Endpoint string + KeyID string + KeyMaterial string + func (c *AccessConfig) Comm() communicator.Config + func (c *AccessConfig) CreateTritonClient() (*cloudapi.Client, error) + func (c *AccessConfig) Prepare(ctx *interpolate.Context) []error + type Artifact struct + BuilderIDValue string + Driver Driver + ImageID string + func (*Artifact) Files() []string + func (a *Artifact) BuilderId() string + func (a *Artifact) Destroy() error + func (a *Artifact) Id() string + func (a *Artifact) State(name string) interface{} + func (a *Artifact) String() string + type Builder struct + func (b *Builder) Cancel() + func (b *Builder) Prepare(raws ...interface{}) ([]string, error) + func (b *Builder) Run(ui packer.Ui, hook packer.Hook, cache packer.Cache) (packer.Artifact, error) + type Config struct + Comm communicator.Config + type Driver interface + CreateImageFromMachine func(machineId string, config Config) (string, error) + CreateMachine func(config Config) (string, error) + DeleteImage func(imageId string) error + DeleteMachine func(machineId string) error + GetMachine func(machineId string) (string, error) + StopMachine func(machineId string) error + WaitForImageCreation func(imageId string, timeout time.Duration) error + WaitForMachineDeletion func(machineId string, timeout time.Duration) error + WaitForMachineState func(machineId string, state string, timeout time.Duration) error + func NewDriverTriton(ui packer.Ui, config Config) (Driver, error) + type DriverMock struct + CreateImageFromMachineErr error + CreateImageFromMachineId string + CreateMachineErr error + CreateMachineId string + DeleteImageErr error + DeleteImageId string + DeleteMachineErr error + DeleteMachineId string + GetMachineErr error + StopMachineErr error + StopMachineId string + WaitForImageCreationErr error + WaitForMachineDeletionErr error + WaitForMachineStateErr error + func (d *DriverMock) CreateImageFromMachine(machineId string, config Config) (string, error) + func (d *DriverMock) CreateMachine(config Config) (string, error) + func (d *DriverMock) DeleteImage(imageId string) error + func (d *DriverMock) DeleteMachine(machineId string) error + func (d *DriverMock) GetMachine(machineId string) (string, error) + func (d *DriverMock) StopMachine(machineId string) error + func (d *DriverMock) WaitForImageCreation(machineId string, timeout time.Duration) error + func (d *DriverMock) WaitForMachineDeletion(machineId string, timeout time.Duration) error + func (d *DriverMock) WaitForMachineState(machineId string, state string, timeout time.Duration) error + type SourceMachineConfig struct + MachineFirewallEnabled bool + MachineImage string + MachineMetadata map[string]string + MachineName string + MachineNetworks []string + MachinePackage string + MachineTags map[string]string + func (c *SourceMachineConfig) Prepare(ctx *interpolate.Context) []error + type StepCreateImageFromMachine struct + func (s *StepCreateImageFromMachine) Cleanup(state multistep.StateBag) + func (s *StepCreateImageFromMachine) Run(state multistep.StateBag) multistep.StepAction + type StepCreateSourceMachine struct + func (s *StepCreateSourceMachine) Cleanup(state multistep.StateBag) + func (s *StepCreateSourceMachine) Run(state multistep.StateBag) multistep.StepAction + type StepDeleteMachine struct + func (s *StepDeleteMachine) Cleanup(state multistep.StateBag) + func (s *StepDeleteMachine) Run(state multistep.StateBag) multistep.StepAction + type StepStopMachine struct + func (s *StepStopMachine) Cleanup(state multistep.StateBag) + func (s *StepStopMachine) Run(state multistep.StateBag) multistep.StepAction + type StepWaitForStopNotToFail struct + func (s *StepWaitForStopNotToFail) Cleanup(state multistep.StateBag) + func (s *StepWaitForStopNotToFail) Run(state multistep.StateBag) multistep.StepAction + type TargetImageConfig struct + ImageACL []string + ImageDescription string + ImageEULA string + ImageHomepage string + ImageName string + ImageTags map[string]string + ImageVersion string + func (c *TargetImageConfig) Prepare(ctx *interpolate.Context) []error