MCPcopy
hub / github.com/weaviate/weaviate / fakeExister

Struct fakeExister

usecases/auth/authentication/oidc/middleware_test.go:413–416  ·  view source on GitHub ↗

fakeExister is a minimal namespaces.Exister stub for classifyPrincipal matrix testing. Names in `known` are active; names in `deleting` exist but are not active.

Source from the content-addressed store, hash-verified

411// matrix testing. Names in `known` are active; names in `deleting` exist
412// but are not active.
413type fakeExister struct {
414 known map[string]struct{}
415 deleting map[string]struct{}
416}
417
418func newFakeExister(names ...string) *fakeExister {
419 m := map[string]struct{}{}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected