pushsync

package
v0.7.1 Latest Latest
Warning

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

Go to latest
Published: Jun 9, 2021 License: BSD-3-Clause Imports: 11 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() beekeeper.Action

NewCheck returns new check

Types

type Check

type Check struct{}

Check instance

func (*Check) Run added in v0.7.0

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

type Options

type Options struct {
	ChunksPerNode   int
	MetricsPusher   *push.Pusher
	Mode            string
	PostageAmount   int64
	PostageDepth    uint64
	PostageWait     time.Duration
	Retries         int           // number of reties on problems
	RetryDelay      time.Duration // retry delay duration
	Seed            int64
	UploadNodeCount int
}

Options represents check 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