Add Nomad provider

I modeled it off the Kubernetes provider a bit. It supports setting task
config at group and task levels using services and meta attributes.
This commit is contained in:
Ian Fijolek
2022-12-25 22:29:08 -08:00
committed by CrazyMax
parent a7e8a9cd81
commit 6318e4f069
10 changed files with 505 additions and 7 deletions

View File

@@ -7,6 +7,7 @@ type Providers struct {
Kubernetes *PrdKubernetes `yaml:"kubernetes,omitempty" json:"kubernetes,omitempty" label:"allowEmpty" file:"allowEmpty"`
File *PrdFile `yaml:"file,omitempty" json:"file,omitempty"`
Dockerfile *PrdDockerfile `yaml:"dockerfile,omitempty" json:"dockerfile,omitempty"`
Nomad *PrdNomad `yaml:"nomad,omitempty" json:"nomad,omitempty" label:"allowEmpty" file:"allowEmpty"`
}
// GetDefaults gets the default values