Documentation
¶
Index ¶
- type JindoFileUtils
- func (a JindoFileUtils) CleanCache() (err error)
- func (a JindoFileUtils) GetUfsTotalSize(url string) (summary string, err error)
- func (a JindoFileUtils) IsExist(jindoPath string) (found bool, err error)
- func (a JindoFileUtils) IsMounted(mountPoint string) (mounted bool, err error)
- func (a JindoFileUtils) Mount(mountName string, ufsPath string) (err error)
- func (a JindoFileUtils) Ready() (ready bool)
- func (a JindoFileUtils) ReportSummary() (summary string, err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type JindoFileUtils ¶
type JindoFileUtils struct {
// contains filtered or unexported fields
}
func NewJindoFileUtils ¶
func (JindoFileUtils) CleanCache ¶
func (a JindoFileUtils) CleanCache() (err error)
clean cache with a preset timeout of 60s
func (JindoFileUtils) GetUfsTotalSize ¶
func (a JindoFileUtils) GetUfsTotalSize(url string) (summary string, err error)
func (JindoFileUtils) IsExist ¶
func (a JindoFileUtils) IsExist(jindoPath string) (found bool, err error)
IsExist checks if the JindoPath exists
func (JindoFileUtils) IsMounted ¶
func (a JindoFileUtils) IsMounted(mountPoint string) (mounted bool, err error)
func (JindoFileUtils) Mount ¶
func (a JindoFileUtils) Mount(mountName string, ufsPath string) (err error)
func (JindoFileUtils) Ready ¶
func (a JindoFileUtils) Ready() (ready bool)
Check if the JIndo is ready by running `jindo jfs -report` command
func (JindoFileUtils) ReportSummary ¶
func (a JindoFileUtils) ReportSummary() (summary string, err error)
Get summary info of the jindo Engine
Click to show internal directories.
Click to hide internal directories.