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

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