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

Function createContainersBucket

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

Source from the content-addressed store, hash-verified

239}
240
241func createContainersBucket(tx *bolt.Tx, namespace string) (*bolt.Bucket, error) {
242 return createBucketIfNotExists(tx, bucketKeyVersion, []byte(namespace), bucketKeyObjectContainers)
243}
244
245func getContainersBucket(tx *bolt.Tx, namespace string) *bolt.Bucket {
246 return getBucket(tx, bucketKeyVersion, []byte(namespace), bucketKeyObjectContainers)

Callers 1

CreateMethod · 0.85

Calls 1

createBucketIfNotExistsFunction · 0.70

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…