config

package
v0.0.0-...-ef87dce Latest Latest
Warning

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

Go to latest
Published: Apr 9, 2018 License: MIT Imports: 3 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Set

type Set struct {
	// Variables to use that will passed onto Docker
	Network     string   `json:"Network,omitempty" yaml:"Network,omitempty"`
	Environment []string `json:"Environment,omitempty" yaml:"Environment,omitempty"`
	// Variables that will be passed onto the Spartan
	Cmds []string `json:"Commands" yaml:"Commands"`
}

Set is an container of variables that are required at various points of the Runner lifetime

func Default

func Default() *Set

Default creates the default config that can be used if nothing is defined

func Load

func Load(path string) (*Set, error)

Load will take a given path map that to the Set struct

Jump to

Keyboard shortcuts

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