null

package
v1.1.2 Latest Latest
Warning

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

Go to latest
Published: Nov 15, 2017 License: MPL-2.0 Imports: 13 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)

func SSHConfig

func SSHConfig(useAgent bool, 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