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

Function getContainerBucket

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

Source from the content-addressed store, hash-verified

247}
248
249func getContainerBucket(tx *bolt.Tx, namespace, id string) *bolt.Bucket {
250 return getBucket(tx, bucketKeyVersion, []byte(namespace), bucketKeyObjectContainers, []byte(id))
251}
252
253func createSnapshotterBucket(tx *bolt.Tx, namespace, snapshotter string) (*bolt.Bucket, error) {
254 bkt, err := createBucketIfNotExists(tx, bucketKeyVersion, []byte(namespace), bucketKeyObjectSnapshots, []byte(snapshotter))

Callers 1

GetMethod · 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…