Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BuildTo ¶
type BuildTo struct { WorkDir string ProjectDir string AppPath string ID uint Serial string Priority int ComputerIp string ComputerPort int DeviceIp string BuildType _const.BuildType BrowserType _const.BrowserType BrowserVer string AppiumPort int QueueId uint ScriptUrl string ScmAddress string ScmAccount string ScmPassword string AppUrl string BuildCommands string ResultFiles string KeepResultFiles MyBool ResultPath string ResultMsg string StartTime time.Time CompleteTime time.Time Progress _const.BuildProgress Status _const.BuildStatus }
type Container ¶
type Container struct { Id int Name string DiskSize int MemorySize int CdromSys string CdromDriver string DefPath string ImagePath string WorkDir string PublicIp string PublicPort int MacAddress string ResolutionHeight int ResolutionWidth int RpcPort int SshPort int VncPort int DestroyAt time.Time FirstDetectedTime time.Time HostId int ImageId int Status _const.VmStatus }
type DeviceInst ¶
type DeviceInst struct { DeviceSpec ComputerIp string `json:"computerIp"` ComputerPort int `json:"computerPort"` AppiumPort int `json:"appiumPort"` DeviceStatus _const.DeviceStatus `json:"deviceStatus"` AppiumStatus _const.ServiceStatus `json:"appiumStatus"` LastRegisterDate time.Time `json:"lastRegisterDate"` }
type DeviceSpec ¶
type DeviceSpec struct { Serial string `json:"serial"` Model string `json:"model"` ApiLevel int `json:"apiLevel"` Version string `json:"version"` Code string `json:"code"` Os string `json:"os"` Kernel string `json:"kernel"` Ram int `json:"ram"` Rom int `json:"rom"` Cpu string `json:"cpu"` Battery int `json:"battery"` Density int `json:"density"` DeviceIp string `json:"deviceIp"` ResolutionHeight int `json:"resolutionHeight"` ResolutionWidth int `json:"resolutionWidth"` }
type Host ¶
type Host struct { Name string OsPlatform _const.OsPlatform OsType _const.OsType OsLang _const.SysLang OsVersion string OsBuild string OsBits string Ip string Port int WorkDir string SshPort int VncPort int Status _const.HostStatus LastRegisterDate time.Time Vms []Vm // contains filtered or unexported fields }
type Image ¶
type Image struct { Name string `json:"name"` Path string `json:"path"` Size int `json:"size"` OsPlatform string `json:"osPlatform"` OsType string `json:"osType"` OsVersion string `json:"osVersion"` OsBuild string `json:"osBuild"` OsBits string `json:"osBits"` OsLanguage string `json:"naosLanguageme"` ResolutionHeight int `json:"resolutionHeight"` ResolutionWidth int `json:"resolutionWidth"` Status string `json:"status"` DestroyAt time.Time `json:"distroyAt"` IsoId int `json:"isoId"` }
type Iso ¶
type Iso struct { Name string `json:"name"` Path string `json:"path"` Size int `json:"size"` OsPlatform string `json:"osPlatform"` OsType string `json:"osType"` OsVersion string `json:"osVersion"` OsBuild string `json:"osBuild"` OsBits string `json:"osBits"` OsLanguage string `json:"naosLanguageme"` Status string `json:"status"` }
type PveReq ¶
type PveReq struct { StartAfterCreated bool `json:"startAfterCreated"` ComputerIp string `json:"-"` ComputerPort int `json:"-"` VmPublicIp string `json:"vmPublicIp"` VmPrivateIp string `json:"vmPrivateIp"` VmPublicPort int `json:"vmPublicPort"` VmMacAddress string `json:"vmMacAddress"` VmTemplate string `json:"vmTemplate"` VmUniqueName string `json:"vmUniqueName"` VmMemorySize int `json:"vmMemorySize"` VmDiskSize int `json:"vmDiskSize"` VmCdromSys string `json:"vmCdromSys"` VmCdromDriver string `json:"vmCdromDriver"` VmBackingImage string `json:"vmBackingImage"` HostId int `json:"hostId"` VmId int `json:"vmId"` VmBackingImageId int `json:"vmBackingImageId"` VmCdromSysId int `json:"vmCdromSysId"` VmCdromDriverId int `json:"vmCdromDriverId"` }
type RpcResult ¶
type Vm ¶
type Vm struct { Id int VmId string Name string HostName string DiskSize int MemorySize int CdromSys string CdromDriver string DefPath string ImagePath string BackingImagePath string WorkDir string PublicIp string PublicPort int MacAddress string ResolutionHeight int ResolutionWidth int RpcPort int SshPort int VncPort int DestroyAt time.Time FirstDetectedTime time.Time HostId int BackingImageId int Status _const.VmStatus }
Click to show internal directories.
Click to hide internal directories.