Documentation ¶
Index ¶
- type CustomTransport
- type GitHubReleaseOptions
- type MonitorService
- type MonitorServiceName
- type NewVersionResults
- type Options
- type PackageOptions
- type QueryReleaseData
- type QueryReleasesResponse
- type QueryTagsData
- type QueryTagsResponse
- type ReleaseMonitorVersions
- type Releases
- type Repo
- type RepoInfo
- type RepoQuery
- type ResponseError
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CustomTransport ¶ added in v0.1.3
type CustomTransport struct { Transport http.RoundTripper Token string }
type GitHubReleaseOptions ¶
type GitHubReleaseOptions struct { GitHubHTTPClient *http2.RLHTTPClient Logger *log.Logger PackageConfigs map[string]*melange.Packages // hash is used to create graphql queries, maintain a map of associated configs ConfigsByHash map[string]config.Configuration ErrorMessages map[string]string }
func NewGitHubReleaseOptions ¶
func NewGitHubReleaseOptions(packageConfigs map[string]*melange.Packages, ghClient *http2.RLHTTPClient) GitHubReleaseOptions
type MonitorService ¶
type MonitorService struct { Client *http2.RLHTTPClient Logger *log.Logger DataMapperURL string }
type MonitorServiceName ¶
type MonitorServiceName int
type NewVersionResults ¶
type Options ¶
type Options struct { PackageNames []string PackageConfigs map[string]*melange.Packages PullRequestBaseBranch string PullRequestTitle string RepoURI string DefaultBranch string Batch bool DryRun bool ReleaseMonitoringQuery bool GithubReleaseQuery bool UseGitSign bool CreateIssues bool ReleaseMonitorClient *http2.RLHTTPClient Logger *log.Logger GitHubHTTPClient *http2.RLHTTPClient ErrorMessages map[string]string IssueLabels []string MaxRetries int }
func (*Options) GetLatestVersions ¶
type PackageOptions ¶
type PackageOptions struct { PackageName string PackageConfig map[string]*melange.Packages PullRequestBaseBranch string TargetRepo string Version string Epoch string Advisories bool DryRun bool UseGitSign bool Logger *log.Logger GithubClient *github.Client }
func NewPackageOptions ¶
func NewPackageOptions() PackageOptions
NewPackageOptions initialise clients
func (*PackageOptions) UpdatePackageCmd ¶
func (o *PackageOptions) UpdatePackageCmd() error
type QueryReleaseData ¶
type QueryReleaseData struct {
RepoList []RepoQuery
}
type QueryReleasesResponse ¶
type QueryTagsData ¶
type QueryTagsData struct {
RepoList []RepoQuery
}
type QueryTagsResponse ¶
type ReleaseMonitorVersions ¶
type Releases ¶
type Releases struct { RepositoryCount int `json:"repositoryCount"` Owner struct { Login string `json:"login"` } `json:"owner"` Name string `json:"name"` NameWithOwner string `json:"nameWithOwner"` Releases struct { TotalCount int `json:"totalCount"` Nodes []struct { Tag struct { Name string `json:"name"` Target struct { CommitURL string `json:"commitUrl"` } `json:"target"` } `json:"tag"` Name string `json:"name"` IsPrerelease bool `json:"isPrerelease"` IsDraft bool `json:"isDraft"` IsLatest bool `json:"isLatest"` } `json:"nodes"` } `json:"releases"` }
type ResponseError ¶
type ResponseError struct { Errors []struct { Type string `json:"type"` Path []string `json:"path"` Extensions struct { SamlFailure bool `json:"saml_failure"` } `json:"extensions"` Locations []struct { Line int `json:"line"` Column int `json:"column"` } `json:"locations"` Message string `json:"message"` } `json:"errors"` }
Click to show internal directories.
Click to hide internal directories.