Documentation ¶
Index ¶
- func CheckPathExists(path string) error
- func DeleteParts(conf Config) error
- func InitialiseParts(conf Config) error
- func RebalancePartition(oldPartition Partition) error
- func RenamePartition(fromPartition Partition, toPartition Partition) error
- func TransferPartitionData(fromPartition Partition, toPartition Partition) error
- type Config
- type Partition
- func (partition Partition) CheckPartLocExists() error
- func (partition *Partition) CreatePartition() error
- func (partition *Partition) CreateTemplate(n int) error
- func (partition Partition) DeleteOne(unhashedKey string) error
- func (partition Partition) DeletePartition() error
- func (partition Partition) GetAll()
- func (partition Partition) GetOne(unhashedKey string) (string, error)
- func (partition *Partition) InitialiseConfig(n int) error
- func (partition Partition) InsertOne(unhashedKey string, value string) error
- func (partition *Partition) LoadConfig(confName string) error
- func (partition *Partition) RenameInternalParts(toName string) error
- func (partition Partition) WriteConfig() error
- type Parts
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CheckPathExists ¶
func DeleteParts ¶
func InitialiseParts ¶
func RebalancePartition ¶
func RenamePartition ¶
func TransferPartitionData ¶
Types ¶
type Partition ¶
func CollectPartition ¶
func InitPartition ¶
func (Partition) CheckPartLocExists ¶
func (*Partition) CreatePartition ¶
func (*Partition) CreateTemplate ¶
func (Partition) DeletePartition ¶
func (*Partition) InitialiseConfig ¶
func (*Partition) LoadConfig ¶
func (*Partition) RenameInternalParts ¶
func (Partition) WriteConfig ¶
Click to show internal directories.
Click to hide internal directories.