MCPcopy Index your code
hub / github.com/containerd/containerd / getContainersBucket

Function getContainersBucket

core/metadata/buckets.go:245–247  ·  view source on GitHub ↗
(tx *bolt.Tx, namespace string)

Source from the content-addressed store, hash-verified

243}
244
245func getContainersBucket(tx *bolt.Tx, namespace string) *bolt.Bucket {
246 return getBucket(tx, bucketKeyVersion, []byte(namespace), bucketKeyObjectContainers)
247}
248
249func getContainerBucket(tx *bolt.Tx, namespace, id string) *bolt.Bucket {
250 return getBucket(tx, bucketKeyVersion, []byte(namespace), bucketKeyObjectContainers, []byte(id))

Callers 4

ListMethod · 0.85
UpdateMethod · 0.85
DeleteMethod · 0.85
listNsMethod · 0.85

Calls 1

getBucketFunction · 0.70

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…