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 ¶
Types ¶
type FileUpload ¶
type FileUpload struct {
// contains filtered or unexported fields
}
FileUpload is used to retrieve all the parameter, the plugin needs.
func (*FileUpload) Run ¶
func (ts *FileUpload) Run( ctx xcontext.Context, ch test.TestStepChannels, ev testevent.Emitter, stepsVars test.StepsVariables, params test.TestStepParameters, resumeState json.RawMessage, ) (json.RawMessage, error)
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
Click to show internal directories.
Click to hide internal directories.