Documentation ¶
Index ¶
- type PullRequestProcessor
- func (prp *PullRequestProcessor) ActToPREdited(pr *github.PullRequest) error
- func (prp *PullRequestProcessor) ActToPRLabeled(pr *github.PullRequest) error
- func (prp *PullRequestProcessor) ActToPROpened(pr *github.PullRequest) error
- func (prp *PullRequestProcessor) ActToPRSynchronized(syncPR *github.PullRequest) error
- func (prp *PullRequestProcessor) Process(data []byte) error
- func (prp *PullRequestProcessor) RemoveConflictComment(ctx context.Context, num int) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PullRequestProcessor ¶
PullRequestProcessor is
func (*PullRequestProcessor) ActToPREdited ¶
func (prp *PullRequestProcessor) ActToPREdited(pr *github.PullRequest) error
ActToPREdited acts to the event which represents pull request edition.
func (*PullRequestProcessor) ActToPRLabeled ¶
func (prp *PullRequestProcessor) ActToPRLabeled(pr *github.PullRequest) error
ActToPRLabeled acts the event of pull request labeled.
func (*PullRequestProcessor) ActToPROpened ¶
func (prp *PullRequestProcessor) ActToPROpened(pr *github.PullRequest) error
ActToPROpened acts a pull request opened event.
func (*PullRequestProcessor) ActToPRSynchronized ¶
func (prp *PullRequestProcessor) ActToPRSynchronized(syncPR *github.PullRequest) error
ActToPRSynchronized acts to event that a pr is synchronized.
func (*PullRequestProcessor) Process ¶
func (prp *PullRequestProcessor) Process(data []byte) error
Process processes pull request events
func (*PullRequestProcessor) RemoveConflictComment ¶
func (prp *PullRequestProcessor) RemoveConflictComment(ctx context.Context, num int) error
RemoveConflictComment removes a conflict comment for a pull request
Source Files ¶
Click to show internal directories.
Click to hide internal directories.