s3

package
v0.2.47 Latest Latest
Warning

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

Go to latest
Published: Jul 31, 2022 License: Apache-2.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCos added in v0.2.5

func NewCos() (types.Storager, error)

func UpdateUploadBar

func UpdateUploadBar(totalFilesSize int64) (totalConsumedSize int64)

func UploadDirToS3 added in v0.2.5

func UploadDirToS3(dirPath, projectName, bundleID string, cn bool) error

func UploadDirToStaticSource

func UploadDirToStaticSource(dirPath, projectName, bundleID string, cn bool) error

func UploadFileToCodeSource

func UploadFileToCodeSource(filedir, filename, projectName string, cn bool)

func UploadFileToS3CodeSource added in v0.2.5

func UploadFileToS3CodeSource(filedir, filename, projectName string, cn bool)

Types

type OssProgressListener

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

func (*OssProgressListener) ProgressChanged

func (listener *OssProgressListener) ProgressChanged(event *oss.ProgressEvent)

Jump to

Keyboard shortcuts

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