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

Method Get

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

Source from the content-addressed store, hash-verified

27// TTL is configured at construction time, not per-operation.
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

Callers 15

GetMethod · 0.65
TestNATSKV_GetSetDeleteFunction · 0.65
TestNATSKV_TTLExpirationFunction · 0.65
GetMethod · 0.65
validateReaderClientFunction · 0.65
ReadCredentialsMethod · 0.65
AccessSecretVersionMethod · 0.65
AddSecretVersionMethod · 0.65

Calls

no outgoing calls