Documentation ¶
Index ¶
Constants ¶
View Source
const BuilderId = "packer.post-processor.compress"
Variables ¶
View Source
var ( // ErrInvalidCompressionLevel is returned when the compression level passed // to gzip is not in the expected range. See compress/flate for details. ErrInvalidCompressionLevel = fmt.Errorf( "Invalid compression level. Expected an integer from -1 to 9.") ErrWrongInputCount = fmt.Errorf( "Can only have 1 input file when not using tar/zip") )
Functions ¶
This section is empty.
Types ¶
type Artifact ¶
func NewArtifact ¶
type Config ¶
type Config struct { common.PackerConfig `mapstructure:",squash"` // Fields from config file OutputPath string `mapstructure:"output"` CompressionLevel int `mapstructure:"compression_level"` KeepInputArtifact bool `mapstructure:"keep_input_artifact"` // Derived fields Archive string Algorithm string // contains filtered or unexported fields }
type PostProcessor ¶
type PostProcessor struct {
// contains filtered or unexported fields
}
func (*PostProcessor) Configure ¶
func (p *PostProcessor) Configure(raws ...interface{}) error
Click to show internal directories.
Click to hide internal directories.