MCPcopy
hub / github.com/weaviate/weaviate / Exister

Interface Exister

usecases/namespaces/controller.go:87–91  ·  view source on GitHub ↗

Exister exposes read-only access to namespace state. Exists matches any state; IsActive excludes the deleting state.

Source from the content-addressed store, hash-verified

85// Exister exposes read-only access to namespace state. Exists matches any
86// state; IsActive excludes the deleting state.
87type Exister interface {
88 Exists(name string) bool
89 IsActive(name string) bool
90 GetNamespace(name string) (cmd.Namespace, bool)
91}
92
93// Controller owns the namespace control-plane state.
94//

Implementers 6

fakeExisterusecases/auth/authentication/oidc/midd
MockExisterusecases/namespaces/mock_exister.go
MockExister_Expecterusecases/namespaces/mock_exister.go
Controllerusecases/namespaces/controller.go
fakeNamespacesExisterusecases/schema/namespace_create_test.
Managercluster/namespaces/namespaces.go

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…