Documentation
¶
Index ¶
Constants ¶
View Source
const ( BasicMode = "basic" PRScanMode = "fetchPR" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Fetcher ¶
type Fetcher struct {
// contains filtered or unexported fields
}
Fetcher represents the configuration and behavior of a fetcher.
func New ¶
func New(pluginName, authType, sshKey, branch string, rmListExts []string, jobs int, logger hclog.Logger) *Fetcher
New creates a new Fetcher instance with the provided configuration.
func (*Fetcher) FetchRepos ¶
func (f *Fetcher) FetchRepos(cfg *config.Config, fetchReqList []shared.VCSFetchRequest) (shared.GenericLaunchesResult, error)
FetchRepos fetches repositories concurrently.
func (*Fetcher) PrepFetchReqList ¶ added in v0.2.0
func (f *Fetcher) PrepFetchReqList(cfg *config.Config, repos []shared.RepositoryParams) ([]shared.VCSFetchRequest, error)
PrepFetchArgs prepares fetch arguments for the repositories.
Click to show internal directories.
Click to hide internal directories.