s3

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Aug 26, 2025 License: GPL-3.0 Imports: 19 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 {
	// contains filtered or unexported fields
}

func NewS3

func NewS3(cfg *conf.S3Config) (*S3, error)

func (*S3) Arches

func (s *S3) Arches(repo string) ([]string, error)

func (*S3) DeleteFile

func (s *S3) DeleteFile(repo string, arch string, name string) error

func (*S3) FetchFile

func (s *S3) FetchFile(repo string, arch string, name string) (stream.IFileStream, error)

func (*S3) Files

func (s *S3) Files(repo string, arch string) ([]string, error)

func (*S3) Init

func (s *S3) Init(repo string, arch string, useSignedDB bool, gnupgDir *string) error

func (*S3) RepoAdd

func (s *S3) RepoAdd(repo, arch string, pkgfile, sigfile stream.IFileSeekStream, useSignedDB bool, gnupgDir *string) error

func (*S3) RepoNames

func (s *S3) RepoNames() ([]string, error)

func (*S3) RepoRemove

func (s *S3) RepoRemove(repo string, arch string, pkg string, useSignedDB bool, gnupgDir *string) error

func (*S3) StoreFile

func (s *S3) StoreFile(repo string, arch string, file stream.IFileSeekStream) error

func (*S3) StoreFileWithSignedURL

func (s *S3) StoreFileWithSignedURL(repo string, arch string, name string) (string, error)

Jump to

Keyboard shortcuts

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