Documentation
¶
Index ¶
Constants ¶
View Source
const BuilderId = "fnoeding.null"
Variables ¶
This section is empty.
Functions ¶
func SSHAddress ¶
SSHAddress returns a function that can be given to the SSH communicator for determining the SSH address
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 Config ¶
type Config struct {
common.PackerConfig `mapstructure:",squash"`
Host string `mapstructure:"host"`
Port int `mapstructure:"port"`
SSHUsername string `mapstructure:"ssh_username"`
SSHPassword string `mapstructure:"ssh_password"`
SSHPrivateKeyFile string `mapstructure:"ssh_private_key_file"`
// contains filtered or unexported fields
}
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) String ¶
func (a *NullArtifact) String() string
Click to show internal directories.
Click to hide internal directories.