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"` common.HTTPConfig `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"` CIDRList []string `mapstructure:"cidr_list"` CreateSecurityGroup bool `mapstructure:"create_security_group"` DiskOffering string `mapstructure:"disk_offering"` DiskSize int64 `mapstructure:"disk_size"` Expunge bool `mapstructure:"expunge"` 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"` SecurityGroups []string `mapstructure:"security_groups"` ServiceOffering string `mapstructure:"service_offering"` SourceISO string `mapstructure:"source_iso"` SourceTemplate string `mapstructure:"source_template"` TemporaryKeypairName string `mapstructure:"temporary_keypair_name"` UseLocalIPAddress bool `mapstructure:"use_local_ip_address"` UserData string `mapstructure:"user_data"` UserDataFile string `mapstructure:"user_data_file"` 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.