s3fs

package
v0.11.0-beta.3 Latest Latest
Warning

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

Go to latest
Published: Jan 23, 2025 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type S3Client

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

func NewS3Client

func NewS3Client(config *aws.Config) *S3Client

func (S3Client) AppendFile

func (c S3Client) AppendFile(ctx context.Context, conn *connparse.Connection, data wshrpc.FileData) error

func (S3Client) Copy

func (c S3Client) Copy(ctx context.Context, srcConn, destConn *connparse.Connection, opts *wshrpc.FileCopyOpts) error

func (S3Client) Delete

func (c S3Client) Delete(ctx context.Context, conn *connparse.Connection) error

func (S3Client) GetConnectionType

func (c S3Client) GetConnectionType() string

func (S3Client) Join

func (c S3Client) Join(ctx context.Context, conn *connparse.Connection, parts ...string) (string, error)

func (S3Client) ListEntries

func (c S3Client) ListEntries(ctx context.Context, conn *connparse.Connection, opts *wshrpc.FileListOpts) ([]*wshrpc.FileInfo, error)

func (S3Client) Mkdir

func (c S3Client) Mkdir(ctx context.Context, conn *connparse.Connection) error

func (S3Client) Move

func (c S3Client) Move(ctx context.Context, srcConn, destConn *connparse.Connection, opts *wshrpc.FileCopyOpts) error

func (S3Client) PutFile

func (c S3Client) PutFile(ctx context.Context, conn *connparse.Connection, data wshrpc.FileData) error

func (S3Client) Read

func (S3Client) ReadStream

func (S3Client) ReadTarStream

func (c S3Client) ReadTarStream(ctx context.Context, conn *connparse.Connection, opts *wshrpc.FileCopyOpts) <-chan wshrpc.RespOrErrorUnion[[]byte]

func (S3Client) Stat

Jump to

Keyboard shortcuts

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