build

package
v0.0.0-...-65d4d15 Latest Latest
Warning

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

Go to latest
Published: Sep 21, 2020 License: Apache-2.0 Imports: 27 Imported by: 0

Documentation

Index

Constants

View Source
const (
	LatestVersion = "latest"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type BrowserSource

type BrowserSource string

func (*BrowserSource) Prepare

func (bs *BrowserSource) Prepare() (string, string, error)

Return regular file corresponding to this source and optionally download this file

type Chrome

type Chrome struct {
	Requirements
}

func (*Chrome) Build

func (c *Chrome) Build() error

type Firefox

type Firefox struct {
	SelenoidVersion string
	SeleniumVersion string
	Requirements
}

func (*Firefox) Build

func (c *Firefox) Build() error

type Image

type Image struct {
	Dir        string
	BuildArgs  []string
	Labels     []string
	FileServer bool
	Requirements
}

func NewImage

func NewImage(srcDir string, destDir string, req Requirements) (*Image, error)

func (*Image) Build

func (i *Image) Build() error

func (*Image) Push

func (i *Image) Push() error

func (*Image) Test

func (i *Image) Test(testsDir string, browserName string, browserVersion string) error

type Opera

type Opera struct {
	Requirements
}

func (*Opera) Build

func (o *Opera) Build() error

type Requirements

type Requirements struct {
	BrowserSource  BrowserSource
	BrowserChannel string // "beta", "esr", "dev" and so on
	DriverVersion  string
	Tags           []string
	NoCache        bool
	TestsDir       string
	RunTests       bool
	IgnoreTests    bool
	PushImage      bool
}

type YandexBrowser

type YandexBrowser struct {
	Requirements
}

func (*YandexBrowser) Build

func (yb *YandexBrowser) Build() error

Jump to

Keyboard shortcuts

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