Versions in this module Expand all Collapse all v1 v1.3.2 Oct 29, 2018 Changes in this version + const BuilderId + func CheckFloatingIP(client *gophercloud.ServiceClient, id string) (*floatingips.FloatingIP, error) + func CheckFloatingIPNetwork(client *gophercloud.ServiceClient, networkRef string) (string, error) + func CommHost(client *gophercloud.ServiceClient, sshinterface string, sshipversion string) func(multistep.StateBag) (string, error) + func FindFreeFloatingIP(client *gophercloud.ServiceClient) (*floatingips.FloatingIP, error) + func GetFloatingIPNetworkIDByName(client *gophercloud.ServiceClient, networkName string) (string, error) + func GetInstancePortID(client *gophercloud.ServiceClient, id string) (string, error) + func GetVolumeSize(imageClient *gophercloud.ServiceClient, imageID string) (int, error) + func GetVolumeStatus(blockStorageClient *gophercloud.ServiceClient, volumeID string) (string, error) + func WaitForImage(client *gophercloud.ServiceClient, imageId string) error + func WaitForState(conf *StateChangeConf) (i interface{}, err error) + func WaitForVolume(blockStorageClient *gophercloud.ServiceClient, volumeID string) error + type AccessConfig struct + CACertFile string + ClientCertFile string + ClientKeyFile string + Cloud string + DomainID string + DomainName string + EndpointType string + IdentityEndpoint string + Insecure bool + Password string + Region string + TenantID string + TenantName string + Token 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 (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 ExternalNetwork struct + type ImageConfig struct + ImageDiskFormat string + ImageMembers []string + ImageMetadata map[string]string + ImageName string + ImageVisibility imageservice.ImageVisibility + func (c *ImageConfig) Prepare(ctx *interpolate.Context) []error + type ImageFilter struct + Filters ImageFilterOptions + MostRecent bool + type ImageFilterOptions struct + Name string + Owner string + Tags []string + Visibility string + func (f *ImageFilterOptions) Build() (*images.ListOpts, error) + func (f *ImageFilterOptions) Empty() bool + type RunConfig struct + AvailabilityZone string + Comm communicator.Config + ConfigDrive bool + Flavor string + FloatingIP string + FloatingIPNetwork string + FloatingIPPool string + InstanceMetadata map[string]string + InstanceName string + Networks []string + OpenstackProvider string + Ports []string + RackconnectWait bool + ReuseIPs bool + SecurityGroups []string + SourceImage string + SourceImageFilters ImageFilter + SourceImageName string + UseBlockStorageVolume bool + UseFloatingIp bool + UserData string + UserDataFile string + VolumeAvailabilityZone string + VolumeName string + VolumeType 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 + FloatingIPNetwork string + ReuseIPs bool + func (s *StepAllocateIp) Cleanup(state multistep.StateBag) + func (s *StepAllocateIp) Run(_ context.Context, state multistep.StateBag) multistep.StepAction + type StepCreateVolume struct + UseBlockStorageVolume bool + VolumeAvailabilityZone string + VolumeName string + VolumeType string + func (s *StepCreateVolume) Cleanup(state multistep.StateBag) + func (s *StepCreateVolume) Run(_ context.Context, state multistep.StateBag) multistep.StepAction + type StepDetachVolume struct + UseBlockStorageVolume bool + func (s *StepDetachVolume) Cleanup(multistep.StateBag) + func (s *StepDetachVolume) Run(_ context.Context, state multistep.StateBag) multistep.StepAction + type StepGetPassword struct + Comm *communicator.Config + Debug bool + func (s *StepGetPassword) Cleanup(multistep.StateBag) + func (s *StepGetPassword) Run(_ context.Context, state multistep.StateBag) multistep.StepAction + type StepKeyPair struct + Comm *communicator.Config + Debug bool + DebugKeyPath string + func (s *StepKeyPair) Cleanup(state multistep.StateBag) + func (s *StepKeyPair) Run(_ context.Context, state multistep.StateBag) multistep.StepAction + type StepLoadFlavor struct + Flavor string + func (s *StepLoadFlavor) Cleanup(state multistep.StateBag) + func (s *StepLoadFlavor) Run(_ context.Context, state multistep.StateBag) multistep.StepAction + type StepRunSourceServer struct + AvailabilityZone string + ConfigDrive bool + InstanceMetadata map[string]string + Name string + Networks []string + Ports []string + SecurityGroups []string + UseBlockStorageVolume bool + UserData string + UserDataFile string + func (s *StepRunSourceServer) Cleanup(state multistep.StateBag) + func (s *StepRunSourceServer) Run(_ context.Context, state multistep.StateBag) multistep.StepAction + type StepSourceImageInfo struct + SourceImage string + SourceImageName string + SourceImageOpts images.ListOpts + SourceMostRecent bool + func (s *StepSourceImageInfo) Cleanup(state multistep.StateBag) + func (s *StepSourceImageInfo) Run(_ context.Context, state multistep.StateBag) multistep.StepAction + type StepStopServer struct + func (s *StepStopServer) Cleanup(state multistep.StateBag) + func (s *StepStopServer) Run(_ context.Context, state multistep.StateBag) multistep.StepAction + type StepWaitForRackConnect struct + Wait bool + func (s *StepWaitForRackConnect) Cleanup(state multistep.StateBag) + func (s *StepWaitForRackConnect) Run(_ context.Context, state multistep.StateBag) multistep.StepAction