Versions in this module Expand all Collapse all v1 v1.0.2 Mar 17, 2021 Changes in this version + const ClassDMA + const ClassRRS + const ClassStandard + const DMA + const DMAEnv + const DMAReadWrite + const DMAWrite + const RRS + const RRSEnv + const STANDARD + const StandardEnv + var DefaultKVS = config.KVS + var Help = config.HelpKVS + func Enabled(kvs config.KVS) bool + func IsValid(sc string) bool + func SetStorageClass(s config.Config, cfg Config) + func ValidateParity(ssParity, setDriveCount int) error + type Config struct + DMA string + RRS StorageClass + Standard StorageClass + func LookupConfig(kvs config.KVS, setDriveCount int) (cfg Config, err error) + func (sCfg *Config) UnmarshalJSON(data []byte) error + func (sCfg Config) GetDMA() string + func (sCfg Config) GetParityForSC(sc string) (parity int) + type StorageClass struct + Parity int + func (sc *StorageClass) MarshalText() ([]byte, error) + func (sc *StorageClass) String() string + func (sc *StorageClass) UnmarshalText(b []byte) error