Function
NewConfig
(raw map[string]interface{}, rawBeforeConversion map[string]interface{}, parsed *latest.Config, localCache localcache.Cache, remoteCache remotecache.Cache, resolvedVariables map[string]interface{}, path string)
Source from the content-addressed store, hash-verified
| 35 | } |
| 36 | |
| 37 | func NewConfig(raw map[string]interface{}, rawBeforeConversion map[string]interface{}, parsed *latest.Config, localCache localcache.Cache, remoteCache remotecache.Cache, resolvedVariables map[string]interface{}, path string) Config { |
| 38 | return &config{ |
| 39 | RuntimeVariables: newRuntimeVariables(), |
| 40 | rawConfig: raw, |
| 41 | rawBeforeConversion: rawBeforeConversion, |
| 42 | parsedConfig: parsed, |
| 43 | localCache: localCache, |
| 44 | remoteCache: remoteCache, |
| 45 | resolvedVariables: resolvedVariables, |
| 46 | path: path, |
| 47 | } |
| 48 | } |
| 49 | |
| 50 | type config struct { |
| 51 | RuntimeVariables |