MCPcopy
hub / github.com/nats-io/nats.go / DeleteKeyValue

Method DeleteKeyValue

jetstream/kv.go:65–65  ·  view source on GitHub ↗

DeleteKeyValue will delete this KeyValue store. If the KeyValue store with given name does not exist, ErrBucketNotFound will be returned.

(ctx context.Context, bucket string)

Source from the content-addressed store, hash-verified

63 // If the KeyValue store with given name does not exist,
64 // ErrBucketNotFound will be returned.
65 DeleteKeyValue(ctx context.Context, bucket string) error
66
67 // KeyValueStoreNames is used to retrieve a list of key value store
68 // names. It returns a KeyValueNamesLister exposing a channel to read

Callers 4

TestKeyValueDeleteStoreFunction · 0.65
TestKeyValueDeleteStoreFunction · 0.65

Implementers 1

jetStreamjetstream/jetstream.go

Calls

no outgoing calls

Tested by 4

TestKeyValueDeleteStoreFunction · 0.52
TestKeyValueDeleteStoreFunction · 0.52