Documentation ¶
Index ¶
- func ExportArtifacts(ctx context.Context, cli *command.SauceCtlCli, containerID string, ...) error
- func NewRunCommand(cli *command.SauceCtlCli) *cobra.Command
- func Run(cmd *cobra.Command, cli *command.SauceCtlCli, args []string) error
- type Capabilties
- type Configuration
- type ImageDefinition
- type Metadata
- type Timeouts
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ExportArtifacts ¶
func ExportArtifacts(ctx context.Context, cli *command.SauceCtlCli, containerID string, logDir string) error
ExportArtifacts exports log files from testrunner container to host
func NewRunCommand ¶
func NewRunCommand(cli *command.SauceCtlCli) *cobra.Command
NewRunCommand creates the `run` command
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 Configuration ¶
type Configuration 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"` }
Configuration describes testrunner config format
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
Click to show internal directories.
Click to hide internal directories.