Documentation ¶
Index ¶
Constants ¶
View Source
const BuilderId = "packer.cloudstack"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Artifact ¶
type Artifact struct {
// contains filtered or unexported fields
}
Artifact represents a CloudStack template as the result of a Packer build.
type Builder ¶
type Builder struct {
// contains filtered or unexported fields
}
Builder represents the CloudStack builder.
type Config ¶
type Config struct { common.PackerConfig `mapstructure:",squash"` Comm communicator.Config `mapstructure:",squash"` APIURL string `mapstructure:"api_url"` APIKey string `mapstructure:"api_key"` SecretKey string `mapstructure:"secret_key"` AsyncTimeout time.Duration `mapstructure:"async_timeout"` HTTPGetOnly bool `mapstructure:"http_get_only"` SSLNoVerify bool `mapstructure:"ssl_no_verify"` DiskOffering string `mapstructure:"disk_offering"` DiskSize int64 `mapstructure:"disk_size"` CIDRList []string `mapstructure:"cidr_list"` Hypervisor string `mapstructure:"hypervisor"` InstanceName string `mapstructure:"instance_name"` Keypair string `mapstructure:"keypair"` Network string `mapstructure:"network"` Project string `mapstructure:"project"` PublicIPAddress string `mapstructure:"public_ip_address"` ServiceOffering string `mapstructure:"service_offering"` SourceTemplate string `mapstructure:"source_template"` SourceISO string `mapstructure:"source_iso"` UserData string `mapstructure:"user_data"` UserDataFile string `mapstructure:"user_data_file"` UseLocalIPAddress bool `mapstructure:"use_local_ip_address"` Zone string `mapstructure:"zone"` TemplateName string `mapstructure:"template_name"` TemplateDisplayText string `mapstructure:"template_display_text"` TemplateOS string `mapstructure:"template_os"` TemplateFeatured bool `mapstructure:"template_featured"` TemplatePublic bool `mapstructure:"template_public"` TemplatePasswordEnabled bool `mapstructure:"template_password_enabled"` TemplateRequiresHVM bool `mapstructure:"template_requires_hvm"` TemplateScalable bool `mapstructure:"template_scalable"` TemplateTag string `mapstructure:"template_tag"` // contains filtered or unexported fields }
Config holds all the details needed to configure the builder.
Click to show internal directories.
Click to hide internal directories.