Documentation
¶
Index ¶
Constants ¶
View Source
const ( BuilderId = "packer.post-processor.ucloud-import" ImageFileFormatRAW = "raw" ImageFileFormatVHD = "vhd" ImageFileFormatVMDK = "vmdk" ImageFileFormatQCOW2 = "qcow2" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
common.PackerConfig `mapstructure:",squash"`
ucloudcommon.AccessConfig `mapstructure:",squash"`
// Variables specific to this post processor
UFileBucket string `mapstructure:"ufile_bucket_name"`
UFileKey string `mapstructure:"ufile_key_name"`
SkipClean bool `mapstructure:"skip_clean"`
ImageName string `mapstructure:"image_name"`
ImageDescription string `mapstructure:"image_description"`
OSType string `mapstructure:"image_os_type"`
OSName string `mapstructure:"image_os_name"`
Format string `mapstructure:"format"`
WaitImageReadyTimeout int `mapstructure:"wait_image_ready_timeout"`
// contains filtered or unexported fields
}
Configuration of this post processor
type PostProcessor ¶
type PostProcessor struct {
// contains filtered or unexported fields
}
func (*PostProcessor) Configure ¶
func (p *PostProcessor) Configure(raws ...interface{}) error
Entry point for configuration parsing when we've defined
Click to show internal directories.
Click to hide internal directories.