check

package
v0.6.6 Latest Latest
Warning

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

Go to latest
Published: Apr 30, 2021 License: BSD-3-Clause Imports: 8 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Run added in v0.4.9

func Run(ctx context.Context, cluster *bee.Cluster, check Check, options Options, stages []Stage, seed int64) (err error)

Run runs check against the cluster

func RunConcurrently added in v0.4.9

func RunConcurrently(ctx context.Context, cluster *bee.Cluster, check Check, options Options, stages []Stage, buffer int, seed int64) (err error)

RunConcurrently runs check against the cluster, cluster updates are executed concurrently

Types

type Actions added in v0.4.9

type Actions struct {
	AddCount    int
	StartCount  int
	StopCount   int
	DeleteCount int
}

Actions represents node group update actions

type Check added in v0.4.9

type Check interface {
	Run(ctx context.Context, cluster *bee.Cluster, o Options) (err error)
}

Check defines Bee check

type Options added in v0.4.9

type Options struct {
	FilesPerNode          int
	FileSize              int64
	MetricsEnabled        bool
	MetricsPusher         *push.Pusher
	Retries               int
	RetryDelay            time.Duration
	Seed                  int64
	UploadNodesPercentage int
}

Options for Bee checks

type Stage added in v0.4.9

type Stage []Update

Stage define stages for updating Bee

type Update added in v0.4.9

type Update struct {
	NodeGroup string
	Actions   Actions
}

Update represents details for updating a node group

Jump to

Keyboard shortcuts

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