scorecard/policy
Stephen Augustus (he/him) 7956ff4fe7
Miscellaneous refactors to ease downstream consumption (#1645)
* checker: Add `NewLogger` constructor for `DetailLogger` impl
* checker: Add `NewRunner` constructor for `Runner`
* cmd: Update to use refactored packages
* cmd: Move command flags and validation into an `options` package
* cmd: Move client accessors to `githubrepo` package
* cmd: Move policy and enabled checks to `policy` package
* cmd: Move results formatting to `format` package
* checker: Prefer `Set` prefixes for setters
* checker: Use `DetailLogger` return value for `NewLogger()`
* checker: Add `GetClients` accessor
* Move `FormatResults` to `pkg/`
* checks: Add getter for all checks

Signed-off-by: Stephen Augustus <foo@auggie.dev>
2022-02-27 02:09:21 +00:00
..
testdata Add policy file (#1002) 2021-09-22 16:22:49 +00:00
policy_test.go Miscellaneous refactors to ease downstream consumption (#1645) 2022-02-27 02:09:21 +00:00
policy.go Miscellaneous refactors to ease downstream consumption (#1645) 2022-02-27 02:09:21 +00:00
policy.pb.go Fix golangci-lint issues 2022-02-19 15:56:34 -06:00
policy.proto Add policy file (#1002) 2021-09-22 16:22:49 +00:00