smoke

package
v0.12.1 Latest Latest
Warning

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

Go to latest
Published: Apr 7, 2023 License: BSD-3-Clause Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCheck added in v0.7.0

func NewCheck(logger logging.Logger) beekeeper.Action

NewCheck returns new check

func NewLoadCheck added in v0.11.5

func NewLoadCheck(logger logging.Logger) beekeeper.Action

NewCheck returns new check

func NewStore added in v0.12.1

func NewStore(dur time.Duration) *store

Types

type Check

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

Check instance

func (*Check) Report added in v0.8.10

func (c *Check) Report() []prometheus.Collector

func (*Check) Run added in v0.7.0

func (c *Check) Run(ctx context.Context, cluster orchestration.Cluster, opts interface{}) error

Run creates file of specified size that is uploaded and downloaded.

type LoadCheck added in v0.11.5

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

Check instance

func (*LoadCheck) Report added in v0.11.5

func (c *LoadCheck) Report() []prometheus.Collector

func (*LoadCheck) Run added in v0.11.5

func (c *LoadCheck) Run(ctx context.Context, cluster orchestration.Cluster, opts interface{}) error

Run creates file of specified size that is uploaded and downloaded.

type Options

type Options struct {
	ContentSize   int64
	RndSeed       int64
	PostageAmount int64
	PostageDepth  uint64
	TxOnErrWait   time.Duration
	RxOnErrWait   time.Duration
	NodesSyncWait time.Duration
	Duration      time.Duration
	// load test params
	UploaderCount   int
	UploadGroups    []string
	DownloaderCount int
	DownloadGroups  []string
	GasPrice        string
	MaxUseBatch     time.Duration
}

Options represents smoke test options

func NewDefaultOptions added in v0.7.0

func NewDefaultOptions() Options

NewDefaultOptions returns new default options

Jump to

Keyboard shortcuts

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