Versions in this module Expand all Collapse all v0 v0.7.1 Mar 9, 2018 v0.7.0 Feb 21, 2018 Changes in this version + const Bluestore + const BluestoreDirBlockName + const BluestoreDirDBName + const BluestoreDirWalName + const DBDefaultSizeMB + const DefaultStore + const Filestore + const JournalDefaultSizeMB + const UseRemainingSpace + const WalDefaultSizeMB + func GetConfigStoreName(nodeName string) string + func LoadOSDDirMap(kv *k8sutil.ConfigMapKVStore, nodeName string) (map[string]int, error) + func PopulateCollocatedPerfSchemeEntry(entry *PerfSchemeEntry, device string, storeConfig rookalpha.StoreConfig) error + func PopulateDistributedPerfSchemeEntry(entry *PerfSchemeEntry, device string, metadataInfo *MetadataDeviceInfo, ...) error + func RemoveFromScheme(e *PerfSchemeEntry, kv *k8sutil.ConfigMapKVStore, storeName string) error + func SaveOSDDirMap(kv *k8sutil.ConfigMapKVStore, nodeName string, dirMap map[string]int) error + type MetadataDeviceInfo struct + Device string + DiskUUID string + Partitions []*MetadataDevicePartition + func NewMetadataDeviceInfo(device string) *MetadataDeviceInfo + func (m *MetadataDeviceInfo) GetPartitionArgs() []string + type MetadataDevicePartition struct + ID int + OffsetMB int + OsdUUID uuid.UUID + PartitionUUID string + SizeMB int + Type PartitionType + type PartitionType int + const BlockPartitionType + const DatabasePartitionType + const FilestoreDataPartitionType + const FilestoreJournalPartitionType + const WalPartitionType + type PerfScheme struct + Entries []*PerfSchemeEntry + Metadata *MetadataDeviceInfo + func LoadScheme(kv *k8sutil.ConfigMapKVStore, storeName string) (*PerfScheme, error) + func NewPerfScheme() *PerfScheme + func (s *PerfScheme) DeleteSchemeEntry(e *PerfSchemeEntry) error + func (s *PerfScheme) SaveScheme(kv *k8sutil.ConfigMapKVStore, storeName string) error + func (s *PerfScheme) String() string + func (s *PerfScheme) UpdateSchemeEntry(e *PerfSchemeEntry) error + type PerfSchemeEntry struct + FSCreated bool + ID int + OsdUUID uuid.UUID + Partitions map[PartitionType]*PerfSchemePartitionDetails + StoreType string + func NewPerfSchemeEntry(storeType string) *PerfSchemeEntry + func (e *PerfSchemeEntry) GetDataPartitionType() PartitionType + func (e *PerfSchemeEntry) GetMetadataPartitionType() PartitionType + func (e *PerfSchemeEntry) GetPartitionArgs() []string + func (e *PerfSchemeEntry) IsCollocated() bool + func (e *PerfSchemeEntry) String() string + type PerfSchemePartitionDetails struct + Device string + DiskUUID string + OffsetMB int + PartitionUUID string + SizeMB int