summaryrefslogtreecommitdiff
path: root/config/common.go
diff options
context:
space:
mode:
Diffstat (limited to 'config/common.go')
-rw-r--r--config/common.go16
1 files changed, 8 insertions, 8 deletions
diff --git a/config/common.go b/config/common.go
index 90c9c5b..5421830 100644
--- a/config/common.go
+++ b/config/common.go
@@ -8,14 +8,14 @@ import (
// and each configured variant.
//
type CommonConfig struct {
- Base string `yaml:"base" validate:"omitempty,baseimage"` // name/path to base image
- Apt AptConfig `yaml:"apt"` // APT related
- Node NodeConfig `yaml:"node"` // Node related
- Python PythonConfig `yaml:"python"` // Python related
- Builder BuilderConfig `yaml:"builder"` // Builder related
- Lives LivesConfig `yaml:"lives"` // application owner/dir
- Runs RunsConfig `yaml:"runs"` // runtime environment
- EntryPoint []string `yaml:"entrypoint"` // entry-point executable
+ Base string `json:"base" validate:"omitempty,baseimage"` // name/path to base image
+ Apt AptConfig `json:"apt"` // APT related
+ Node NodeConfig `json:"node"` // Node related
+ Python PythonConfig `json:"python"` // Python related
+ Builder BuilderConfig `json:"builder"` // Builder related
+ Lives LivesConfig `json:"lives"` // application owner/dir
+ Runs RunsConfig `json:"runs"` // runtime environment
+ EntryPoint []string `json:"entrypoint"` // entry-point executable
}
// Merge takes another CommonConfig and merges its fields this one's.