 Documentation
      ¶
      Documentation
      ¶
    
    
  
    
  
    Index ¶
Constants ¶
This section is empty.
Variables ¶
Functions ¶
func NewBucket ¶
func NewBucket(logger log.Logger, confContentYaml []byte, reg prometheus.Registerer, component string) (objstore.Bucket, error)
NewBucket initializes and returns new object storage clients. NOTE: confContentYaml can contain secrets.
Types ¶
type BucketConfig ¶ added in v0.2.1
type BucketConfig struct {
	Type   ObjProvider `yaml:"type"`
	Config interface{} `yaml:"config"`
}
    type ObjProvider ¶ added in v0.2.1
type ObjProvider string
const ( GCS ObjProvider = "GCS" S3 ObjProvider = "S3" AZURE ObjProvider = "AZURE" SWIFT ObjProvider = "SWIFT" )
       Source Files
      ¶
      Source Files
      ¶
    
- factory.go
 Click to show internal directories. 
   Click to hide internal directories.