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

Method Load

pkg/devspace/config/loader/loader.go:48–48  ·  view source on GitHub ↗

Load loads the devspace.yaml, parses it, applies profiles, fills in variables and finally returns it.

(ctx context.Context, client kubectl.Client, options *ConfigOptions, log log.Logger)

Source from the content-addressed store, hash-verified

46 // Load loads the devspace.yaml, parses it, applies profiles, fills in variables and
47 // finally returns it.
48 Load(ctx context.Context, client kubectl.Client, options *ConfigOptions, log log.Logger) (config.Config, error)
49
50 // LoadWithCache loads the devspace.yaml, parses it, applies profiles, fills in variables and
51 // finally returns it.

Callers 9

resolveDependencyMethod · 0.95
RunListSyncMethod · 0.95
RunListVarsMethod · 0.95
RunListPortMethod · 0.95
RunCleanupImagesMethod · 0.95
testLoadFunction · 0.65
LoadLocalCacheMethod · 0.65
LoadWithParserMethod · 0.65

Implementers 2

configLoaderpkg/devspace/config/loader/loader.go
FakeConfigLoaderpkg/devspace/config/loader/testing/fak

Calls

no outgoing calls

Tested by 1

testLoadFunction · 0.52