config

package
v0.0.0-...-9a3fa0c Latest Latest
Warning

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

Go to latest
Published: Oct 13, 2018 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 Config

type Config struct {
	Randomize     bool        `yaml:"randomize"`
	StopOnFailure bool        `yaml:"stop_on_failure"`
	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"`
}

func (*Resource) Key

func (r *Resource) Key() string

Jump to

Keyboard shortcuts

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