MCPcopy
hub / github.com/harness/harness / ExtendedCache

Interface ExtendedCache

cache/cache.go:29–32  ·  view source on GitHub ↗

ExtendedCache is an extension of the simple cache abstraction that adds mapping functionality.

Source from the content-addressed store, hash-verified

27
28// ExtendedCache is an extension of the simple cache abstraction that adds mapping functionality.
29type ExtendedCache[K comparable, V Identifiable[K]] interface {
30 Cache[K, V]
31 Map(ctx context.Context, keys []K) (map[K]V, error)
32}
33
34type Identifiable[K comparable] interface {
35 Identifier() K

Callers 2

sanitizeReferenceQueryFunction · 0.65
getSanitizedMachineNameFunction · 0.65

Implementers 5

UnrelatedHistoriesErrorgit/api/errors.go
GitSignatureResultStoreapp/store/database/git_signature_resul
FavoriteStoreapp/store/database/favorite.go
UserGroupStoreapp/store/database/usergroup.go
Serviceapp/services/settings/service.go

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…