Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // ErrGithubRateLimitClose is returned when we are close to a ratelimit ErrGithubRateLimitClose = errors.New("github rate limit is close") // ErrGithubRateLimited is returned when we are close to a ratelimit ErrGithubRateLimited = errors.New("rate limited") // GithubLowRateLimit is the low boundary for rate limits GithubLowRateLimit = 4 )
View Source
var ( // ErrGitlabRateLimitClose is returned when we are close to a ratelimit ErrGitlabRateLimitClose = errors.New("gitlab rate limit is close") // ErrGitlabRateLimited is returned when we are close to a ratelimit ErrGitlabRateLimited = errors.New("rate limited") // GitlabLowRateLimit is the low boundary for rate limits GitlabLowRateLimit = 4 )
Functions ¶
This section is empty.
Types ¶
type GithubRelease ¶
type GithubRelease struct {
// contains filtered or unexported fields
}
GithubRelease contains what is required to get a list of release from Github
type GitlabRelease ¶ added in v0.16.0
type GitlabRelease struct {
// contains filtered or unexported fields
}
GitlabRelease contains what is required to get a list of release from Gitlab
type List ¶
type List struct { Type string `yaml:"type"` Prefix string `yaml:"prefix"` Exclude string `yaml:"exclude"` // exclude versions containing this regex VersionFrom string `yaml:"version_from"` URL string `yaml:"url"` Versions []string }
List contains list definition
Click to show internal directories.
Click to hide internal directories.