s3

package
v0.0.0-...-fd78167 Latest Latest
Warning

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

Go to latest
Published: Feb 1, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type S3Credentials

type S3Credentials struct {
	Enabled bool `yaml:"enabled"`
	// The bucket name
	Bucket string `yaml:"bucket"`
	// Prefix with trailing / to prepend to all file names within the bucket
	Path string `yaml:"path"`
	// Access Key
	AccessKey string `yaml:"accessKey"`
	// Secret Key
	SecretKey string `yaml:"secretKey"`
	// Bucket region
	Region string `yaml:"region"`
}

func (*S3Credentials) RetrieveFile

func (c *S3Credentials) RetrieveFile(fname string, file *os.File) error

func (*S3Credentials) UploadFile

func (c *S3Credentials) UploadFile(file *os.File, fname string) error

Jump to

Keyboard shortcuts

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