Documentation ¶
Index ¶
- Constants
- type GitHub
- func (g *GitHub) CommentToPullRequest(ctx context.Context, pr models.PullRequest, comment string) error
- func (g *GitHub) GetPullRequest(ctx context.Context, appRepoTarget models.AppRepoTarget, prNum int) (models.PullRequest, error)
- func (g *GitHub) ListOpenPullRequests(ctx context.Context, appRepoTarget models.AppRepoTarget) (models.PullRequests, error)
- func (g *GitHub) WithCredential(credential models.GitCredential) error
Constants ¶
View Source
const CandidateLabelName = "candidate-template"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GitHub ¶
type GitHub struct {
// contains filtered or unexported fields
}
func (*GitHub) CommentToPullRequest ¶
func (*GitHub) GetPullRequest ¶
func (g *GitHub) GetPullRequest(ctx context.Context, appRepoTarget models.AppRepoTarget, prNum int) (models.PullRequest, error)
func (*GitHub) ListOpenPullRequests ¶
func (g *GitHub) ListOpenPullRequests(ctx context.Context, appRepoTarget models.AppRepoTarget) (models.PullRequests, error)
func (*GitHub) WithCredential ¶
func (g *GitHub) WithCredential(credential models.GitCredential) error
Click to show internal directories.
Click to hide internal directories.