upload

package
v0.7.2 Latest Latest
Warning

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

Go to latest
Published: Jun 11, 2021 License: BSD-3-Clause Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewSimulation

func NewSimulation() beekeeper.Action

NewSimulation returns new upload simulation

Types

type Options

type Options struct {
	FileSize             int64
	PostageWait          time.Duration
	Retries              int
	RetryDelay           time.Duration
	Seed                 int64
	Timeout              time.Duration
	UploadNodePercentage int
}

Options represents simulation options

func NewDefaultOptions

func NewDefaultOptions() Options

NewDefaultOptions returns new default options

type Simulation

type Simulation struct{}

Simulation instance

func (*Simulation) Run

func (s *Simulation) Run(ctx context.Context, cluster *bee.Cluster, opts interface{}) (err error)

Run executes upload stress

Jump to

Keyboard shortcuts

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