Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/weaviate/weaviate
/ NewMockAuthorizer
Function
NewMockAuthorizer
usecases/auth/authorization/mocks/authorizer.go:31–33 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
29
}
30
31
func
NewMockAuthorizer() *FakeAuthorizer {
32
return
&FakeAuthorizer{}
33
}
34
35
func
(a *FakeAuthorizer) SetErr(err error) {
36
a.err = err
Callers
15
TestContextualClassifier_Classify
Function · 0.92
Test_ExploreConcepts
Function · 0.92
Test_Traverser_Aggregate
Function · 0.92
TestGet_NestedRefDepthLimit
Function · 0.92
Test_GetClass_WithFilters
Function · 0.92
TestFilter
Function · 0.92
Test_Add_Object_WithNoVectorizerModule
Function · 0.92
Test_Add_Object_Uses_Max_SchemaVersion_For_Write_With_AutoTenant
Function · 0.92
Test_Add_Object_WithExternalVectorizerModule
Function · 0.92
Test_Add_Object_OverrideVectorizer
Function · 0.92
Test_AddObjectEmptyProperties
Function · 0.92
Test_AddObjectWithUUIDProps
Function · 0.92
Calls
no outgoing calls
Tested by
15
TestContextualClassifier_Classify
Function · 0.74
Test_ExploreConcepts
Function · 0.74
Test_Traverser_Aggregate
Function · 0.74
TestGet_NestedRefDepthLimit
Function · 0.74
Test_GetClass_WithFilters
Function · 0.74
TestFilter
Function · 0.74
Test_Add_Object_WithNoVectorizerModule
Function · 0.74
Test_Add_Object_Uses_Max_SchemaVersion_For_Write_With_AutoTenant
Function · 0.74
Test_Add_Object_WithExternalVectorizerModule
Function · 0.74
Test_Add_Object_OverrideVectorizer
Function · 0.74
Test_AddObjectEmptyProperties
Function · 0.74
Test_AddObjectWithUUIDProps
Function · 0.74
Used in the wild
real call sites across dependent graphs
searching dependent graphs…