issueProcessor

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: 7 Imported by: 3 modules, 2 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

View Source
var IssueOpenedActionFuncs []IssueOpenedActionFunc

IssueOpenedActionFuncs defines

Functions

func Register

func Register(a IssueOpenedActionFunc)

Register registers IssueOpenedActionFunc

Types

type IssueOpenedActionFunc

type IssueOpenedActionFunc func(issue *github.Issue) []string

IssueOpenedActionFunc defines

type IssueProcessor

type IssueProcessor struct {
	Client     *gh.Client
	Translator translators.Translator
	Owner      string
	Repo       string
}

IssueProcessor is

func (*IssueProcessor) ActToIssueEdited

func (fIP *IssueProcessor) ActToIssueEdited(issue *github.Issue) error

ActToIssueEdited acts to edited issue This function covers the following part: generate labels; attach comments; assign issue to specific user;

func (*IssueProcessor) ActToIssueLabeled

func (ip *IssueProcessor) ActToIssueLabeled(issue *github.Issue) error

ActToIssueLabeled acts to issue labeled events

func (*IssueProcessor) ActToIssueOpened

func (ip *IssueProcessor) ActToIssueOpened(issue *github.Issue) error

ActToIssueOpened acts to opened issue This function covers the following part: generate labels; attach comments; assign issue to specific user;

func (*IssueProcessor) Process

func (ip *IssueProcessor) Process(data []byte) error

Process processes

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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