Documentation ¶
Index ¶
Constants ¶
View Source
const BuilderId = "packer.file"
Variables ¶
View Source
var ErrContentSourceConflict = fmt.Errorf("Cannot specify source file AND content")
View Source
var ErrTargetRequired = fmt.Errorf("target required")
Functions ¶
This section is empty.
Types ¶
type Builder ¶
type Builder struct {
// contains filtered or unexported fields
}
type Config ¶
type Config struct { common.PackerConfig `mapstructure:",squash"` Source string `mapstructure:"source"` Target string `mapstructure:"target"` Content string `mapstructure:"content"` }
type FileArtifact ¶
type FileArtifact struct {
// contains filtered or unexported fields
}
func (*FileArtifact) BuilderId ¶
func (*FileArtifact) BuilderId() string
func (*FileArtifact) Destroy ¶
func (a *FileArtifact) Destroy() error
func (*FileArtifact) Files ¶
func (a *FileArtifact) Files() []string
func (*FileArtifact) Id ¶
func (a *FileArtifact) Id() string
func (*FileArtifact) State ¶
func (a *FileArtifact) State(name string) interface{}
func (*FileArtifact) String ¶
func (a *FileArtifact) String() string
Click to show internal directories.
Click to hide internal directories.