config

package
v0.0.0-...-c0ac931 Latest Latest
Warning

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

Go to latest
Published: Aug 23, 2020 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