MCPcopy
hub / github.com/containerd/containerd / WithEventsPublisher

Function WithEventsPublisher

core/metadata/db.go:67–71  ·  view source on GitHub ↗

WithEventsPublisher adds an events publisher to the metadata db to directly publish events

(p events.Publisher)

Source from the content-addressed store, hash-verified

65// WithEventsPublisher adds an events publisher to the
66// metadata db to directly publish events
67func WithEventsPublisher(p events.Publisher) DBOpt {
68 return func(o *dbOptions) {
69 o.publisher = p
70 }
71}
72
73// dbOptions configure db options.
74type dbOptions struct {

Callers 1

initFunction · 0.92

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…