Versions in this module Expand all Collapse all v0 v0.1.1 Apr 29, 2025 Changes in this version + type StepSnapshot struct + func (s *StepSnapshot) Cleanup(state multistep.StateBag) + func (s *StepSnapshot) Run(ctx context.Context, state multistep.StateBag) multistep.StepAction v0.1.0 Jan 10, 2025 Changes in this version + const BuilderId + func NewArtifact(values map[string]interface{}) packer.Artifact + type Artifact struct + StateData map[string]interface{} + func (a *Artifact) BuilderId() string + func (a *Artifact) Config() map[string]interface{} + func (a *Artifact) Destroy() error + func (a *Artifact) Files() []string + func (a *Artifact) Id() string + func (a *Artifact) PrintOnUI(ui packer.Ui) error + func (a *Artifact) Serialize() ([]byte, error) + 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 + APIKey string + Comm communicator.Config + Hostname string + ImageSlug string + KeepInstance bool + Label string + LocationSlug string + PlanSlug string + SSHSlug string + SnapshotName string + StateTimeout string + func (*Config) FlatMapstructure() interface{ ... } + func (c *Config) ConfigSpec() hcldec.ObjectSpec + func (c *Config) Prepare(raws ...interface{}) error + type FlatConfig struct + APIKey *string + Hostname *string + ImageSlug *string + KeepInstance *bool + Label *string + LocationSlug *string + PackerBuildName *string + PackerBuilderType *string + PackerCoreVersion *string + PackerDebug *bool + PackerForce *bool + PackerOnError *string + PackerSensitiveVars []string + PackerUserVars map[string]string + PauseBeforeConnect *string + PlanSlug *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 + SSHSlug *string + SSHTemporaryKeyPairBits *int + SSHTemporaryKeyPairName *string + SSHTemporaryKeyPairType *string + SSHTimeout *string + SSHUsername *string + SSHWaitTimeout *string + SnapshotName *string + StateTimeout *string + Type *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 + type StepCreateInstance struct + func (s *StepCreateInstance) Cleanup(state multistep.StateBag) + func (s *StepCreateInstance) Run(ctx context.Context, state multistep.StateBag) multistep.StepAction + type StepCreateSSHKey struct + func (s *StepCreateSSHKey) Cleanup(state multistep.StateBag) + func (s *StepCreateSSHKey) Run(ctx context.Context, state multistep.StateBag) multistep.StepAction + type StepShutdown struct + func (s *StepShutdown) Cleanup(state multistep.StateBag) + func (s *StepShutdown) Run(ctx context.Context, state multistep.StateBag) multistep.StepAction