Documentation ¶
Overview ¶
Package update provides the updaters that change content in the git repositories
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Updater ¶
type Updater interface { // Update updates the repository cloned at the given path, and returns true if changes have been made Update(ctx context.Context, repoPath string) (bool, error) // Message returns the default title and body that should be used in the commits / pull requests Message() (title, body string) // String returns a string representation of the updater String() string }
Updater updates a git repository
Directories ¶
Path | Synopsis |
---|---|
Package exec provides an updater that executes an external command to update the repository.
|
Package exec provides an updater that executes an external command to update the repository. |
Package helm provides an updater that updates Helm charts dependencies.
|
Package helm provides an updater that updates Helm charts dependencies. |
Package regex provides an updater that uses a regex to update files.
|
Package regex provides an updater that uses a regex to update files. |
Package sops provides an updater that uses the sops lib to update sops-encrypted files.
|
Package sops provides an updater that uses the sops lib to update sops-encrypted files. |
Package value provides diffferent implementations to retrieve the value to replace while updating files.
|
Package value provides diffferent implementations to retrieve the value to replace while updating files. |
Package yaml provides an updater that uses the yq lib to update YAML files.
|
Package yaml provides an updater that uses the yq lib to update YAML files. |
Package yq provides an updater that uses the yq lib to manipulate YAML (or JSON) files.
|
Package yq provides an updater that uses the yq lib to manipulate YAML (or JSON) files. |
Click to show internal directories.
Click to hide internal directories.