Documentation
¶
Index ¶
Constants ¶
View Source
const ( // MaxUint defines the max unsigned int value. MaxUint = ^uint(0) // MaxInt defines the max signed int value. MaxInt = int(MaxUint >> 1) )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CheckRunner ¶
type CheckRunner struct {
// contains filtered or unexported fields
}
CheckRunner runs all registered checks in parallel. Needs to be initialized via NewCheckRunner func.
func NewCheckRunner ¶
func NewCheckRunner(log logrus.FieldLogger, co []codeowners.Entry, repoPath string, treatedAsFailure check.SeverityType, checks ...check.Checker) *CheckRunner
NewCheckRunner is a constructor for CheckRunner
func (*CheckRunner) Run ¶
func (r *CheckRunner) Run(ctx context.Context)
Run executes given test in a loop with given throttle
func (*CheckRunner) ShouldExitWithCheckFailure ¶ added in v0.2.0
func (r *CheckRunner) ShouldExitWithCheckFailure() bool
Click to show internal directories.
Click to hide internal directories.