ports

package
v0.0.0-...-4c81f98 Latest Latest
Warning

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

Go to latest
Published: Jul 1, 2025 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Backuper

type Backuper interface {
	ExecuteBackup(ctx context.Context) error
}

type ObjectMeta

type ObjectMeta struct {
	Name         string
	LastModified time.Time
}

type RemoteFilesystem

type RemoteFilesystem interface {
	ListFiles(ctx context.Context) (iter.Seq2[ObjectMeta, error], error)
	GetFile(ctx context.Context, name string) (io.ReadCloser, error)
	PutFile(ctx context.Context, name string, size int64, reader io.Reader) error
	DeleteFile(ctx context.Context, name string) error
}

Jump to

Keyboard shortcuts

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