storage

package
v0.22.0 Latest Latest
Warning

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

Go to latest
Published: Apr 25, 2024 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type S3

type S3 struct {
	Bucket      string
	EndpointURL string
}

S3 provider backup storage.

func (*S3) Delete

func (s *S3) Delete(_ backup.Backup) error

Delete removes backup from S3.

func (*S3) Get

func (s *S3) Get(backup backup.Backup) error

Get returns backup with downloaded backup from S3.

func (*S3) List

func (s *S3) List(bck backup.Backup) ([]backup.Backup, error)

List lists backups from S3.

func (*S3) Save

func (s *S3) Save(backup backup.Backup) error

Save saves provider backup to S3.

Jump to

Keyboard shortcuts

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