Versions in this module Expand all Collapse all v0 v0.3.1 Mar 28, 2017 v0.3.0 Mar 3, 2017 Changes in this version + const DBDefaultSizeMB + const WalDefaultSizeMB + func PopulateCollocatedPerfSchemeEntry(entry *PerfSchemeEntry, device string, bluestoreConfig BluestoreConfig) error + func PopulateDistributedPerfSchemeEntry(entry *PerfSchemeEntry, device string, metadataInfo *MetadataDeviceInfo, ...) error + type BluestoreConfig struct + DatabaseSizeMB int + WalSizeMB int + type MetadataDeviceInfo struct + Device string + DiskUUID string + Partitions []*MetadataDevicePartition + func NewMetadataDeviceInfo(device string) *MetadataDeviceInfo + func (m *MetadataDeviceInfo) GetPartitionArgs() []string + type MetadataDevicePartition struct + ID int + Name string + OffsetMB int + OsdUUID uuid.UUID + PartitionUUID string + SizeMB int + type PerfScheme struct + Entries []*PerfSchemeEntry + Metadata *MetadataDeviceInfo + func NewPerfScheme() *PerfScheme + func (s *PerfScheme) Save(configDir string) error + type PerfSchemeEntry struct + ID int + OsdUUID uuid.UUID + Partitions map[string]*PerfSchemePartitionDetails + func NewPerfSchemeEntry() *PerfSchemeEntry + func (e *PerfSchemeEntry) GetPartitionArgs() []string + func (e *PerfSchemeEntry) IsCollocated() bool + type PerfSchemePartitionDetails struct + Device string + DiskUUID string + OffsetMB int + PartitionUUID string + SizeMB int v0.2.2 Dec 19, 2016 v0.2.1 Dec 12, 2016 v0.2.0 Dec 8, 2016 v0.1.1 Dec 5, 2016 Changes in this version + const BlockPartitionName + const DatabasePartitionName + const SimpleVersion + const UseRemainingSpace + const WalPartitionName + type Scheme struct + DiskUUID string + PartitionUUIDs map[string]string + SizeMB int + Version int + func GetSimpleScheme(sizeMB int) (*Scheme, error) + func LoadScheme(configDir string) (*Scheme, error) + func (s *Scheme) GetArgs(name string) []string + func (s *Scheme) Save(configDir string) error