Documentation ¶
Index ¶
- type GitHub
- func (gh *GitHub) CommentPR(ctx context.Context, owner, repo string, prNumber int, comment string) (*github.Response, error)
- func (gh *GitHub) ListDeliveries(ctx context.Context, opts *github.ListCursorOptions) ([]*github.HookDelivery, *github.Response, error)
- func (gh *GitHub) RedeliverEvent(ctx context.Context, deliveryID int64) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GitHub ¶
type GitHub struct {
// contains filtered or unexported fields
}
func (*GitHub) CommentPR ¶
func (gh *GitHub) CommentPR(ctx context.Context, owner, repo string, prNumber int, comment string) (*github.Response, error)
CommentPR creates a PR comment.
func (*GitHub) ListDeliveries ¶
func (gh *GitHub) ListDeliveries(ctx context.Context, opts *github.ListCursorOptions) ([]*github.HookDelivery, *github.Response, error)
ListDeliveries lists a paginated result of event deliveries.
Click to show internal directories.
Click to hide internal directories.