MCPcopy
hub / github.com/containerd/containerd / gcnode

Function gcnode

core/metadata/gc.go:1111–1117  ·  view source on GitHub ↗
(t gc.ResourceType, ns, key string)

Source from the content-addressed store, hash-verified

1109}
1110
1111func gcnode(t gc.ResourceType, ns, key string) gc.Node {
1112 return gc.Node{
1113 Type: t,
1114 Namespace: ns,
1115 Key: key,
1116 }
1117}

Callers 9

startGCContextFunction · 0.70
scanRootsMethod · 0.70
referencesMethod · 0.70
scanAllMethod · 0.70
TestGCRootsFunction · 0.70
TestGCRemoveFunction · 0.70
TestGCRefsFunction · 0.70
TestCollectibleResourcesFunction · 0.70
TestMetadataCollectorFunction · 0.70

Calls

no outgoing calls

Tested by 5

TestGCRootsFunction · 0.56
TestGCRemoveFunction · 0.56
TestGCRefsFunction · 0.56
TestCollectibleResourcesFunction · 0.56
TestMetadataCollectorFunction · 0.56

Used in the wild real call sites across dependent graphs

searching dependent graphs…