{"modulePath":"github.com/step-security/codeowners-validator","version":"v0.7.4","isLatest":true,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package runner\n\n## Constants\n\n```go\nconst (\n\t// MaxUint defines the max unsigned int value.\n\tMaxUint = ^uint(0)\n\t// MaxInt defines the max signed int value.\n\tMaxInt = int(MaxUint \u003e\u003e 1)\n)\n```\n\n## Types\n\n```go\ntype CheckRunner struct {\n\t// contains filtered or unexported fields\n}\n```\nCheckRunner runs all registered checks in parallel. Needs to be initialized via NewCheckRunner func.\n\n```go\nfunc NewCheckRunner(log logrus.FieldLogger, co []codeowners.Entry, repoPath string, treatedAsFailure check.SeverityType, checks ...check.Checker) *CheckRunner\n```\nNewCheckRunner is a constructor for CheckRunner\n\n```go\nfunc (r *CheckRunner) Run(ctx context.Context)\n```\nRun executes given test in a loop with given throttle\n\n```go\nfunc (r *CheckRunner) ShouldExitWithCheckFailure() bool\n```\n\n```go\ntype Printer interface {\n\tPrintCheckResult(checkName string, duration time.Duration, checkOut check.Output, err error)\n\tPrintSummary(allCheck int, failedChecks int)\n}\n```\nPrinter prints the checks results\n\n","path":"github.com/step-security/codeowners-validator/internal/runner","name":"runner","synopsis":"","isRedistributable":true}
