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

Function container

core/metadata/db_test.go:840–849  ·  view source on GitHub ↗
(id, s string, l ...string)

Source from the content-addressed store, hash-verified

838}
839
840func container(id, s string, l ...string) object {
841 return object{
842 data: testContainer{
843 id: id,
844 snapshot: s,
845 },
846 removed: false,
847 labels: labelmap(l...),
848 }
849}
850
851func lease(id string, refs []leases.Resource, r bool, l ...string) object {
852 return object{

Callers 2

TestMetadataCollectorFunction · 0.70
benchmarkTriggerFunction · 0.70

Calls 1

labelmapFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…