wasabicloud

package
v1.3.2 Latest Latest
Warning

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

Go to latest
Published: May 23, 2024 License: LGPL-3.0 Imports: 6 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 interface {
	PutFile(localPath, remotePath string) error
	GetFile(remotePath, localPath string) error
	DelFile(remotePath string) error
	GetBucketName() string
	GetRegion() string
	GetEndpoint() string
	GetAccessKey() string
	GetSecretKey() string
}

type WasabiStorageHandler

type WasabiStorageHandler struct {
	// contains filtered or unexported fields
}

func NewWasabiHandler

func NewWasabiHandler() *WasabiStorageHandler

func (*WasabiStorageHandler) DelFile

func (c *WasabiStorageHandler) DelFile(remotePath string) error

func (*WasabiStorageHandler) GetAccessKey

func (c *WasabiStorageHandler) GetAccessKey() string

func (*WasabiStorageHandler) GetAllBuckets

func (c *WasabiStorageHandler) GetAllBuckets() ([]string, error)

func (*WasabiStorageHandler) GetAllFilesFromBucket

func (c *WasabiStorageHandler) GetAllFilesFromBucket(bucketName string) ([]string, error)

func (*WasabiStorageHandler) GetBucketName

func (c *WasabiStorageHandler) GetBucketName() string

func (*WasabiStorageHandler) GetEndpoint

func (c *WasabiStorageHandler) GetEndpoint() string

func (*WasabiStorageHandler) GetFile

func (c *WasabiStorageHandler) GetFile(remotePath, localPath string) error

func (*WasabiStorageHandler) GetRegion

func (c *WasabiStorageHandler) GetRegion() string

func (*WasabiStorageHandler) GetSecretKey

func (c *WasabiStorageHandler) GetSecretKey() string

func (*WasabiStorageHandler) PutFile

func (c *WasabiStorageHandler) PutFile(localPath, remotePath string) error

Jump to

Keyboard shortcuts

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