Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CommitObject ¶ added in v0.2.1
type CommitObject struct {
ID string
OID string
PushedDate githubv4.DateTime
Message string
Author struct {
User struct {
Login string
}
}
}
CommitObject represents the GraphQL commit node. https://developer.github.com/v4/object/commit/
type MetadataField ¶ added in v0.2.1
MetadataField ...
type PullRequest ¶
type PullRequest struct {
PullRequestObject
Tip CommitObject
}
PullRequest represents a pull request and includes the tip (commit).
type PullRequestObject ¶ added in v0.2.1
type PullRequestObject struct {
ID string
Number int
Title string
URL string
BaseRefName string
HeadRefName string
}
PullRequestObject represents the GraphQL commit node. https://developer.github.com/v4/object/commit/
type Source ¶
type Source struct {
Repository string `json:"repository"`
AccessToken string `json:"access_token"`
Paths []string `json:"path"`
IgnorePaths []string `json:"ignore_path"`
DisableCISkip string `json:"disable_ci_skip"`
}
Source represents the configuration for the resource.
type Version ¶
type Version struct {
PR string `json:"pr"`
Commit string `json:"commit"`
PushedDate time.Time `json:"pushed,omitempty"`
}
Version communicated with Concourse. ID is the Github Global ID.
func NewVersion ¶ added in v0.2.1
func NewVersion(p *PullRequest) Version
NewVersion constructs a new Version.
Click to show internal directories.
Click to hide internal directories.