framework

package
v0.0.0-...-614d85d Latest Latest
Warning

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

Go to latest
Published: Apr 4, 2022 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

View Source
const DefaultRegion = "us-east-1"

Variables

This section is empty.

Functions

func DescribeOSS

func DescribeOSS(text string, body func()) bool

Types

type Framework

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

func NewFramework

func NewFramework() *Framework

func (*Framework) BeforeEach

func (f *Framework) BeforeEach()

func (*Framework) CreateBucket

func (f *Framework) CreateBucket(accessKey, secretKey, bucketName string) (err error)

func (*Framework) DeleteAllBucketItems

func (f *Framework) DeleteAllBucketItems(accessKey, secretKey, bucketName string) (err error)

func (*Framework) DeleteBucket

func (f *Framework) DeleteBucket(accessKey, secretKey, bucketName string) (err error)

func (*Framework) DeleteObject

func (f *Framework) DeleteObject(accessKey, secretKey, bucketName, keyPath string) error

func (*Framework) ListBuckets

func (f *Framework) ListBuckets(accessKey, secretKey string) (buckets []string, err error)

func (*Framework) UploadObject

func (f *Framework) UploadObject(accessKey, secretKey, srcFilePath, targetBucketName, targetKeyPath string) (location string, err error)

Jump to

Keyboard shortcuts

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