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

Function RegisterProcessor

core/diff/stream.go:44–46  ·  view source on GitHub ↗

RegisterProcessor registers a stream processor for media-types

(handler Handler)

Source from the content-addressed store, hash-verified

42
43// RegisterProcessor registers a stream processor for media-types
44func RegisterProcessor(handler Handler) {
45 handlers = append(handlers, handler)
46}
47
48// GetProcessor returns the processor for a media-type
49func GetProcessor(ctx context.Context, stream StreamProcessor, payloads map[string]typeurl.Any) (StreamProcessor, error) {

Callers 2

NewFunction · 0.92
initFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…