Documentation
¶
Index ¶
- type AlluxioFileUtils
- func (a AlluxioFileUtils) CachedState() (cached int64, err error)
- func (a AlluxioFileUtils) CleanCache(path string) (err error)
- func (a AlluxioFileUtils) Count(alluxioPath string) (fileCount int64, folderCount int64, total int64, err error)
- func (a AlluxioFileUtils) Du(alluxioPath string) (ufs int64, cached int64, cachedPercentage string, err error)
- func (a AlluxioFileUtils) IsExist(alluxioPath string) (found bool, err error)
- func (a AlluxioFileUtils) IsMounted(alluxioPath string) (mounted bool, err error)
- func (a AlluxioFileUtils) LoadMetaData(alluxioPath string) (err error)
- func (a AlluxioFileUtils) Mkdir(alluxioPath string) (err error)
- func (a AlluxioFileUtils) Mount(alluxioPath string, ufsPath string, options map[string]string, readOnly bool, ...) (err error)
- func (a AlluxioFileUtils) Ready() (ready bool)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AlluxioFileUtils ¶
type AlluxioFileUtils struct {
// contains filtered or unexported fields
}
func NewAlluxioFileUtils ¶
func (AlluxioFileUtils) CachedState ¶
func (a AlluxioFileUtils) CachedState() (cached int64, err error)
func (AlluxioFileUtils) CleanCache ¶
func (a AlluxioFileUtils) CleanCache(path string) (err error)
func (AlluxioFileUtils) Count ¶
func (a AlluxioFileUtils) Count(alluxioPath string) (fileCount int64, folderCount int64, total int64, err error)
The count of the Alluxio Filesystem
func (AlluxioFileUtils) IsExist ¶
func (a AlluxioFileUtils) IsExist(alluxioPath string) (found bool, err error)
Check if the alluxioPath exists
func (AlluxioFileUtils) IsMounted ¶
func (a AlluxioFileUtils) IsMounted(alluxioPath string) (mounted bool, err error)
func (AlluxioFileUtils) LoadMetaData ¶
func (a AlluxioFileUtils) LoadMetaData(alluxioPath string) (err error)
Load the metadata
func (AlluxioFileUtils) Mkdir ¶
func (a AlluxioFileUtils) Mkdir(alluxioPath string) (err error)
Click to show internal directories.
Click to hide internal directories.