Versions in this module Expand all Collapse all v1 v1.0.1 Sep 25, 2020 v1.0.0 Jul 29, 2020 Changes in this version + const BuilderID + func WaitForImageState(desiredState string, imageID string, client *civogo.Client, ...) error + type Artifact struct + Client *civogo.Client + RegionNames []string + SnapshotID string + SnapshotName string + func (*Artifact) BuilderId() string + func (*Artifact) Files() []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) ConfigSpec() hcldec.ObjectSpec + func (b *Builder) Prepare(raws ...interface{}) ([]string, []string, error) + func (b *Builder) Run(ctx context.Context, ui packer.Ui, hook packer.Hook) (packer.Artifact, error) + type Config struct + APIToken string + Comm communicator.Config + InstanceName string + PublicNetworking string + Region string + Size string + SnapshotName string + SnapshotRegions []string + SnapshotTimeout time.Duration + StateTimeout time.Duration + Template string + func (*Config) FlatMapstructure() interface{ ... } + func (c *Config) Prepare(raws ...interface{}) ([]string, error) + type FlatConfig struct + APIToken *string + APIURL *string + IPv6 *bool + Image *string + Monitoring *bool + PackerBuildName *string + PackerBuilderType *string + PackerDebug *bool + PackerForce *bool + PackerOnError *string + PackerSensitiveVars []string + PackerUserVars map[string]string + PauseBeforeConnect *string + PrivateNetworking *bool + Region *string + SSHAgentAuth *bool + SSHBastionAgentAuth *bool + SSHBastionCertificateFile *string + SSHBastionHost *string + SSHBastionInteractive *bool + SSHBastionPassword *string + SSHBastionPort *int + SSHBastionPrivateKeyFile *string + SSHBastionUsername *string + SSHCertificateFile *string + SSHCiphers []string + SSHClearAuthorizedKeys *bool + SSHDisableAgentForwarding *bool + SSHFileTransferMethod *string + SSHHandshakeAttempts *int + SSHHost *string + SSHKEXAlgos []string + SSHKeepAliveInterval *string + SSHKeyPairName *string + SSHLocalTunnels []string + SSHPassword *string + SSHPort *int + SSHPrivateKey []byte + SSHPrivateKeyFile *string + SSHProxyHost *string + SSHProxyPassword *string + SSHProxyPort *int + SSHProxyUsername *string + SSHPty *bool + SSHPublicKey []byte + SSHReadWriteTimeout *string + SSHRemoteTunnels []string + SSHTemporaryKeyPairName *string + SSHTimeout *string + SSHUsername *string + SSHWaitTimeout *string + Size *string + SnapshotName *string + SnapshotRegions []string + SnapshotTimeout *string + StateTimeout *string + Tags []string + Type *string + UserData *string + UserDataFile *string + WinRMHost *string + WinRMInsecure *bool + WinRMNoProxy *bool + WinRMPassword *string + WinRMPort *int + WinRMTimeout *string + WinRMUseNTLM *bool + WinRMUseSSL *bool + WinRMUser *string + func (*FlatConfig) HCL2Spec() map[string]hcldec.Spec