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
Click to show internal directories.
Click to hide internal directories.