MCPcopy
hub / github.com/akuity/kargo / StepRunner

Interface StepRunner

pkg/promotion/promotion.go:18–24  ·  view source on GitHub ↗

StepRunner is an interface for components that implement the logic for execution of an individual Step in a user-defined promotion process.

Source from the content-addressed store, hash-verified

16// StepRunner is an interface for components that implement the logic for
17// execution of an individual Step in a user-defined promotion process.
18type StepRunner interface {
19 // Run executes an individual Step from a user-defined promotion process
20 // using the provided StepContext. Implementations may indirectly modify
21 // that context through the returned StepResult to allow StepRunners of
22 // subsequent Steps to access the results of this execution.
23 Run(context.Context, *StepContext) (StepResult, error)
24}
25
26// Context is the context of a user-defined promotion process that is executed
27// by the Engine.

Callers 8

TestParseNamePatternFunction · 0.65
TestParsePathPatternFunction · 0.65
TestMatchersFunction · 0.65
TestGlobMatcherFunction · 0.65
TestRegexpMatcherFunction · 0.65
TestBaseDirMatcherFunction · 0.65
TestExactMatcherFunction · 0.65
TestConfig_DeepCopyFunction · 0.65

Implementers 15

collectorpkg/garbage/collector.go
MockStepRunnerpkg/promotion/mock_step_runner.go
kustomizeImageSetterpkg/promotion/runner/builtin/kustomize
httpDownloaderpkg/promotion/runner/builtin/http_down
gitClonerpkg/promotion/runner/builtin/git_clone
gitTreeClearerpkg/promotion/runner/builtin/git_tree_
helmTemplateRunnerpkg/promotion/runner/builtin/helm_temp
gitTagTaggerpkg/promotion/runner/builtin/git_tagge
yamlUpdaterpkg/promotion/runner/builtin/yaml_upda
tomlUpdaterpkg/promotion/runner/builtin/toml_upda
gitCommitterpkg/promotion/runner/builtin/git_commi
helmChartUpdaterpkg/promotion/runner/builtin/helm_char

Calls

no outgoing calls

Tested by

no test coverage detected