s3fileupload

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Aug 8, 2022 License: MIT Imports: 21 Imported by: 0

Documentation

Index

Constants

View Source
const (
	EventURL = event.Name("URL")
)

Event names for this plugin.

Variables

View Source
var Events = []event.Name{
	EventURL,
}

Events defines the events that a TestStep is allow to emit

View Source
var Name = "s3FileUpload"

Name is the name used to look this plugin up.

Functions

func Load

func Load() (string, test.TestStepFactory, []event.Name)

Load returns the name, factory and events which are needed to register the step.

func New

func New() test.TestStep

New initializes and returns a new awsFileUpload test step.

Types

type FileUpload

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

FileUpload is used to retrieve all the parameter, the plugin needs.

func (FileUpload) Name

func (ts FileUpload) Name() string

Name returns the plugin name.

func (*FileUpload) Run

Run executes the awsFileUpload.

func (*FileUpload) ValidateParameters

func (ts *FileUpload) ValidateParameters(_ xcontext.Context, params test.TestStepParameters) error

ValidateParameters validates the parameters associated to the TestStep

Jump to

Keyboard shortcuts

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