config

package
v0.0.0-...-fc913c4 Latest Latest
Warning

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

Go to latest
Published: Apr 20, 2024 License: Apache-2.0 Imports: 3 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Browser

type Browser struct {
	Name            string    `xml:"name,attr"`
	DefaultVersion  string    `xml:"defaultVersion,attr"`
	DefaultPlatform string    `xml:"defaultPlatform,attr,omitempty"`
	Versions        []Version `xml:"version"`
}

Browser - one browser name, e.g. Firefox with all available versions

type Browsers

type Browsers struct {
	XMLName  xml.Name  `xml:"browsers"`
	Browsers []Browser `xml:"browser"`
}

Browsers - a set of available browsers

type Host

type Host struct {
	Name     string   `xml:"name,attr"`
	Port     int      `xml:"port,attr"`
	Count    int      `xml:"count,attr"`
	Username string   `xml:"username,attr,omitempty"`
	Password string   `xml:"password,attr,omitempty"`
	VNC      string   `xml:"vnc,attr,omitempty"`
	Scheme   string   `xml:"scheme,attr,omitempty"`
	Region   string   `xml:"-" json:"-"`
	VncInfo  *VncInfo `xml:"-" json:"-"`
}

Host - just a hostname

func (*Host) Net

func (h *Host) Net() string

func (*Host) Route

func (h *Host) Route() string

func (*Host) Sum

func (h *Host) Sum() string

type Hosts

type Hosts []Host

Hosts - a list of hosts for browser version

type Region

type Region struct {
	Name  string `xml:"name,attr"`
	Hosts Hosts  `xml:"host"`
}

Region - a datacenter to group hosts

type Version

type Version struct {
	Number   string   `xml:"number,attr"`
	Platform string   `xml:"platform,attr"`
	Regions  []Region `xml:"region"`
}

Version - concrete browser version

type VncInfo

type VncInfo struct {
	Scheme string
	Host   string
	Port   string
	Path   string
}

VncInfo - parsed VNC connection information

Jump to

Keyboard shortcuts

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