NewRaw creates a new config object
()
| 21 | |
| 22 | // NewRaw creates a new config object |
| 23 | func NewRaw() *Config { |
| 24 | return &Config{ |
| 25 | Version: ptr.String(Version), |
| 26 | Cluster: &Cluster{}, |
| 27 | Dev: &DevConfig{}, |
| 28 | Images: &map[string]*ImageConfig{}, |
| 29 | } |
| 30 | } |
| 31 | |
| 32 | // Config defines the configuration |
| 33 | type Config struct { |