Documentation ¶
Index ¶
- type ExecConfig
- func (execConfig *ExecConfig) GetFileSliceNum() (int64, error)
- func (execConfig *ExecConfig) GetInode() (string, error)
- func (execConfig *ExecConfig) GetRadosObject(objectID string) (RadosObject, error)
- func (execConfig *ExecConfig) ReadConfig(configFilePath string) error
- func (execConfig *ExecConfig) Run() (*[]ExecConfigResult, error)
- type ExecConfigResult
- type RadosObject
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ExecConfig ¶
func NewExecConfig ¶
func NewExecConfig(configPath string) (*ExecConfig, error)
func (*ExecConfig) GetFileSliceNum ¶
func (execConfig *ExecConfig) GetFileSliceNum() (int64, error)
func (*ExecConfig) GetInode ¶
func (execConfig *ExecConfig) GetInode() (string, error)
GetInode 获取文件inode号(16进制的)
func (*ExecConfig) GetRadosObject ¶
func (execConfig *ExecConfig) GetRadosObject(objectID string) (RadosObject, error)
[root@node27 liucxer]# ceph osd map data_pool 10005902501.0000002c --format=json {"epoch":5591,"pool":"data_pool","pool_id":2,"objname":"10005902501.0000002c","raw_pgid":"2.b945b66e","pgid":"2.6e","up":[2,7,10],"up_primary":2,"acting":[2,7,10],"acting_primary":2}
func (*ExecConfig) ReadConfig ¶
func (execConfig *ExecConfig) ReadConfig(configFilePath string) error
func (*ExecConfig) Run ¶
func (execConfig *ExecConfig) Run() (*[]ExecConfigResult, error)
type ExecConfigResult ¶
type RadosObject ¶
Click to show internal directories.
Click to hide internal directories.