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

Method LoadWithCache

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

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

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

Source from the content-addressed store, hash-verified

50 // LoadWithCache loads the devspace.yaml, parses it, applies profiles, fills in variables and
51 // finally returns it.
52 LoadWithCache(ctx context.Context, localCache localcache.Cache, client kubectl.Client, options *ConfigOptions, log log.Logger) (config.Config, error)
53
54 // LoadWithParser loads the config with the given parser
55 LoadWithParser(ctx context.Context, localCache localcache.Cache, client kubectl.Client, parser Parser, options *ConfigOptions, log log.Logger) (config.Config, error)

Callers 8

initializeFunction · 0.95
RunMethod · 0.95
RunMethod · 0.95
RunRunMethod · 0.95
RunUIMethod · 0.95
RunResetPodsMethod · 0.95
RunDeploymentsStatusMethod · 0.95

Implementers 2

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

Calls

no outgoing calls

Tested by

no test coverage detected