config

package
v0.0.0-...-29e28e0 Latest Latest
Warning

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

Go to latest
Published: Sep 19, 2018 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type RootConfig

type RootConfig struct {
	Jobs     map[string]*nomad.Job      `hcl:"job"`
	Nomad    nomad.Config               `hcl:"nomad"`
	Backends map[string]structs.Backend `hcl:"backend"`
}

RootConfig struct This is the main configuration, it contain Jobs and other auxiallary configuration

func NewConfig

func NewConfig(path string) (*RootConfig, error)

NewConfig will return a Config struct

Jump to

Keyboard shortcuts

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