MCPcopy
hub / github.com/oauth2-proxy/oauth2-proxy / Verifiable

Interface Verifiable

pkg/middleware/readynesscheck.go:13–15  ·  view source on GitHub ↗

Verifiable an interface for an object that has a connection to external data source and exports a function to validate that connection

Source from the content-addressed store, hash-verified

11// Verifiable an interface for an object that has a connection to external
12// data source and exports a function to validate that connection
13type Verifiable interface {
14 VerifyConnection(context.Context) error
15}
16
17// NewReadynessCheck returns a middleware that performs deep health checks
18// (verifies the connection to any underlying store) on a specific `path`

Callers 1

readynessCheckFunction · 0.65

Implementers 6

Managerpkg/sessions/persistence/manager.go
SessionStorepkg/sessions/cookie/session_store.go
MockStorepkg/sessions/tests/mock_store.go
SessionStorepkg/sessions/redis/redis_store.go
fakeSessionStorepkg/middleware/stored_session_test.go
fakeVerifiablepkg/middleware/readynesscheck_test.go

Calls

no outgoing calls

Tested by

no test coverage detected