fileretrievaldynamic

package
v0.3.1 Latest Latest
Warning

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

Go to latest
Published: Sep 22, 2020 License: BSD-3-Clause Imports: 13 Imported by: 0

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