Start the services, this will normally start listening on sockets and serving requests.
(ctx context.Context)
| 258 | // Start the services, this will normally start listening on sockets |
| 259 | // and serving requests. |
| 260 | func (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 |
| 270 | func (s *Server) Stop() { |