MCPcopy
hub / github.com/containerd/containerd / lease

Function lease

core/metadata/db_test.go:851–860  ·  view source on GitHub ↗
(id string, refs []leases.Resource, r bool, l ...string)

Source from the content-addressed store, hash-verified

849}
850
851func lease(id string, refs []leases.Resource, r bool, l ...string) object {
852 return object{
853 data: testLease{
854 id: id,
855 refs: refs,
856 },
857 removed: r,
858 labels: labelmap(l...),
859 }
860}
861
862type testContent struct {
863 data []byte

Callers 1

TestMetadataCollectorFunction · 0.85

Calls 1

labelmapFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…