scorecard/clients/localdir
Spencer Schrock 6d8f701a9d
⚠️ Simplify RunScorecard with functional optionals (#4106)
* add options for other clients

Signed-off-by: Spencer Schrock <sschrock@google.com>

* set clients to defaults if not provided?

Signed-off-by: Spencer Schrock <sschrock@google.com>

* fix shadowing

Signed-off-by: Spencer Schrock <sschrock@google.com>

* call the underlying run function

Signed-off-by: Spencer Schrock <sschrock@google.com>

* add package client

Signed-off-by: Spencer Schrock <sschrock@google.com>

* run all checks if no checks or probes provided

Signed-off-by: Spencer Schrock <sschrock@google.com>

* add WithProbes option

Signed-off-by: Spencer Schrock <sschrock@google.com>

* make github repo type public

Signed-off-by: Spencer Schrock <sschrock@google.com>

* make gitlab repo type public

Signed-off-by: Spencer Schrock <sschrock@google.com>

* make local repo type public

Signed-off-by: Spencer Schrock <sschrock@google.com>

* switch WithChecks to accepting []string

Signed-off-by: Spencer Schrock <sschrock@google.com>

* fix linter

Signed-off-by: Spencer Schrock <sschrock@google.com>

* fix linter

Signed-off-by: Spencer Schrock <sschrock@google.com>

---------

Signed-off-by: Spencer Schrock <sschrock@google.com>
2024-06-10 15:59:29 -07:00
..
testdata/repo0 Implement local repo client for local folders (#1146) 2021-10-28 18:30:02 +00:00
client_test.go ⚠️ Replace v4 module references with v5 (#4027) 2024-04-12 14:51:50 -07:00
client.go ⚠️ Simplify RunScorecard with functional optionals (#4106) 2024-06-10 15:59:29 -07:00
repo.go ⚠️ Simplify RunScorecard with functional optionals (#4106) 2024-06-10 15:59:29 -07:00