operations

package
v0.2.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 5, 2020 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

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 NewAlluxioFileUtils(podName string, containerName string, namespace string, log logr.Logger) AlluxioFileUtils

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) Du

func (a AlluxioFileUtils) Du(alluxioPath string) (ufs int64, cached int64, cachedPercentage string, err error)

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)

func (AlluxioFileUtils) Mount

func (a AlluxioFileUtils) Mount(alluxioPath string,
	ufsPath string,
	options map[string]string,
	readOnly bool,
	shared bool) (err error)

func (AlluxioFileUtils) Ready

func (a AlluxioFileUtils) Ready() (ready bool)

Check if it's ready

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL