Client is the client to interact with containerd and its various services using a uniform interface
| 219 | // Client is the client to interact with containerd and its various services |
| 220 | // using a uniform interface |
| 221 | type Client struct { |
| 222 | services |
| 223 | connMu sync.Mutex |
| 224 | conn *grpc.ClientConn |
| 225 | defaultns string |
| 226 | platform platforms.MatchComparer |
| 227 | connector func() (*grpc.ClientConn, error) |
| 228 | |
| 229 | // this should only be accessed via default*() functions |
| 230 | defaults struct { |
| 231 | runtime string |
| 232 | sandboxer string |
| 233 | mut sync.Mutex |
| 234 | } |
| 235 | } |
| 236 | |
| 237 | // Reconnect re-establishes the GRPC connection to the containerd daemon |
| 238 | func (c *Client) Reconnect() error { |
nothing calls this directly
no outgoing calls
no test coverage detected