contributor

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Oct 28, 2020 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 ApproveRecord

type ApproveRecord struct {
	ID        int    `gorm:"column:id"`
	Owner     string `gorm:"column:owner"`
	Repo      string `gorm:"column:repo"`
	Github    string `gorm:"column:github"`
	CreatedAt string `gorm:"column:created_at"`
}

type Contributor

type Contributor struct {
	sync.Mutex
	// contains filtered or unexported fields
}

Contributor struct

func Init

func Init(repo *config.RepoConfig, opr *operator.Operator) *Contributor

Init create contributor middleware instance

func (*Contributor) ProcessPullRequestEvent

func (c *Contributor) ProcessPullRequestEvent(event *github.PullRequestEvent)

func (*Contributor) Ready

func (c *Contributor) Ready()

Jump to

Keyboard shortcuts

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