Documentation ¶
Overview ¶
Package checkers contain pre built checkers to validate CODEOWNER files
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Access ¶ added in v0.3.0
type Access struct{}
Access represents checker to validate if an owner has access to repo
func (Access) NewValidator ¶ added in v0.3.0
func (c Access) NewValidator(options codeowners.ValidatorOptions) codeowners.Validator
NewValidator returns validating capabilities for this checker
type InvalidOwner ¶ added in v0.2.3
type InvalidOwner struct { }
InvalidOwner represents checker to decide validate owners in each of CODEOWNERS lines
func (InvalidOwner) NewValidator ¶ added in v0.3.0
func (c InvalidOwner) NewValidator(options codeowners.ValidatorOptions) codeowners.Validator
NewValidator returns validating capabilities for this checker
type NoOwner ¶
type NoOwner struct{}
NoOwner represents checker to decide validate presence of owners in each of CODEOWNERS lines
func (NoOwner) NewValidator ¶ added in v0.3.0
func (c NoOwner) NewValidator(options codeowners.ValidatorOptions) codeowners.Validator
NewValidator returns validating capabilities for this checker
Click to show internal directories.
Click to hide internal directories.