ContainerService returns the underlying container Store
()
| 698 | |
| 699 | // ContainerService returns the underlying container Store |
| 700 | func (c *Client) ContainerService() containers.Store { |
| 701 | if c.containerStore != nil { |
| 702 | return c.containerStore |
| 703 | } |
| 704 | c.connMu.Lock() |
| 705 | defer c.connMu.Unlock() |
| 706 | return NewRemoteContainerStore(containersapi.NewContainersClient(c.conn)) |
| 707 | } |
| 708 | |
| 709 | // ContentStore returns the underlying content Store |
| 710 | func (c *Client) ContentStore() content.Store { |