MCPcopy Index your code
hub / github.com/devspace-sh/devspace / NewConfig

Function NewConfig

pkg/devspace/config/config.go:37–48  ·  view source on GitHub ↗
(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
37func 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
50type config struct {
51 RuntimeVariables

Callers 15

TestDeployFunction · 0.92
TestDeleteFunction · 0.92
TestRenderFunction · 0.92
TestDeleteFunction · 0.92
TestDeployFunction · 0.92
TestGetReplacedManifestFunction · 0.92
TestHookWithoutExecutionFunction · 0.92
TestHookWithExecutionFunction · 0.92
applyPipelineSetValueFunction · 0.92
applySetValuesFunction · 0.92
TestResolverFunction · 0.92
LoadWithParserMethod · 0.92

Calls 1

newRuntimeVariablesFunction · 0.85

Tested by 10

TestDeployFunction · 0.74
TestDeleteFunction · 0.74
TestRenderFunction · 0.74
TestDeleteFunction · 0.74
TestDeployFunction · 0.74
TestGetReplacedManifestFunction · 0.74
TestHookWithoutExecutionFunction · 0.74
TestHookWithExecutionFunction · 0.74
TestResolverFunction · 0.74