config

package
v1.0.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 1, 2024 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GitXargsConfig

type GitXargsConfig struct {
	Draft                         bool
	DryRun                        bool
	SkipPullRequests              bool
	SkipArchivedRepos             bool
	MaxConcurrentRepos            int
	BranchName                    string
	BaseBranchName                string
	CommitMessage                 string
	PullRequestTitle              string
	PullRequestDescription        string
	Reviewers                     []string
	TeamReviewers                 []string
	ReposFile                     string
	GithubOrg                     string
	RepoSlice                     []string
	RepoFromStdIn                 []string
	Args                          []string
	GithubClient                  auth.GithubClient
	GitClient                     local.GitClient
	Stats                         *stats.RunStats
	PRChan                        chan types.OpenPrRequest
	SecondsToSleepBetweenPRs      int
	PullRequestRetries            int
	SecondsToSleepWhenRateLimited int
	CloneJobsLimiter              chan struct{}
	NoSkipCI                      bool
	RetainLocalRepos              bool
	Ticker                        *time.Ticker
}

GitXargsConfig is the internal representation of a given git-xargs run as specified by the user

func NewGitXargsConfig

func NewGitXargsConfig() *GitXargsConfig

NewGitXargsConfig sets reasonable defaults for a GitXargsConfig and returns a pointer to the config

func NewGitXargsTestConfig

func NewGitXargsTestConfig() *GitXargsConfig

func (*GitXargsConfig) HasReviewers

func (c *GitXargsConfig) HasReviewers() bool

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL