Documentation ¶
Index ¶
- Constants
- type CompileImageParams
- type CreateVolumeParams
- type DeviceMapping
- type Image
- type ImageFormat
- type Infrastructure
- type Instance
- type InstanceState
- type PullImagePararms
- type PushImagePararms
- type RawImage
- type RemoteDeleteImagePararms
- type RunInstanceParams
- type RunSpec
- type StageImageParams
- type StageSpec
- type StorageDriver
- type UserImage
- 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" ImageFormat_Folder ImageFormat = "folder" )
type Infrastructure ¶
type Infrastructure string
const ( Infrastructure_AWS Infrastructure = "AWS" Infrastructure_VSPHERE Infrastructure = "VSPHERE" Infrastructure_VIRTUALBOX Infrastructure = "VIRTUALBOX" Infrastructure_QEMU Infrastructure = "QEMU" Infrastructure_PHOTON Infrastructure = "PHOTON" Infrastructure_XEN Infrastructure = "XEN" Infrastructure_OPENSTACK Infrastructure = "OPENSTACK" Infrastructure_UKVM Infrastructure = "UKVM" )
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" InstanceState_Error InstanceState = "error" InstanceState_Paused InstanceState = "paused" InstanceState_Suspended InstanceState = "suspended" )
type PullImagePararms ¶
type PushImagePararms ¶
type RunInstanceParams ¶
type RunSpec ¶
type RunSpec struct { DeviceMappings []DeviceMapping `json:"DeviceMappings"` //required for all compilers // DefaultInstanceMemory is in MB DefaultInstanceMemory int `json:"DefaultInstanceMemory"` //required for all compilers MinInstanceDiskMB int `json:"MinInstanceDiskMB"` StorageDriver StorageDriver `json:"StorageDriver,omitempty"` VsphereNetworkType VsphereNetworkType `json:"VsphereNetworkType"` Compiler string `json:"Compiler,omitempty"` }
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.