MCPcopy Create free account
hub / github.com/quay/clair / Check

Method Check

middleware/auth/handler.go:12–12  ·  view source on GitHub ↗
(context.Context, *http.Request)

Source from the content-addressed store, hash-verified

10// allowed to continue.
11type Checker interface {
12 Check(context.Context, *http.Request) bool
13}
14
15type handler struct {

Callers 6

TestPSKAuthFunction · 0.65
ServeHTTPMethod · 0.65
CheckMethod · 0.65
ServeHTTPMethod · 0.65
RunMethod · 0.65
TestBase64Function · 0.65

Implementers 2

failmiddleware/auth/handler.go
PSKmiddleware/auth/httpauth_psk.go

Calls

no outgoing calls

Tested by 3

TestPSKAuthFunction · 0.52
RunMethod · 0.52
TestBase64Function · 0.52