config

package
v0.9.0 Latest Latest
Warning

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

Go to latest
Published: Aug 23, 2019 License: GPL-3.0 Imports: 3 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	Init  []InitStep `yaml:"init"`
	Build []string   `yaml:"build"`
}

Config represents the values from the configuraiton file.

func Load

func Load(f string) (Config, error)

Load unmarshalls a Config object from a file.

type InitStep

type InitStep struct {
	Name      string                         `yaml:"name"`
	Image     string                         `yaml:"image"`
	Steps     []string                       `yaml:"steps"`
	Resources compose.ServiceDeployResources `yaml:"resources"`
	Volumes   []string                       `yaml:"volumes"`
}

InitStep represents a task that should be done in an init container.

Jump to

Keyboard shortcuts

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