fileretrievaldynamic

package
v0.2.20 Latest Latest
Warning

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

Go to latest
Published: Sep 10, 2020 License: BSD-3-Clause Imports: 13 Imported by: 0 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 Check

func Check(c bee.Cluster, o Options, pusher *push.Pusher, pushMetrics bool) (err error)

Check uploads file on cluster and downloads them from N random nodes

Types

type Options

type Options struct {
	DownloadNodeCount int
	FileName          string
	FileSize          int64
	NewNodeCount      int
	Seed              int64
	StopNodeCount     int
	KubeConfig        string
	Namespace         string
	HelmRelease       string
	HelmChart         string
}

Options represents pushsync check options, there are two conditions: 1. 2x DownloadNodeCount + StopNodeCount + 2 <= NodeCount 2. 3x DownloadNodeCount + 2x StopNodeCount + 2 <= NodeCount + NewNodeCount

Jump to

Keyboard shortcuts

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