Versions in this module Expand all Collapse all v1 v1.0.0 Dec 12, 2023 Changes in this version + const BuilderId + type Artifact struct + StateData map[string]interface{} + func (*Artifact) BuilderId() string + func (*Artifact) Id() string + func (a *Artifact) Destroy() error + func (a *Artifact) Files() []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 packersdk.Ui, hook packersdk.Hook) (packersdk.Artifact, error) + type Config struct + Comm communicator.Config + Cores int32 + DiskSize float32 + DiskType string + Image string + IonosApiUrl string + IonosPassword string + IonosUsername string + Ram int32 + Region string + Retries int + SnapshotName string + func (*Config) FlatMapstructure() interface{ ... } + func (c *Config) Prepare(raws ...interface{}) ([]string, error) + type FlatConfig struct + Cores *int32 + DiskSize *float32 + DiskType *string + Image *string + IonosApiUrl *string + IonosPassword *string + IonosUsername *string + PackerBuildName *string + PackerBuilderType *string + PackerCoreVersion *string + PackerDebug *bool + PackerForce *bool + PackerOnError *string + PackerSensitiveVars []string + PackerUserVars map[string]string + PauseBeforeConnect *string + Ram *int32 + Region *string + Retries *int + 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 + SSHTemporaryKeyPairBits *int + SSHTemporaryKeyPairName *string + SSHTemporaryKeyPairType *string + SSHTimeout *string + SSHUsername *string + SSHWaitTimeout *string + SnapshotName *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 StepCreateSSHKey struct + Debug bool + DebugKeyPath string + func (s *StepCreateSSHKey) Cleanup(state multistep.StateBag) + func (s *StepCreateSSHKey) Run(ctx context.Context, state multistep.StateBag) multistep.StepAction