Documentation ¶
Index ¶
- type ExecConfig
- func (execConfig *ExecConfig) ExportRadosObject(objectID string) (float64, error)
- func (execConfig *ExecConfig) GetFileSliceNum() (int64, error)
- func (execConfig *ExecConfig) GetInode() (string, error)
- func (execConfig *ExecConfig) ReadConfig(configFilePath string) error
- func (execConfig *ExecConfig) Run() (*[]ExecConfigResult, error)
- type ExecConfigResult
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ExecConfig ¶
type ExecConfig struct { FilePath string `json:"filePath"` ExportPath string `json:"exportPath"` ThreadNum string `json:"threadNum"` PoolName string `json:"poolName"` }
func NewExecConfig ¶
func NewExecConfig(configPath string) (*ExecConfig, error)
func (*ExecConfig) ExportRadosObject ¶
func (execConfig *ExecConfig) ExportRadosObject(objectID string) (float64, error)
func (*ExecConfig) GetFileSliceNum ¶
func (execConfig *ExecConfig) GetFileSliceNum() (int64, error)
func (*ExecConfig) GetInode ¶
func (execConfig *ExecConfig) GetInode() (string, error)
GetInode 获取文件inode号(16进制的)
func (*ExecConfig) ReadConfig ¶
func (execConfig *ExecConfig) ReadConfig(configFilePath string) error
func (*ExecConfig) Run ¶
func (execConfig *ExecConfig) Run() (*[]ExecConfigResult, error)
type ExecConfigResult ¶
Click to show internal directories.
Click to hide internal directories.