Help us shape the future of Go! Take the 2026 Go Developer Survey

amazonimport

package
v1.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 4, 2017 License: MPL-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

View Source
const BuilderId = "packer.post-processor.amazon-import"

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	common.PackerConfig    `mapstructure:",squash"`
	awscommon.AccessConfig `mapstructure:",squash"`

	// Variables specific to this post processor
	S3Bucket    string            `mapstructure:"s3_bucket_name"`
	S3Key       string            `mapstructure:"s3_key_name"`
	SkipClean   bool              `mapstructure:"skip_clean"`
	Tags        map[string]string `mapstructure:"tags"`
	Name        string            `mapstructure:"ami_name"`
	Description string            `mapstructure:"ami_description"`
	Users       []string          `mapstructure:"ami_users"`
	Groups      []string          `mapstructure:"ami_groups"`
	// contains filtered or unexported fields
}

Configuration of this post processor

type PostProcessor

type PostProcessor struct {
	// contains filtered or unexported fields
}

func (*PostProcessor) Configure

func (p *PostProcessor) Configure(raws ...interface{}) error

Entry point for configuration parsing when we've defined

func (*PostProcessor) PostProcess

func (p *PostProcessor) PostProcess(ui packer.Ui, artifact packer.Artifact) (packer.Artifact, bool, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL