Documentation
¶
Index ¶
Constants ¶
View Source
const ( // S3 represents s3 compiliant storages S3 string = "S3" // GCS represents Google Cloud Storage compiliant storages GCS = "GCS" // Passthrough does not re-sign requests Passthrough = "passthrough" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Shard ¶
type Shard struct {
Storages Storages `yaml:"Storages"`
}
Shard defines shard storages configuration
type Storage ¶
type Storage struct { Backend types.YAMLUrl `yaml:"Backend"` Type string `yaml:"Type"` Maintenance bool `yaml:"Maintenance"` Properties map[string]string `yaml:"Properties"` }
Storage defines backend
type StorageBreakerProperties ¶
type StorageBreakerProperties struct { Name string `yaml:"Name"` BreakerProbeSize int `yaml:"BreakerProbeSize"` BreakerErrorRate float64 `yaml:"BreakerErrorRate"` BreakerCallTimeLimit metrics.Interval `yaml:"BreakerCallTimeLimit"` BreakerCallTimeLimitPercentile float64 `yaml:"BreakerCallTimeLimitPercentile"` BreakerBasicCutOutDuration metrics.Interval `yaml:"BreakerBasicCutOutDuration"` BreakerMaxCutOutDuration metrics.Interval `yaml:"BreakerMaxCutOutDuration"` Priority int `yaml:"Priority"` MeterResolution metrics.Interval `yaml:"MeterResolution"` MeterRetention metrics.Interval `yaml:"MeterRetention"` }
StorageBreakerProperties describes storage usage requirements
Click to show internal directories.
Click to hide internal directories.