NamedDataStore is intentionally not implemented for TestBucket DEPRECATED: Should use GetNamedDataStore
(name sgbucket.DataStoreName)
| 63 | // NamedDataStore is intentionally not implemented for TestBucket |
| 64 | // DEPRECATED: Should use GetNamedDataStore |
| 65 | func (b *TestBucket) NamedDataStore(name sgbucket.DataStoreName) (sgbucket.DataStore, error) { |
| 66 | return b.Bucket.NamedDataStore(name) |
| 67 | } |
| 68 | |
| 69 | func (tb TestBucket) Close(ctx context.Context) { |
| 70 | tb.closeFn(ctx) |