fs

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: 11 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 FS

type FS struct {
	Folder    string
	Key       string
	KeyPrefix string
	KeyRegex  string
	ClearOp   *S3Op
	FailOp    *S3Op
}

func (*FS) Cleanup

func (d *FS) Cleanup() error

func (*FS) ClearWork

func (d *FS) ClearWork() error

func (*FS) FindPrefixRecursive

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

func (*FS) FindRegexRecursive

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

func (*FS) GetWork

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

func (*FS) HandleFailure

func (d *FS) HandleFailure() error

func (*FS) Init

func (d *FS) Init() error

func (*FS) LoadEnv

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

func (*FS) LoadFlags

func (d *FS) LoadFlags() error

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