null

package
v0.12.2 Latest Latest
Warning

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

Go to latest
Published: Jan 20, 2017 License: MPL-2.0 Imports: 10 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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)

func SSHConfig

func SSHConfig(username string, password string, privateKeyFile string) func(multistep.StateBag) (*gossh.ClientConfig, error)

SSHConfig returns a function that can be used for the SSH communicator config for connecting to the specified host via SSH private_key_file has precedence over password!

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