manifest

package
v1.1.1 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const BuilderId = "packer.post-processor.manifest"

Variables

This section is empty.

Functions

This section is empty.

Types

type Artifact

type Artifact struct {
	BuildName     string         `json:"name"`
	BuilderType   string         `json:"builder_type"`
	BuildTime     int64          `json:"build_time"`
	ArtifactFiles []ArtifactFile `json:"files"`
	ArtifactId    string         `json:"artifact_id"`
	PackerRunUUID string         `json:"packer_run_uuid"`
}

func (*Artifact) BuilderId

func (a *Artifact) BuilderId() string

func (*Artifact) Destroy

func (a *Artifact) Destroy() error

func (*Artifact) Files

func (a *Artifact) Files() []string

func (*Artifact) Id

func (a *Artifact) Id() string

func (*Artifact) State

func (a *Artifact) State(name string) interface{}

func (*Artifact) String

func (a *Artifact) String() string

type ArtifactFile

type ArtifactFile struct {
	Name string `json:"name"`
	Size int64  `json:"size"`
}

type Config

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

	OutputPath string `mapstructure:"output"`
	StripPath  bool   `mapstructure:"strip_path"`
	// contains filtered or unexported fields
}

type ManifestFile

type ManifestFile struct {
	Builds      []Artifact `json:"builds"`
	LastRunUUID string     `json:"last_run_uuid"`
}

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(ui packer.Ui, source packer.Artifact) (packer.Artifact, bool, error)

Jump to

Keyboard shortcuts

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