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

Function resolve

pkg/devspace/config/loader/loader.go:523–531  ·  view source on GitHub ↗
(ctx context.Context, data interface{}, resolver variable.Resolver)

Source from the content-addressed store, hash-verified

521}
522
523func resolve(ctx context.Context, data interface{}, resolver variable.Resolver) (interface{}, error) {
524 _, ok := data.(string)
525 if !ok {
526 return data, nil
527 }
528
529 // find and fill variables
530 return resolver.FillVariables(ctx, data, true)
531}
532
533func (l *configLoader) applyProfiles(ctx context.Context, data map[string]interface{}, options *ConfigOptions, resolver variable.Resolver, log log.Logger) (map[string]interface{}, error) {
534 // Get profile

Callers 3

prepareProfilesFunction · 0.85
buildFunction · 0.85
index.jsFile · 0.85

Calls 1

FillVariablesMethod · 0.65

Tested by

no test coverage detected