Versions in this module Expand all Collapse all v1 v1.0.0 May 30, 2017 Changes in this version + const BuilderId + func CommHost(client *gophercloud.ServiceClient, sshinterface string, sshipversion string) func(multistep.StateBag) (string, error) + func SSHConfig(useAgent bool, username, password string) func(multistep.StateBag) (*ssh.ClientConfig, error) + func WaitForImage(client *gophercloud.ServiceClient, imageId string) error + func WaitForState(conf *StateChangeConf) (i interface{}, err error) + type AccessConfig struct + CACertFile string + ClientCertFile string + ClientKeyFile string + DomainID string + DomainName string + EndpointType string + IdentityEndpoint string + Insecure bool + Password string + Region string + TenantID string + TenantName string + UserID string + Username string + func (c *AccessConfig) Prepare(ctx *interpolate.Context) []error + type Artifact struct + BuilderIdValue string + Client *gophercloud.ServiceClient + 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 NewBuilder() *Builder + 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 + type ImageConfig struct + ImageMembers []string + ImageMetadata map[string]string + ImageName string + ImageVisibility imageservice.ImageVisibility + func (c *ImageConfig) Prepare(ctx *interpolate.Context) []error + type RunConfig struct + AvailabilityZone string + Comm communicator.Config + ConfigDrive bool + Flavor string + FloatingIp string + FloatingIpPool string + InstanceMetadata map[string]string + Networks []string + OpenstackProvider string + RackconnectWait bool + ReuseIps bool + SSHIPVersion string + SSHInterface string + SSHKeyPairName string + SecurityGroups []string + SourceImage string + SourceImageName string + TemporaryKeyPairName string + UseFloatingIp bool + UserData string + UserDataFile string + func (c *RunConfig) Prepare(ctx *interpolate.Context) []error + type StateChangeConf struct + Pending []string + Refresh StateRefreshFunc + StepState multistep.StateBag + Target []string + type StateRefreshFunc func() (result interface{}, state string, progress int, err error) + func ServerStateRefreshFunc(client *gophercloud.ServiceClient, s *servers.Server) StateRefreshFunc + type StepAllocateIp struct + FloatingIp string + FloatingIpPool string + ReuseIps bool + func (s *StepAllocateIp) Cleanup(state multistep.StateBag) + func (s *StepAllocateIp) Run(state multistep.StateBag) multistep.StepAction + type StepGetPassword struct + Comm *communicator.Config + Debug bool + func (s *StepGetPassword) Cleanup(multistep.StateBag) + func (s *StepGetPassword) Run(state multistep.StateBag) multistep.StepAction + type StepKeyPair struct + Debug bool + DebugKeyPath string + KeyPairName string + PrivateKeyFile string + SSHAgentAuth bool + TemporaryKeyPairName string + func (s *StepKeyPair) Cleanup(state multistep.StateBag) + func (s *StepKeyPair) Run(state multistep.StateBag) multistep.StepAction + type StepLoadFlavor struct + Flavor string + func (s *StepLoadFlavor) Cleanup(state multistep.StateBag) + func (s *StepLoadFlavor) Run(state multistep.StateBag) multistep.StepAction + type StepRunSourceServer struct + AvailabilityZone string + ConfigDrive bool + InstanceMetadata map[string]string + Name string + Networks []string + SecurityGroups []string + SourceImage string + SourceImageName string + UserData string + UserDataFile string + func (s *StepRunSourceServer) Cleanup(state multistep.StateBag) + func (s *StepRunSourceServer) Run(state multistep.StateBag) multistep.StepAction + type StepStopServer struct + func (s *StepStopServer) Cleanup(state multistep.StateBag) + func (s *StepStopServer) Run(state multistep.StateBag) multistep.StepAction + type StepWaitForRackConnect struct + Wait bool + func (s *StepWaitForRackConnect) Cleanup(state multistep.StateBag) + func (s *StepWaitForRackConnect) Run(state multistep.StateBag) multistep.StepAction