MCPcopy
hub / github.com/tsuru/tsuru / AppCacheService

Interface AppCacheService

types/cache/cache.go:24–28  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

22}
23
24type AppCacheService interface {
25 Create(ctx context.Context, entry CacheEntry) error
26 List(ctx context.Context, keys ...string) ([]CacheEntry, error)
27 FindByName(ctx context.Context, key string) (CacheEntry, error)
28}
29
30type CacheStorage interface {
31 GetAll(ctx context.Context, keys ...string) ([]CacheEntry, error)

Callers

nothing calls this directly

Implementers 10

MockAppCacheServicetypes/cache/cache_mock.go
MockTeamServicetypes/auth/team_mock.go
MockPlanServicetypes/app/plan_mock.go
MockPlatformServicetypes/app/platform_mock.go
MockClusterServicetypes/provision/cluster_mock.go
teamServiceauth/team.go
cacheServiceapp/cache.go
platformServiceapp/platform.go
planServiceapp/plan.go
clusterServiceprovision/cluster/cluster.go

Calls

no outgoing calls

Tested by

no test coverage detected