digitaloceanimport

package
v1.4.2 Latest Latest
Warning

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

Go to latest
Published: Jun 26, 2019 License: MPL-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

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

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

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

	APIToken     string `mapstructure:"api_token"`
	SpacesKey    string `mapstructure:"spaces_key"`
	SpacesSecret string `mapstructure:"spaces_secret"`

	SpacesRegion string        `mapstructure:"spaces_region"`
	SpaceName    string        `mapstructure:"space_name"`
	ObjectName   string        `mapstructure:"space_object_name"`
	SkipClean    bool          `mapstructure:"skip_clean"`
	Tags         []string      `mapstructure:"image_tags"`
	Name         string        `mapstructure:"image_name"`
	Description  string        `mapstructure:"image_description"`
	Distribution string        `mapstructure:"image_distribution"`
	ImageRegions []string      `mapstructure:"image_regions"`
	Timeout      time.Duration `mapstructure:"timeout"`
	// contains filtered or unexported fields
}

type PostProcessor

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

func (*PostProcessor) Configure

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

func (*PostProcessor) PostProcess

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

Jump to

Keyboard shortcuts

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