Documentation ¶
Index ¶
- func NewCos() (types.Storager, error)
- func UpdateUploadBar(totalFilesSize int64) (totalConsumedSize int64)
- func UploadDirToS3(dirPath, projectName, bundleID string, cn bool) error
- func UploadDirToStaticSource(dirPath, projectName, bundleID string, cn bool) error
- func UploadFileToCodeSource(filedir, filename, projectName string, cn bool)
- func UploadFileToS3CodeSource(filedir, filename, projectName string, cn bool)
- type OssProgressListener
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func UpdateUploadBar ¶
func UploadDirToS3 ¶ added in v0.2.5
func UploadDirToStaticSource ¶
func UploadFileToCodeSource ¶
func UploadFileToS3CodeSource ¶ added in v0.2.5
Types ¶
type OssProgressListener ¶
type OssProgressListener struct {
// contains filtered or unexported fields
}
func (*OssProgressListener) ProgressChanged ¶
func (listener *OssProgressListener) ProgressChanged(event *oss.ProgressEvent)
Click to show internal directories.
Click to hide internal directories.