selenoid

package
v0.0.2-develop Latest Latest
Warning

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

Go to latest
Published: Mar 8, 2021 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Browsers

type Browsers map[string]Version

Browsers - browser names for versions

type Caps

type Caps struct {
	BrowserName      string `json:"browserName"`
	BrowserVersion   string `json:"version"`
	ScreenResolution string `json:"screenResolution"`
	VNC              bool   `json:"enableVNC"`
	TestName         string `json:"name"`
	TimeZone         string `json:"timeZone"`
}

Caps - user capabilities

type Quota

type Quota map[string]*Sessions

Quota - list of sessions for quota user

type Session

type Session struct {
	ID        string `json:"id"`
	Container string `json:"container"`
	Caps      Caps   `json:"caps"`
}

Session - session id and vnc flag

type Sessions

type Sessions struct {
	Count    int       `json:"count"`
	Sessions []Session `json:"sessions"`
}

Sessions - used count and individual sessions for quota user

type State

type State struct {
	Total    int      `json:"total"`
	Used     int      `json:"used"`
	Pending  int      `json:"pending"`
	Browsers Browsers `json:"browsers"`
}

State - current state

type Version

type Version map[string]Quota

Version - browser version for quota

Jump to

Keyboard shortcuts

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