Documentation ¶
Index ¶
- type JindoFileUtils
- func (a JindoFileUtils) CleanCache() (err error)
- func (a JindoFileUtils) GetUfsTotalSize(url string, useStsSecret bool) (summary string, err error)
- func (a JindoFileUtils) LoadMetadataWithoutTimeout(jindoPath 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, useStsSecret bool) (summary string, err error)
func (JindoFileUtils) LoadMetadataWithoutTimeout ¶ added in v0.6.0
func (a JindoFileUtils) LoadMetadataWithoutTimeout(jindoPath string) (err error)
Load the metadata without timeout
func (JindoFileUtils) Ready ¶ added in v0.6.0
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.