package
0.2.0
Repository: https://github.com/gitops-tools/pkg.git
Documentation: pkg.go.dev

# Functions

NameGenerator is an option func for the Updater creation function.
New creates and returns a new Updater.
ReplaceContents is a ContentUpdater that replaces the content of file with the provided body.
UpdateYAML is a ContentUpdater that updates a YAML file using a key and new value, they key can be a dotted path.

# Structs

CommitInput is used to configure the commit and pull request.
PullRequestInput provides configuration for the PullRequest to be opened.
Updater can update a Git repo with an updated version of a file.

# Interfaces

GitUpdater defines the way to apply changes to files in Git.

# Type aliases

ContentUpdater takes an existing body, it should transform it, and return the updated body.
UpdaterFunc is an option for for creating new Updaters.