config

package
v0.1.11 Latest Latest
Warning

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

Go to latest
Published: Nov 30, 2023 License: Apache-2.0 Imports: 8 Imported by: 3

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
	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 added in v0.1.2

func (c *GitXargsConfig) HasReviewers() bool

Jump to

Keyboard shortcuts

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