Documentation ¶
Index ¶
- type Communicator
- func (c *Communicator) Download(string, io.Writer) error
- func (c *Communicator) DownloadDir(string, string, []string) error
- func (c *Communicator) Start(cmd *packer.RemoteCmd) error
- func (c *Communicator) Upload(string, io.Reader, *os.FileInfo) error
- func (c *Communicator) UploadDir(string, string, []string) error
- type Config
- type ExecuteCommandTemplate
- type Provisioner
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Communicator ¶
type Communicator struct { ExecuteCommand []string Ctx interpolate.Context }
func (*Communicator) DownloadDir ¶
func (c *Communicator) DownloadDir(string, string, []string) error
type Config ¶
type Config struct { common.PackerConfig `mapstructure:",squash"` // Command is the command to execute Command string // ExecuteCommand is the command used to execute the command. ExecuteCommand []string `mapstructure:"execute_command"` // contains filtered or unexported fields }
type ExecuteCommandTemplate ¶
type ExecuteCommandTemplate struct {
Command string
}
type Provisioner ¶
type Provisioner struct {
// contains filtered or unexported fields
}
func (*Provisioner) Cancel ¶
func (p *Provisioner) Cancel()
func (*Provisioner) Prepare ¶
func (p *Provisioner) Prepare(raws ...interface{}) error
func (*Provisioner) Provision ¶
func (p *Provisioner) Provision(ui packer.Ui, _ packer.Communicator) error
Click to show internal directories.
Click to hide internal directories.