Versions in this module Expand all Collapse all v0 v0.3.0 Jun 7, 2026 Changes in this version + var ErrMissingCredentials = errors.New("LUCTL_S3_ACCESS_KEY and LUCTL_S3_SECRET_KEY must be set") + func Create(ctx context.Context, client *s3.Client, cfg project.BackupConfig, ...) (string, error) + func DownloadToWriter(ctx context.Context, client *s3.Client, bucket, key string, w io.Writer) error + func FormatSize(b int64) string + func LatestName(ctx context.Context, client *s3.Client, cfg project.BackupConfig) (string, error) + func NewS3Client(cfg project.BackupConfig) (*s3.Client, error) + func Restore(ctx context.Context, client *s3.Client, cfg project.BackupConfig, ...) error + func ValidateConfig(cfg project.BackupConfig) error + type Entry struct + Key string + LastModified time.Time + Name string + SizeBytes int64 + func List(ctx context.Context, client *s3.Client, cfg project.BackupConfig) ([]Entry, error)