null

package
v1.3.2 Latest Latest
Warning

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

Go to latest
Published: Oct 29, 2018 License: MPL-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const BuilderId = "fnoeding.null"

Variables

This section is empty.

Functions

func CommHost added in v0.8.0

func CommHost(host string) func(multistep.StateBag) (string, error)

Types

type Builder

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

func (*Builder) Cancel

func (b *Builder) Cancel()

func (*Builder) Prepare

func (b *Builder) Prepare(raws ...interface{}) ([]string, error)

func (*Builder) Run

func (b *Builder) Run(ui packer.Ui, hook packer.Hook, cache packer.Cache) (packer.Artifact, error)

type Config

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

	CommConfig communicator.Config `mapstructure:",squash"`
}

func NewConfig

func NewConfig(raws ...interface{}) (*Config, []string, error)

type NullArtifact

type NullArtifact struct {
}

dummy Artifact implementation - does nothing

func (*NullArtifact) BuilderId

func (*NullArtifact) BuilderId() string

func (*NullArtifact) Destroy

func (a *NullArtifact) Destroy() error

func (*NullArtifact) Files

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

func (*NullArtifact) Id

func (*NullArtifact) Id() string

func (*NullArtifact) State added in v0.7.2

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

func (*NullArtifact) String

func (a *NullArtifact) String() string

Jump to

Keyboard shortcuts

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