models

package
v0.8.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 29, 2023 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ConfigJsonData

type ConfigJsonData struct {
	EnvConfig EnvConfig `json:"env-config" bson:"env-config"`
	Devices   []*Device `json:"devices-config" bson:"devices-config"`
}

type Device

type Device struct {
	Connected       bool     `json:"connected,omitempty" bson:"connected"`
	UDID            string   `json:"udid" bson:"_id"`
	OS              string   `json:"os" bson:"os"`
	AppiumPort      string   `json:"appium_port" bson:"appium_port"`
	StreamPort      string   `json:"stream_port" bson:"stream_port"`
	WDAPort         string   `json:"wda_port,omitempty" bson:"wda_port,omitempty"`
	Name            string   `json:"name" bson:"name"`
	OSVersion       string   `json:"os_version" bson:"os_version"`
	Model           string   `json:"model" bson:"model"`
	Image           string   `json:"image,omitempty" bson:"image,omitempty"`
	HostAddress     string   `json:"host_address" bson:"host_address"`
	AppiumSessionID string   `json:"appiumSessionID,omitempty" bson:"appiumSessionID,omitempty"`
	WDASessionID    string   `json:"wdaSessionID,omitempty" bson:"wdaSessionID,omitempty"`
	Provider        string   `json:"provider" bson:"provider"`
	ScreenWidth     string   `json:"screen_width" bson:"screen_width"`
	ScreenHeight    string   `json:"screen_height" bson:"screen_height"`
	HardwareModel   string   `json:"hardware_model,omitempty" bson:"hardware_model,omitempty"`
	InstalledApps   []string `json:"installed_apps" bson:"-"`
	IOSProductType  string   `json:"ios_product_type,omitempty" bson:"ios_product_type,omitempty"`
}

type EnvConfig

type EnvConfig struct {
	HostAddress         string `json:"host_address" bson:"host_address"`
	HostPort            int    `json:"host_port" bson:"host_port"`
	UseSeleniumGrid     bool   `json:"use_selenium_grid" bson:"use_selenium_grid"`
	SupervisionPassword string `json:"supervision_password" bson:"-"`
	WDABundleID         string `json:"wda_bundle_id" bson:"-"`
	MongoDB             string `json:"mongo_db" bson:"-"`
	WDAPath             string `json:"wda_repo_path" bson:"-"`
	ProviderNickname    string `json:"provider_nickname" bson:"-"`
	SeleniumJar         string `json:"selenium_jar" bson:"-"`
	SeleniumGrid        string `json:"selenium_grid" bson:"selenium_grid"`
	ProvideAndroid      bool   `json:"provide_android" bson:"provide_android"`
	ProvideIOS          bool   `json:"provide_ios" bson:"provide_ios"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL