Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BucketConfig ¶
type BucketConfig struct { Type ObjProvider `yaml:"type"` Config interface{} `yaml:"config"` Prefix string `yaml:"prefix,omitempty"` }
func (BucketConfig) String ¶
func (c BucketConfig) String() string
String returns a string representation of the BucketConfig as YAML. We use "gopkg.in/yaml.v2" instead of "github.com/ghodss/yaml" for correct formatting of this config.
type ObjProvider ¶
type ObjProvider string
const ( FILESYSTEM ObjProvider = "FILESYSTEM" GCS ObjProvider = "GCS" S3 ObjProvider = "S3" AZURE ObjProvider = "AZURE" SWIFT ObjProvider = "SWIFT" COS ObjProvider = "COS" ALIYUNOSS ObjProvider = "ALIYUNOSS" BOS ObjProvider = "BOS" OCI ObjProvider = "OCI" OBS ObjProvider = "OBS" )
Click to show internal directories.
Click to hide internal directories.