config

package
v1.0.5 Latest Latest
Warning

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

Go to latest
Published: May 25, 2021 License: Apache-2.0 Imports: 10 Imported by: 0

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 ...

func (*BrowsersConfig) Reload

func (cfg *BrowsersConfig) Reload() error

Reload ...

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 ...

Jump to

Keyboard shortcuts

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