MCPcopy
hub / github.com/containerd/containerd / Start

Method Start

cmd/containerd/server/server.go:260–267  ·  view source on GitHub ↗

Start the services, this will normally start listening on sockets and serving requests.

(ctx context.Context)

Source from the content-addressed store, hash-verified

258// Start the services, this will normally start listening on sockets
259// and serving requests.
260func (s *Server) Start(ctx context.Context) error {
261 for _, srv := range s.servers {
262 if err := srv.Start(ctx); err != nil {
263 return err
264 }
265 }
266 return nil
267}
268
269// Stop the containerd server canceling any open connections
270func (s *Server) Stop() {

Callers 1

AppFunction · 0.95

Calls 1

StartMethod · 0.65

Tested by

no test coverage detected