MCPcopy
hub / github.com/containerd/containerd / SetChildrenLabels

Function SetChildrenLabels

core/images/handlers.go:235–237  ·  view source on GitHub ↗

SetChildrenLabels is a handler wrapper which sets labels for the content on the children returned by the handler and passes through the children. Must follow a handler that returns the children to be labeled.

(manager content.Manager, f HandlerFunc)

Source from the content-addressed store, hash-verified

233// the children returned by the handler and passes through the children.
234// Must follow a handler that returns the children to be labeled.
235func SetChildrenLabels(manager content.Manager, f HandlerFunc) HandlerFunc {
236 return SetChildrenMappedLabels(manager, f, nil)
237}
238
239// SetChildrenMappedLabels is a handler wrapper which sets labels for the content on
240// the children returned by the handler and passes through the children.

Callers 1

ImportMethod · 0.92

Calls 1

SetChildrenMappedLabelsFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…