Documentation
¶
Index ¶
Constants ¶
View Source
const ( UserVm Tags = "UserVm" Volume Tags = "Volume" Snapshot Tags = "Snapshot" Root DiskType = "ROOT" Datadisk DiskType = "DATADISK" ManualNetwork NetworkType = "manual" DynamicNetwork NetworkType = "dynamic" VipNetwork NetworkType = "vip" VmRunning VmState = "running" PersistenceDiskPrefix = "cpi-disk-" EphemeralDiskPrefix = "cpi-ephemeral-disk-" VMPrefix = "cpivm-" TemplateFormat = "VHD" TemplateNameFormat = "cpitemplate-%s" Hypervisor = "XenServer" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CalculateCloudProp ¶
type CloudStackConfig ¶
type CloudStackConfig struct {
Stemcell *StemcellConfig
CalculateCloudProp CalculateCloudProp
// Access
Endpoint string
ApiKey string
SecretAccessKey string
SkipVerifySSL bool
Timeout Timeout
// Key
DefaultKeyName string
PrivateKey string
// Zone
DefaultZone string
DefaultOffer DefaultOffer
// VM
ExpungeVm bool
// PeriodicCleanDisk
DirectorName string
IntervalCleanDisk int64
EnableAutoAntiAffinity bool
}
func (CloudStackConfig) Validate ¶
func (c CloudStackConfig) Validate() error
type Config ¶
type Config struct {
CloudStack CloudStackConfig
Actions FactoryOpts
}
func NewConfigFromPath ¶
type DefaultOffer ¶
type FactoryOpts ¶
type FactoryOpts struct {
Agent apiv1.AgentOptions
AgentEnvService string
Registry RegistryOptions
}
func (FactoryOpts) Validate ¶
func (o FactoryOpts) Validate() error
type NetworkType ¶
type NetworkType string
type RegistryOptions ¶
type StemcellConfig ¶
func (*StemcellConfig) Validate ¶
func (c *StemcellConfig) Validate() error
Click to show internal directories.
Click to hide internal directories.