NewNamespaceStore returns a store backed by a bolt DB
(tx *bolt.Tx)
| 35 | |
| 36 | // NewNamespaceStore returns a store backed by a bolt DB |
| 37 | func NewNamespaceStore(tx *bolt.Tx) namespaces.Store { |
| 38 | return &namespaceStore{tx: tx} |
| 39 | } |
| 40 | |
| 41 | func (s *namespaceStore) Create(ctx context.Context, namespace string, labels map[string]string) error { |
| 42 | topbkt, err := createBucketIfNotExists(s.tx, bucketKeyVersion) |
no outgoing calls
searching dependent graphs…