uploader

package
v1.0.0-alpha.1 Latest Latest
Warning

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

Go to latest
Published: Jan 23, 2022 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateMultipartRequest

func CreateMultipartRequest(uploadURL string, filename string, kv map[string]string) (*http.Request, error)

func UploadFile

func UploadFile(uploadUrl string, filename string, kv map[string]string) (*http.Response, error)

Types

type GatlingArtifactUploader

type GatlingArtifactUploader interface {
	Upload(taskId string, userFilesDir *workspace.UserFilesDir) error
}

type S3Uploader

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

func NewS3Uploader

func NewS3Uploader(s3Ops s3.S3Ops, configMap map[string]string) *S3Uploader

func (*S3Uploader) Upload

func (u *S3Uploader) Upload(taskId string, userFilesDir *workspace.UserFilesDir) error

Jump to

Keyboard shortcuts

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