mirror of
https://github.com/crazy-max/diun.git
synced 2025-12-24 22:39:22 +01:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user