github.com/yankunsam/loki/v2@v2.6.3-0.20220817130409-389df5235c27/pkg/storage/bucket/filesystem/bucket_client.go (about) 1 package filesystem 2 3 import ( 4 "github.com/thanos-io/thanos/pkg/objstore" 5 "github.com/thanos-io/thanos/pkg/objstore/filesystem" 6 ) 7 8 // NewBucketClient creates a new filesystem bucket client 9 func NewBucketClient(cfg Config) (objstore.Bucket, error) { 10 return filesystem.NewBucket(cfg.Directory) 11 }