Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Check ¶
type Check struct {
// contains filtered or unexported fields
}
func NewCheck ¶
func NewCheck(gh CommentSelector) *Check
type CommentFetcher ¶
type CommentPusher ¶
type CommentSelector ¶
type In ¶
type In struct {
// contains filtered or unexported fields
}
func NewIn ¶
func NewIn(gh CommentFetcher) *In
type Out ¶
type Out struct {
// contains filtered or unexported fields
}
func NewOut ¶
func NewOut(gh CommentPusher) *Out
type Request ¶
type Request struct {
Source Source `json:"source"`
Version Version `json:"version"`
Params map[string]string `json:"params"`
}
Request is a generic resource request for check, in and out tasks. Fields are populated per task: check: Source and Version in: Source, Version and Params out: Source and Params
type Response ¶
Response is a generic resource response for in and out tasks.
func (*Response) GetMetadataField ¶
type Source ¶
type Version ¶
type Version struct {
// CommentID is a unique identifier to a GitHub comment on a pull request.
CommentID string `json:"comment_id"`
}
Version represents a single version of a resource.
func VersionFromNumber ¶
VersionFromNumber creates a Version from a uint instead of a string.
Click to show internal directories.
Click to hide internal directories.