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

Method LoadWithCache

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

LoadWithCache loads the config with the given local cache

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

Source from the content-addressed store, hash-verified

107
108// LoadWithCache loads the config with the given local cache
109func (l *configLoader) LoadWithCache(ctx context.Context, localCache localcache.Cache, client kubectl.Client, options *ConfigOptions, log log.Logger) (config.Config, error) {
110 return l.LoadWithParser(ctx, localCache, client, NewDefaultParser(), options, log)
111}
112
113// LoadWithParser loads the config with the given parser
114func (l *configLoader) LoadWithParser(ctx context.Context, localCache localcache.Cache, client kubectl.Client, parser Parser, options *ConfigOptions, log log.Logger) (_ config.Config, err error) {

Callers 1

LoadMethod · 0.95

Calls 2

LoadWithParserMethod · 0.95
NewDefaultParserFunction · 0.85

Tested by

no test coverage detected