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: 0

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