artifacts

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Dec 30, 2016 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Image

type Image struct {
	Server        compute.Server
	NetworkDomain compute.NetworkDomain
	Image         compute.CustomerImage
	// contains filtered or unexported fields
}

Image represents a CloudControl image as a Packer Artifact.

func (*Image) BuilderId

func (artifact *Image) BuilderId() string

BuilderId returns the ID of the builder that was used to create the artifact.

func (*Image) Destroy

func (artifact *Image) Destroy() error

Destroy deletes the artifact. Packer calls this for various reasons, such as if a post-processor has processed this artifact and it is no longer needed.

func (*Image) Files

func (artifact *Image) Files() []string

Files determines the set of files that comprise the artifact. If an artifact is not made up of files, then this will be empty.

func (*Image) Id

func (artifact *Image) Id() string

Id gets the ID for the artifact. In this case, it's the image Id.

func (*Image) State

func (artifact *Image) State(name string) interface{}

State allows the caller to ask for builder specific state information relating to the artifact instance.

func (*Image) String

func (artifact *Image) String() string

Returns human-readable output that describes the artifact created. This is used for UI output. It can be multiple lines.

Jump to

Keyboard shortcuts

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