smoke

package
v0.26.0 Latest Latest
Warning

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

Go to latest
Published: Feb 10, 2025 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(log logging.Logger) beekeeper.Action

NewCheck returns new check

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
	PostageTTL      time.Duration
	PostageDepth    uint64
	PostageLabel    string
	TxOnErrWait     time.Duration
	RxOnErrWait     time.Duration
	NodesSyncWait   time.Duration
	Duration        time.Duration
	UploadTimeout   time.Duration
	DownloadTimeout time.Duration
	// load test params
	UploaderCount           int
	UploadGroups            []string
	DownloaderCount         int
	DownloadGroups          []string
	MaxCommittedDepth       uint8
	CommittedDepthCheckWait time.Duration
	IterationWait           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