MCPcopy
hub / github.com/argoproj/argo-workflows / getParameters

Method getParameters

workflow/controller/scope.go:43–52  ·  view source on GitHub ↗

getParameters returns a map of strings intended to be used simple string substitution

()

Source from the content-addressed store, hash-verified

41
42// getParameters returns a map of strings intended to be used simple string substitution
43func (s *wfScope) getParameters() common.Parameters {
44 params := make(common.Parameters)
45 for key, val := range s.scope {
46 valStr, ok := val.(string)
47 if ok {
48 params[key] = valStr
49 }
50 }
51 return params
52}
53
54func (s *wfScope) addParamToScope(key, val string) {
55 s.scope[key] = val

Callers 8

resolveArtifactMethod · 0.95
executeDAGTaskMethod · 0.80
runOnExitNodeMethod · 0.80
resolveReferencesMethod · 0.80
expandStepMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected