config

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Mar 19, 2019 License: Apache-2.0 Imports: 7 Imported by: 9

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	Randomize     bool        `yaml:"randomize"`
	StopOnFailure bool        `yaml:"stop_on_failure"`
	FeaturesPaths []string    `yaml:"features_path"`
	Resources     []*Resource `yaml:"resources"`
}

func Retrieve

func Retrieve(configFile string) (*Config, error)

type Resource

type Resource struct {
	Name       string            `yaml:"name"`
	Type       string            `yaml:"type"`
	ReadyCheck bool              `yaml:"ready_check"`
	Params     map[string]string `yaml:"params"`
}

Jump to

Keyboard shortcuts

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