NewContainerStore returns a Store backed by an underlying bolt DB
(db *DB)
| 47 | |
| 48 | // NewContainerStore returns a Store backed by an underlying bolt DB |
| 49 | func NewContainerStore(db *DB) containers.Store { |
| 50 | return &containerStore{ |
| 51 | db: db, |
| 52 | } |
| 53 | } |
| 54 | |
| 55 | func (s *containerStore) Get(ctx context.Context, id string) (containers.Container, error) { |
| 56 | namespace, err := namespaces.NamespaceRequired(ctx) |
no outgoing calls
searching dependent graphs…