Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BrowsersConfig ¶
type BrowsersConfig struct {
// contains filtered or unexported fields
}
BrowsersConfig ...
func NewBrowsersConfig ¶
func NewBrowsersConfig(configFile string) (*BrowsersConfig, error)
NewBrowsersConfig returns parced browsers config from JSON or YAML file.
func (*BrowsersConfig) Find ¶
func (cfg *BrowsersConfig) Find(name, version string) (platform.BrowserSpec, error)
Find return Container if it present in config
func (*BrowsersConfig) GetBrowserVersions ¶
func (cfg *BrowsersConfig) GetBrowserVersions() map[string][]string
GetBrowserVersions ...
type Layout ¶
type Layout struct { DefaultSpec platform.Spec `yaml:"spec" json:"spec"` Meta platform.Meta `yaml:"meta" json:"meta"` Path string `yaml:"path" json:"path"` DefaultVersion string `yaml:"defaultVersion" json:"defaultVersion"` Versions map[string]*platform.BrowserSpec `yaml:"versions" json:"versions"` Volumes []apiv1.Volume `yaml:"volumes,omitempty" json:"volumes,omitempty"` Capabilities []apiv1.Capability `yaml:"kernelCaps,omitempty" json:"kernelCaps,omitempty"` RunAs platform.RunAsOptions `yaml:"runAs,omitempty" json:"runAs,omitempty"` }
Layout ...
Click to show internal directories.
Click to hide internal directories.