Documentation ¶
Index ¶
- Constants
- type CompileImageParams
- type CreateVolumeParams
- type DeviceMapping
- type Image
- type ImageFormat
- type Infrastructure
- type Instance
- type InstanceState
- type RawImage
- type RunInstanceParams
- type RunSpec
- type StageImageParams
- type StageSpec
- type StorageDriver
- type Volume
- type VsphereNetworkType
- type XenVirtualizationType
Constants ¶
View Source
const ( XenVirtualizationType_HVM = "hvm" XenVirtualizationType_Paravirtual = "paravirtual" )
View Source
const ( StorageDriver_SCSI = "SCSI" StorageDriver_SATA = "SATA" StorageDriver_IDE = "IDE" )
View Source
const ( VsphereNetworkType_E1000 = "e1000" VsphereNetworkType_VMXNET3 = "vmxnet3" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CompileImageParams ¶
type CreateVolumeParams ¶
type DeviceMapping ¶
type Image ¶
type ImageFormat ¶
type ImageFormat string
const ( ImageFormat_RAW ImageFormat = "raw" ImageFormat_QCOW2 ImageFormat = "qcow2" ImageFormat_VHD ImageFormat = "vhd" ImageFormat_VMDK ImageFormat = "vmdk" )
type Infrastructure ¶
type Infrastructure string
const ( Infrastructure_AWS Infrastructure = "AWS" Infrastructure_VSPHERE Infrastructure = "VSPHERE" Infrastructure_VIRTUALBOX Infrastructure = "VIRTUALBOX" )
type Instance ¶
type Instance struct { Id string `json:"Id"` Name string `json:"Name"` State InstanceState `json:"State"` IpAddress string `json:"IpAddress"` ImageId string `json:"ImageId"` Infrastructure Infrastructure `json:"Infrastructure"` Created time.Time `json:"Created"` }
type InstanceState ¶
type InstanceState string
const ( InstanceState_Running InstanceState = "running" InstanceState_Stopped InstanceState = "stopped" InstanceState_Pending InstanceState = "pending" InstanceState_Unknown InstanceState = "unknown" InstanceState_Terminated InstanceState = "terminated" )
type RunInstanceParams ¶
type RunSpec ¶
type RunSpec struct { DeviceMappings []DeviceMapping `json:"DeviceMappings"` //required for all compilers DefaultInstanceMemory int `json:"DefaultInstanceMemory"` //required for all compilers StorageDriver StorageDriver `json:"StorageDriver,omitempty"` VsphereNetworkType VsphereNetworkType `json:"VsphereNetworkType"` }
type StageImageParams ¶
type StageSpec ¶
type StageSpec struct { ImageFormat ImageFormat `json:"ImageFormat"` //required for all compilers XenVirtualizationType XenVirtualizationType `json:"XenVirtualizationType,omitempty"` }
type StorageDriver ¶
type StorageDriver string
type Volume ¶
type VsphereNetworkType ¶
type VsphereNetworkType string
type XenVirtualizationType ¶
type XenVirtualizationType string
Click to show internal directories.
Click to hide internal directories.