Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Capabilties ¶
type Capabilties struct { BrowserName string `yaml:"browserName"` BrowserVersion string `yaml:"browserVersion"` PlatformName string `yaml:"platformName"` AcceptInsecureCerts bool `yaml:"acceptInsecureCerts"` PageLoadStrategy bool `yaml:"pageLoadStrategy"` Proxy map[string]interface{} `yaml:"proxy"` SetWindowRect bool `yaml:"setWindowRect"` Timeouts Timeouts `yaml:"timeouts"` StrictFileInteractability bool `yaml:"strictFileInteractability"` UnhandledPromptBehavior string `yaml:"unhandledPromptBehavior"` }
Capabilties describes job capabilies
type ImageDefinition ¶
type ImageDefinition struct { Base string `yaml:"base"` Version string `yaml:"version"` Options map[string]interface{} `yaml:"options"` }
ImageDefinition describe configuration to the testrunner image
type JobConfiguration ¶
type JobConfiguration struct { APIVersion string `yaml:"apiVersion"` Kind string `yaml:"kind"` Metadata Metadata `yaml:"metadata"` Capabilties []Capabilties `yaml:"capabilties"` Files []string `yaml:"files"` Image ImageDefinition `yaml:"image"` }
JobConfiguration describes testrunner config format
func NewJobConfiguration ¶
func NewJobConfiguration(cfgFilePath string) (JobConfiguration, error)
NewJobConfiguration creates a new job configuration based on a config file
type Metadata ¶
type Metadata struct { Name string `yaml:"name"` Tags []string `yaml:"tags"` Build string `yaml:"build"` }
Metadata describes job metadata
type RunnerConfiguration ¶
type RunnerConfiguration struct { RootDir string `yaml:"rootDir"` TargetDir string `yaml:"targetDir"` ExecCommand []string `yaml:"execCommand"` }
RunnerConfiguration describes configurations for the testrunner
func NewRunnerConfiguration ¶
func NewRunnerConfiguration(cfgFilePath string) (RunnerConfiguration, error)
NewRunnerConfiguration reads yaml file for runner configurations
Click to show internal directories.
Click to hide internal directories.