aws

package
v0.0.0-...-c20c62a Latest Latest
Warning

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

Go to latest
Published: Jan 24, 2024 License: GPL-3.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrDataNotFound = errors.New("data not found")
)

Functions

func AllBuckets

func AllBuckets()

func BucketList

func BucketList(bucketName string)

func Count

func Count(bucket string) (int, error)

func DeleteBucket

func DeleteBucket(processor int, bucket string) error

func DeleteObject

func DeleteObject(bucket, key string) error

func DownloadBucket

func DownloadBucket(processor int, bucket, imageDir string) error

func DownloadObject

func DownloadObject(sess *session.Session, filename, key, bucket *string) error

func ExistBucket

func ExistBucket(bucket string) (bool, error)

func Init

func Init()

initialize ceph client for specific city

Types

type DeleteInfo

type DeleteInfo struct {
	Bucket string
	Key    string
}

type DownloadInfo

type DownloadInfo struct {
	DeleteInfo
	LocalPrefix string
}

type Empty

type Empty struct {
}

Jump to

Keyboard shortcuts

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