MCPcopy Create free account
hub / github.com/chainloop-dev/chainloop / WithDescription

Function WithDescription

pkg/cache/cache.go:82–84  ·  view source on GitHub ↗

WithDescription sets the NATS KV bucket description. Ignored for in-memory backend.

(desc string)

Source from the content-addressed store, hash-verified

80
81// WithDescription sets the NATS KV bucket description. Ignored for in-memory backend.
82func WithDescription(desc string) Option {
83 return func(c *config) { c.description = desc }
84}
85
86// WithReplicas sets the number of JetStream KV replicas for the NATS bucket.
87// Defaults to 1 if not set. Set to match the cluster size (e.g. 3) for

Callers 6

NewFunction · 0.92
NewFunction · 0.92
newClaimsCacheFunction · 0.92
newMembershipsCacheFunction · 0.92
newClaimsCacheFunction · 0.92
newMembershipsCacheFunction · 0.92

Calls

no outgoing calls

Tested by

no test coverage detected