MCPcopy Index your code
hub / github.com/chainloop-dev/chainloop / Set

Method Set

pkg/cache/cache.go:30–30  ·  view source on GitHub ↗
(ctx context.Context, key string, value T)

Source from the content-addressed store, hash-verified

28type Cache[T any] interface {
29 Get(ctx context.Context, key string) (T, bool, error)
30 Set(ctx context.Context, key string, value T) error
31 Delete(ctx context.Context, key string) error
32 Purge(ctx context.Context) error
33}

Callers 15

TestNATSKV_GetSetDeleteFunction · 0.65
TestNATSKV_TTLExpirationFunction · 0.65
LoadMethod · 0.65
LoadMethod · 0.65
fetchGitHubReviewsFunction · 0.65

Calls

no outgoing calls