Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AllowName ¶
type AllowName struct { ID int `gorm:"id"` Owner string `gorm:"owner"` Repo string `gorm:"repo"` Username string `gorm:" username"` CreatedAt time.Time `gorm:"created_at"` }
AllowName define allow name list database structure
type ApproveRecord ¶
type BlockName ¶
type BlockName struct { ID int `gorm:"id"` Owner string `gorm:"owner"` Repo string `gorm:"repo"` Username string `gorm:" username"` CreatedAt time.Time `gorm:"created_at"` }
BlockName define block name list database structure
type PrLimit ¶
type PrLimit interface { Ready() ProcessPullRequestEvent(event *github.PullRequestEvent) GetAllowList() ([]string, error) AddAllowList(username string) error RemoveAllowList(username string) error GetBlockList() ([]string, error) AddBlockList(username string) error RemoveBlockList(username string) error }
PrLimit defines methods of PR limit module
Click to show internal directories.
Click to hide internal directories.