Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ExecConfig ¶
type ExecConfig struct { *ceph_cluster.CephCluster *ceph.CephConf ceph_recovery.RecoveryPool OsdNum []int64 `json:"osdNum"` RecoverySleep []float64 `json:"recoverySleep"` RecoveryMaxActive []int64 `json:"recoveryMaxActive"` RecoveryMaxSingleStart []int64 `json:"recoveryMaxSingleStart"` IpAddr string `json:"ipAddr"` Runtime int64 `json:"runtime"` ResultDir string `json:"resultDir"` }
func NewExecConfig ¶
func NewExecConfig(configPath string) (*ExecConfig, error)
func (*ExecConfig) ReadConfig ¶
func (execConfig *ExecConfig) ReadConfig(configFilePath string) error
func (*ExecConfig) Run ¶
func (execConfig *ExecConfig) Run() (*[]ExecResult, error)
func (*ExecConfig) RunOneJob ¶
func (execConfig *ExecConfig) RunOneJob(jobConfig JobConfig) (*ExecResult, error)
func (*ExecConfig) WaitOsdClean ¶
func (execConfig *ExecConfig) WaitOsdClean() error
type ExecResult ¶
type ExecResult struct { ceph_recovery.RecoveryConfig ceph_cluster.CephStatus }
type JobConfig ¶
type JobConfig struct {
ceph_recovery.RecoveryConfig
}
Click to show internal directories.
Click to hide internal directories.