s3proxy

package
v0.0.0-...-2898a4c Latest Latest
Warning

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

Go to latest
Published: Sep 23, 2022 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

View Source
const (
	AuthMethodIAMRole            = "iam_role"
	AuthMethodAccessKey          = "access_key"
	AuthMethodAWSCredentialsFile = "aws_credentials_file"
)

Variables

This section is empty.

Functions

func GetAuthMethods

func GetAuthMethods() []string

func IsValidAuthMethod

func IsValidAuthMethod(authMethod string) bool

func New

func New(

	Endpoint string,
	Bucket string,
	Prefix string,
	Credentials *credentials.Credentials,
	DisableSSL bool,
	UpdateTimestamps bool,
	Region string,

	storageMode string, accessLogger cache.Logger,
	errorLogger cache.Logger, numUploaders, maxQueuedUploads int) cache.Proxy

New returns a new instance of the S3-API based cache

Types

This section is empty.

Jump to

Keyboard shortcuts

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