Documentation ¶
Index ¶
- type BackupCephLog
- type HostClient
- func (client *HostClient) BackupAndClearCephLog() error
- func (client *HostClient) ClearCephLog() error
- func (client *HostClient) ClearOsdLog(osdNums []int64) error
- func (client *HostClient) Close() error
- func (client *HostClient) CollectCephLog(dstDir string) error
- func (client *HostClient) CollectOsdLog(dstDir string, osdNums []int64) error
- func (client *HostClient) Download(dstPath string, srcPath string) error
- func (client *HostClient) ExecCephCmd(cmd string) ([]byte, error)
- func (client *HostClient) ExecCmd(cmd string) ([]byte, error)
- func (client *HostClient) OSDPerf(osd string) (*OSDPerf, error)
- func (client *HostClient) OsdBackupLogFiles() ([]string, error)
- func (client *HostClient) OsdLogFiles() ([]string, error)
- func (client *HostClient) ReadBackupCephLog() ([]BackupCephLog, error)
- func (client *HostClient) ReadCephConf() error
- func (client *HostClient) Upload(dstPath string, srcPath string) error
- type OSDPerf
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BackupCephLog ¶
type HostClient ¶
type HostClient struct { IpAddr string Port string User string Password string // contains filtered or unexported fields }
func NewHostClient ¶
func NewHostClient(IpAddr string) (*HostClient, error)
func NewHostClientWithPassword ¶
func NewHostClientWithPassword(ipAddr, port, user, password string) (*HostClient, error)
func (*HostClient) BackupAndClearCephLog ¶
func (client *HostClient) BackupAndClearCephLog() error
func (*HostClient) ClearCephLog ¶
func (client *HostClient) ClearCephLog() error
func (*HostClient) ClearOsdLog ¶
func (client *HostClient) ClearOsdLog(osdNums []int64) error
func (*HostClient) Close ¶
func (client *HostClient) Close() error
func (*HostClient) CollectCephLog ¶
func (client *HostClient) CollectCephLog(dstDir string) error
func (*HostClient) CollectOsdLog ¶
func (client *HostClient) CollectOsdLog(dstDir string, osdNums []int64) error
func (*HostClient) Download ¶
func (client *HostClient) Download(dstPath string, srcPath string) error
func (*HostClient) ExecCephCmd ¶
func (client *HostClient) ExecCephCmd(cmd string) ([]byte, error)
func (*HostClient) OsdBackupLogFiles ¶
func (client *HostClient) OsdBackupLogFiles() ([]string, error)
func (*HostClient) OsdLogFiles ¶
func (client *HostClient) OsdLogFiles() ([]string, error)
func (*HostClient) ReadBackupCephLog ¶
func (client *HostClient) ReadBackupCephLog() ([]BackupCephLog, error)
func (*HostClient) ReadCephConf ¶
func (client *HostClient) ReadCephConf() error
Click to show internal directories.
Click to hide internal directories.