MCPcopy
hub / github.com/containerd/containerd / RegisterReadiness

Method RegisterReadiness

cmd/containerd/server/server.go:288–293  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

286}
287
288func (s *Server) RegisterReadiness() func() {
289 s.ready.Add(1)
290 return func() {
291 s.ready.Done()
292 }
293}
294
295func (s *Server) Wait() {
296 s.ready.Wait()

Callers 3

NewFunction · 0.80
initCRIServiceFunction · 0.80
initFunction · 0.80

Calls 2

AddMethod · 0.65
DoneMethod · 0.65

Tested by

no test coverage detected