config

package
v0.0.10-develop Latest Latest
Warning

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

Go to latest
Published: Mar 10, 2021 License: Apache-2.0 Imports: 7 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"`
}

Layout ...

Jump to

Keyboard shortcuts

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