Discover Packages
gitlab.com/guywithnose/pull-request-parser
config
package
Version:
v0.3.2
Opens a new window with list of versions in this module.
Published: Oct 22, 2017
License: GPL-3.0
Opens a new window with license information.
Imports: 2
Opens a new window with list of imports.
Imported by: ? modules, 0 packages
The first number is the count of modules that contain a package that imports this one.
The module count is a better indicator of popularity than the package count.
A module with 100 importing packages is counted only once instead of 100 times,
reflecting the fact that the choice to use the package was likely made only once,
not 100 times.
A '?' means that the value hasn't been computed yet.
Opens a new window with list of known importers.
Documentation
Documentation
¶
type Profile struct {
TrackedRepos []Repo `json:"trackedRepos,omitempty"`
Token string `json:"token,omitempty"`
APIURL string `json:"apiUrl,omitempty"`
}
Profile defines the structure of pull request parser profile
Update updates values in the profile
type PrpConfig struct {
Profiles map[string ]Profile `json:"profiles,omitempty"`
}
PrpConfig defines the structure of the pull request parser config file
LoadFromFile loads a PrpConfig from a file
Validate makes sure all of the config values are initialized
Write saves a PrpConfig to a file
type Repo struct {
Owner string `json:"owner,omitempty"`
Name string `json:"name,omitempty"`
LocalPath string `json:"localPath,omitempty"`
IgnoredBuilds []string `json:"ignoredBuilds,omitempty"`
}
Repo defines the structure of pull request parser tracked repo entry
Source Files
¶
Click to show internal directories.
Click to hide internal directories.