MCPcopy Create free account
hub / github.com/devspace-sh/devspace / Parse

Method Parse

pkg/devspace/config/loader/parser.go:30–33  ·  view source on GitHub ↗
(ctx context.Context, originalRawConfig map[string]interface{}, rawConfig map[string]interface{}, resolver variable.Resolver, log log.Logger)

Source from the content-addressed store, hash-verified

28type defaultParser struct{}
29
30func (d *defaultParser) Parse(ctx context.Context, originalRawConfig map[string]interface{}, rawConfig map[string]interface{}, resolver variable.Resolver, log log.Logger) (*latest.Config, map[string]interface{}, error) {
31 // delete the commands, since we don't need it in a normal scenario
32 return fillVariablesExcludeAndParse(ctx, resolver, rawConfig, log)
33}
34
35func NewCommandsPipelinesParser() Parser {
36 return &commandsPipelinesParser{}

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected