github.com/muhammadn/cortex@v1.9.1-0.20220510110439-46bb7000d03d/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  }