Allow using a local Docker image, e.g., for tests

This commit is contained in:
Sebastian Serth
2022-09-18 01:49:25 +02:00
committed by Sebastian Serth
parent 15b9117382
commit 7454e577e4
5 changed files with 40 additions and 8 deletions

View File

@ -42,7 +42,8 @@ var (
CertFile: "",
KeyFile: "",
},
Namespace: "default",
Namespace: "default",
DisableForcePull: false,
},
AWS: AWS{
Enabled: false,
@ -88,12 +89,13 @@ func (s *server) URL() *url.URL {
// Nomad configures the used Nomad cluster.
type Nomad struct {
Enabled bool
Address string
Port int
Token string
TLS TLS
Namespace string
Enabled bool
Address string
Port int
Token string
TLS TLS
Namespace string
DisableForcePull bool
}
// URL returns the URL for the configured Nomad cluster.