s3

package
v0.2.35 Latest Latest
Warning

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

Go to latest
Published: May 7, 2022 License: Apache-2.0 Imports: 18 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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