Versions in this module Expand all Collapse all v1 v1.0.0 Oct 28, 2020 Changes in this version + type AllowName struct + CreatedAt time.Time + ID int + Owner string + Repo string + Username string + type ApproveRecord struct + CreatedAt string + Github string + ID int + Owner string + Repo string + type BlockName struct + CreatedAt time.Time + ID int + Owner string + Repo string + Username string + type PrLimit interface + AddAllowList func(username string) error + AddBlockList func(username string) error + GetAllowList func() ([]string, error) + GetBlockList func() ([]string, error) + ProcessPullRequestEvent func(event *github.PullRequestEvent) + Ready func() + RemoveAllowList func(username string) error + RemoveBlockList func(username string) error + func Init(repo *config.RepoConfig, opr *operator.Operator) PrLimit