port

package
v0.0.0-...-06621f0 Latest Latest
Warning

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

Go to latest
Published: Oct 20, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BackupExecutor

type BackupExecutor interface {
	BackupDatabase(ctx context.Context, req model.DatabaseBackupRequest) (backup io.Reader, err error)
}

type BackupService

type BackupService interface {
	BackupDatabase(context.Context) error
	PruneDatabaseBackups(context.Context) error
}

type ObjectStorage

type ObjectStorage interface {
	UploadObject(ctx context.Context, key string, body io.Reader) error
	DeleteObjects(ctx context.Context, keys []string) error
	ListObjectKeysPrefix(ctx context.Context, prefix string) ([]string, error)
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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