Versions in this module Expand all Collapse all v0 v0.2.0 Nov 24, 2023 v0.1.0 Oct 27, 2022 Changes in this version + type CommitInput struct + Branch string + BranchGenerateName string + CommitMessage string + Filename string + NewBranchName string + Repo string + type ContentUpdater func([]byte) ([]byte, error) + func ReplaceContents(b []byte) ContentUpdater + func UpdateYAML(key string, newValue interface{}) ContentUpdater + type GitUpdater interface + ApplyUpdateToFile func(ctx context.Context, input CommitInput, f ContentUpdater) (string, error) + CreatePR func(ctx context.Context, input PullRequestInput) (*scm.PullRequest, error) + type PullRequestInput struct + Body string + NewBranch string + Repo string + SourceBranch string + Title string + type Updater struct + func New(l logr.Logger, c client.GitClient, opts ...UpdaterFunc) *Updater + func (u *Updater) ApplyUpdateToFile(ctx context.Context, input CommitInput, f ContentUpdater) (string, error) + func (u *Updater) CreatePR(ctx context.Context, input PullRequestInput) (*scm.PullRequest, error) + type UpdaterFunc func(u *Updater) + func NameGenerator(g names.Generator) UpdaterFunc