Versions in this module Expand all Collapse all v1 v1.0.2 Mar 17, 2021 Changes in this version + const After + const Commit + const DefaultAfter + const DefaultCacheCommit + const DefaultExpiry + const DefaultQuota + const DefaultWaterMarkHigh + const DefaultWaterMarkLow + const Drives + const EnvCacheAfter + const EnvCacheCommit + const EnvCacheDrives + const EnvCacheEncryptionMasterKey + const EnvCacheExclude + const EnvCacheExpiry + const EnvCacheMaxUse + const EnvCacheQuota + const EnvCacheRange + const EnvCacheWatermarkHigh + const EnvCacheWatermarkLow + const Exclude + const Expiry + const MaxUse + const Quota + const Range + const WatermarkHigh + const WatermarkLow + var DefaultKVS = config.KVS + var Help = config.HelpKVS + func Enabled(kvs config.KVS) bool + func SetCacheConfig(s config.Config, cfg Config) + type Config struct + After int + CommitWriteback bool + Drives []string + Enabled bool + Exclude []string + Expiry int + MaxUse int + Quota int + Range bool + WatermarkHigh int + WatermarkLow int + func LookupConfig(kvs config.KVS) (Config, error) + func (cfg *Config) UnmarshalJSON(data []byte) (err error)