Documentation ¶
Index ¶
- func RebasePushLoop(shell rebaserPusher, retryAttempts int, timeCoefficient time.Duration, ...) error
- func WithWorkingDirectory(dir string) shellOption
- type BackoffFunc
- type GitHubAction
- type GitHubActionInput
- type GitHubActionRuns
- type Shell
- func (s *Shell) GitClone(repo string, dst string) error
- func (s *Shell) GitCommitAll(msg string) error
- func (s *Shell) GitPullRebase() error
- func (s *Shell) GitPush() error
- func (s *Shell) KustomizeEdit(arg string) error
- func (s *Shell) Run(name string, args ...string) error
- func (s *Shell) SetDir(dir string)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RebasePushLoop ¶
func RebasePushLoop(shell rebaserPusher, retryAttempts int, timeCoefficient time.Duration, backoff BackoffFunc) error
func WithWorkingDirectory ¶
func WithWorkingDirectory(dir string) shellOption
Types ¶
type BackoffFunc ¶
type BackoffFunc func(sleepDurations []int)
func ExponentialBackoff ¶
func ExponentialBackoff(base int) BackoffFunc
func RandomBackoff ¶
func RandomBackoff(max int) BackoffFunc
type GitHubAction ¶
type GitHubAction struct { Name string `yaml:"name"` Description string `yaml:"description"` Inputs map[string]GitHubActionInput `yaml:"inputs"` Runs GitHubActionRuns `yaml:"runs"` }
type GitHubActionInput ¶
type GitHubActionRuns ¶
type Shell ¶
type Shell struct {
// contains filtered or unexported fields
}
func (*Shell) GitCommitAll ¶
func (*Shell) GitPullRebase ¶
func (*Shell) KustomizeEdit ¶
Click to show internal directories.
Click to hide internal directories.