nomad

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Sep 28, 2017 License: Apache-2.0 Imports: 12 Imported by: 1

Documentation

Index

Constants

View Source
const (
	EnvNomadAddress = "NOMAD_ADDR"
	EnvNomadRegion  = "NOMAD_REGION"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Jobfile added in v1.0.0

type Jobfile struct {
	File           string `mapstructure:"file"`
	WaitAllocation bool   `mapstructure:"wait_allocation"`
}

type Nomad

type Nomad struct {
	Options *Options

	JobFiles []Jobfile
}

func (*Nomad) Deploy

func (n *Nomad) Deploy(ctx pipeline.Context) error

type Options

type Options struct {
	JobFile  interface{}   `mapstructure:"job_file"`
	JobFiles []interface{} `mapstructure:"job_files"`
}

Jump to

Keyboard shortcuts

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