s3

package
v0.0.5 Latest Latest
Warning

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

Go to latest
Published: Feb 9, 2025 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Backup

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

func New

func New(
	ctx context.Context,
	config Config,
) (*Backup, error)

func (*Backup) Upload

func (b *Backup) Upload(ctx context.Context, file *os.File) error

type Config

type Config struct {
	InstanceID string
	Region     string
	S3Bucket   string
}

Jump to

Keyboard shortcuts

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