artifact

package
v1.10.1 Latest Latest
Warning

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

Go to latest
Published: Mar 16, 2023 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

View Source
const (
	CmdScraperPutObjectSignedURL executor.Command = "put_object_signed_url"
)

Variables

This section is empty.

Functions

func ExtractCloudLoaderMeta

func ExtractCloudLoaderMeta(execution testkube.Execution) map[string]any

Types

type CloudUploader

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

func NewCloudUploader

func NewCloudUploader(executor executor.Executor) *CloudUploader

func (*CloudUploader) Upload

func (l *CloudUploader) Upload(ctx context.Context, object *scraper.Object, meta map[string]any) error

type PutObjectSignedURLRequest

type PutObjectSignedURLRequest struct {
	Object        string `json:"object"`
	ExecutionID   string `json:"executionId"`
	TestName      string `json:"testName"`
	TestSuiteName string `json:"testSuiteName"`
}

type PutObjectSignedURLResponse

type PutObjectSignedURLResponse struct {
	URL string
}

Jump to

Keyboard shortcuts

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