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

Struct yamlUpdater

pkg/promotion/runner/builtin/yaml_updater.go:30–32  ·  view source on GitHub ↗

yamlUpdater is an implementation of the promotion.StepRunner interface that updates the values of specified keys in a YAML file.

Source from the content-addressed store, hash-verified

28// yamlUpdater is an implementation of the promotion.StepRunner interface that
29// updates the values of specified keys in a YAML file.
30type yamlUpdater struct {
31 schemaLoader gojsonschema.JSONLoader
32}
33
34// newYAMLUpdater returns an implementation of the promotion.StepRunner interface
35// that updates the values of specified keys in a YAML file.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected