operations

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Jul 10, 2024 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 JindoFileUtils

type JindoFileUtils struct {
	// contains filtered or unexported fields
}

func NewJindoFileUtils

func NewJindoFileUtils(podName string, containerName string, namespace string, log logr.Logger) JindoFileUtils

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

Jump to

Keyboard shortcuts

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