nfs

package
v0.0.65 Latest Latest
Warning

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

Go to latest
Published: Oct 21, 2022 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	S3OperationRM = S3Operation("rm")
	S3OperationMV = S3Operation("mv")
)

Functions

This section is empty.

Types

type NFS

type NFS struct {
	Host      string
	Target    string
	Folder    string
	Key       string
	KeyPrefix string
	KeyRegex  string
	ClearOp   *S3Op
	FailOp    *S3Op
	Client    *NFSMount
}

func (*NFS) Cleanup

func (d *NFS) Cleanup() error

func (*NFS) ClearWork

func (d *NFS) ClearWork() error

func (*NFS) GetWork

func (d *NFS) GetWork() (io.Reader, error)

func (*NFS) HandleFailure

func (d *NFS) HandleFailure() error

func (*NFS) Init

func (d *NFS) Init() error

func (*NFS) LoadEnv

func (d *NFS) LoadEnv(prefix string) error

func (*NFS) LoadFlags

func (d *NFS) LoadFlags() error

type NFSMount

type NFSMount struct {
	Mount  *nfs.Mount
	Target *nfs.Target
}

func (*NFSMount) FindPrefixRecursive

func (t *NFSMount) FindPrefixRecursive(folder, prefix string) *string

func (*NFSMount) FindRegexRecursive

func (t *NFSMount) FindRegexRecursive(folder, prefix string) *string

type S3Op

type S3Op struct {
	Operation   S3Operation
	Bucket      string
	Key         string
	KeyTemplate string
}

func (*S3Op) GetKey

func (o *S3Op) GetKey() string

type S3Operation

type S3Operation string

Jump to

Keyboard shortcuts

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