Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ClusterConfig ¶
type ClusterConfig struct {
Host string `yaml:"host"`
Port int `yaml:"port"`
Interval string `yaml:"interval"`
Keyspaces []string `yaml:"keyspaces"`
}
ClusterConfig contains configuration of cluster item
type Config ¶
type Config struct {
Clusters []ClusterConfig `yaml:"clusters"`
}
Config is a configuration file struct
type Fragment ¶
type Fragment struct {
ID int `json:"id"`
Endpoint string `json:"endpoint"`
Start string `json:"start"`
End string `json:"end"`
}
Fragment of Token range for repair
type Repair ¶
type Repair struct {
ID int64 `json:"id"`
Fragment Fragment `json:"fragment"`
T1 time.Time
T2 time.Time
Callback string `json:"callback"`
Keyspace string `json:"keyspace"`
// contains filtered or unexported fields
}
Repair is a Unit of repair work
func (*Repair) StartMeasure ¶
func (r *Repair) StartMeasure()
StartMeasure fixes start time of Request
type RepairStatus ¶
type RepairStatus struct {
Repair Repair `json:"repair"`
Command int `json:"command"`
Count int `json:"count"`
Duration int `json:"duration"`
Error bool `json:"error"`
Message string `json:"message"`
Session string `json:"session"`
Total int `json:"total"`
Type string `json:"type"`
}
RepairStatus keeps status of repair
Click to show internal directories.
Click to hide internal directories.