Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CreatePRContext ¶ added in v0.5.0
type CreatePRContext struct {
Config *config.Config
Package config.Package
Version string
JiraIssue string
DryRun bool
IsPost bool
PullRequests []github.PullRequest
Error error
}
CreatePRContext is the html/template context used when templating the "create PR" page.
type CreatePRRequest ¶ added in v0.5.0
type CreatePRRequest struct {
Version string `form:"version"`
JiraIssue string `form:"jiraIssue"`
PRCreate bool `form:"prCreate"`
}
CreatePRRequest is the query or form data pushed by the web.
type HTTPServer ¶
type HTTPServer struct {
// contains filtered or unexported fields
}
func (HTTPServer) Serve ¶
func (s HTTPServer) Serve() error
type Release ¶
type Release struct {
Provider string `json:"provider"`
Project string `json:"project"`
Version string `json:"version"`
}
Release object unmarshaled from the newreleases.io webhook. Some fields omitted for simplicity, refer to the documentation at https://newreleases.io/webhooks
func (Release) IssueSummary ¶
Generates a Textual summary for the release, intended to be used as the Jira issue summary
type TemplateContextError ¶
type TemplateContextError struct {
patch.TemplateContext
Error string
}
type TemplateContextPullRequests ¶
type TemplateContextPullRequests struct {
patch.TemplateContext
PullRequests []github.PullRequest
}
type TemplateContextURL ¶ added in v0.5.0
type TemplateContextURL struct {
patch.TemplateContext
URL *url.URL
}
Click to show internal directories.
Click to hide internal directories.