pullRequestProcessor

package
v0.0.0-...-25a8327 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 22, 2019 License: Apache-2.0 Imports: 9 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type PullRequestProcessor

type PullRequestProcessor struct {
	Client *gh.Client
	Owner  string
	Repo   string
}

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

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL