s3

package
v0.2.2 Latest Latest
Warning

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

Go to latest
Published: Dec 8, 2024 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	Endpoint  string `flag:"endpoint,S3 endpoint" reg:"Endpoint"`
	Region    string `flag:"region,Region" reg:"Region"`
	Bucket    string `flag:"bucket,Bucket" reg:"Bucket"`
	KeyId     string `flag:"keyid,Access Key ID" reg:"KeyID"`
	KeySecret string `flag:"secret,Access Key Secret" reg:"KeySecret"`
	UseSSL    bool   `flag:"useSSL,Use SSL encryption for S3 connection" reg:"UseSSL"`
}

func (*Config) ToFileSystem

func (c *Config) ToFileSystem(logger zerolog.Logger) (afero.Fs, error)

func (*Config) Validate

func (c *Config) Validate() error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
JackTT - Gopher 🇻🇳