Documentation ¶
Index ¶
- Variables
- func DeleteAttachment(testid string, attachmentName string) error
- func DownloadAttachment(testid string, attachmentName string) (*aws.WriteAtBuffer, error)
- func DownloadScript(scriptid string, zipFileName string) (*aws.WriteAtBuffer, error)
- func SetS3(accessKey, secretAccessKey, region, bucketName string) error
- func UploadAttachment(testid string, attachmentName string, file multipart.File) error
- func UploadScript(testid string, scriptid string, zipFileName string, file multipart.File) error
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ServerSideEncryption = "AES256"
)
Functions ¶
func DeleteAttachment ¶
DeleteAttachment is used for deleting attachments that were uploaded for a test.
func DownloadAttachment ¶
func DownloadAttachment(testid string, attachmentName string) (*aws.WriteAtBuffer, error)
DownloadAttachment is used for downloading attachments that were uploaded for a test.
func DownloadScript ¶
func DownloadScript(scriptid string, zipFileName string) (*aws.WriteAtBuffer, error)
DownloadScript is used to download test scripts
func UploadAttachment ¶
UploadAttachment is used for uploading attachments for a test.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.