Documentation ¶
Index ¶
Constants ¶
View Source
const ( RegisterExpireTime = 5 // min WaitForExecTime = 60 // min WaitForResultTime = 30 // min RetryTime = 3 AgentRunTime = 20 // sec WebCheckQueueTime = 10 // sec AgentCheckDevice = 10 // sec RpcPort = 8972 Build_Command_Param_AppPath = "${appPath}" Build_Command_Param_AppPackage = "${appPackage}" Build_Command_Param_AppActivity = "${appActivity}" Build_Command_Param_AppiumPort = "${appiumPort}" Build_Command_Param_SeleniumDriver = "${driverPath}" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BrowserType ¶
type BrowserType string
const ( Chrome BrowserType = "chrome" Firefox BrowserType = "firefox" Edge BrowserType = "edge" IE BrowserType = "ie" )
type BuildProgress ¶
type BuildProgress string
const ( ProgressCreated BuildProgress = "created" ProgressLaunchVm BuildProgress = "launch_vm" ProgressPending BuildProgress = "pending" ProgressInProgress BuildProgress = "in_progress" ProgressTimeout BuildProgress = "timeout" ProgressCompleted BuildProgress = "completed" )
type BuildStatus ¶
type BuildStatus string
const ( StatusCreated BuildStatus = "created" StatusPass BuildStatus = "pass" StatusFail BuildStatus = "fail" )
type DeviceStatus ¶
type DeviceStatus string
const ( DeviceOff DeviceStatus = "off" DeviceOn DeviceStatus = "on" DeviceActive DeviceStatus = "active" DeviceBusy DeviceStatus = "busy" DeviceUnknown DeviceStatus = "unknown" )
type HostStatus ¶
type HostStatus string
const ( HostActive HostStatus = "active" HostOffline HostStatus = "offline" )
type OsPlatform ¶
type OsPlatform string
const ( OsWindows OsPlatform = "windows" OsLinux OsPlatform = "linux" OsMac OsPlatform = "mac" OsDriver OsPlatform = "driver" )
type ResultCode ¶
type ResultCode int
const ( ResultSuccess ResultCode = 1 ResultFail ResultCode = 0 )
func (ResultCode) Int ¶
func (c ResultCode) Int() int
type ServiceStatus ¶
type ServiceStatus string
const ( ServiceOff ServiceStatus = "off" ServiceOn ServiceStatus = "on" ServiceActive ServiceStatus = "active" ServiceBusy ServiceStatus = "busy" )
type VmStatus ¶
type VmStatus string
const ( VmCreated VmStatus = "created" VmLaunch VmStatus = "launch" VmRunning VmStatus = "running" VmActive VmStatus = "active" VmBusy VmStatus = "busy" VmDestroy VmStatus = "destroy" VmFailToCreate VmStatus = "fail_to_create" VmFailToDestroy VmStatus = "fail_to_destroy" VmUnknown VmStatus = "unknown" )
Click to show internal directories.
Click to hide internal directories.