ImageService returns the underlying image Store
()
| 747 | |
| 748 | // ImageService returns the underlying image Store |
| 749 | func (c *Client) ImageService() images.Store { |
| 750 | if c.imageStore != nil { |
| 751 | return c.imageStore |
| 752 | } |
| 753 | c.connMu.Lock() |
| 754 | defer c.connMu.Unlock() |
| 755 | return NewImageStoreFromClient(imagesapi.NewImagesClient(c.conn)) |
| 756 | } |
| 757 | |
| 758 | // DiffService returns the underlying Differ |
| 759 | func (c *Client) DiffService() DiffService { |
no test coverage detected