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 WithJobCost bool `json:"withJobCost"` OsdNum []int64 `json:"osdNum"` DiskType string `json:"diskType"` IpAddr string `json:"ipAddr"` Runtime int64 `json:"runtime"` DataPool string `json:"dataPool"` DataVolume string `json:"dataVolume"` OpType []string `json:"opType"` 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(opType string) (ExecResult, error)
type ExecResult ¶
type ExecResult struct { fio.FioResult ResultMap map[string]map[float64]ResultItem `json:"resultMap"` }
Click to show internal directories.
Click to hide internal directories.