kibishii

package
v0.0.0-...-c1b1270 Latest Latest
Warning

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

Go to latest
Published: Dec 13, 2024 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var DefaultKibishiiData = &KibishiiData{2, 10, 10, 1024, 1024, 0, DefaultKibishiiWorkerCounts}
View Source
var DefaultKibishiiWorkerCounts = 2
View Source
var KibishiiPVCNameList = []string{"kibishii-data-kibishii-deployment-0", "kibishii-data-kibishii-deployment-1"}
View Source
var KibishiiPodNameList = []string{"kibishii-deployment-0", "kibishii-deployment-1"}
View Source
var KibishiiStorageClassName = "kibishii-storage-class"

Functions

func ClearKibishiiData

func ClearKibishiiData(ctx context.Context, namespace, podName, containerName, dir string) error

func GetKibishiiPVCNameList

func GetKibishiiPVCNameList(workerCount int) []string

func KibishiiGenerateData

func KibishiiGenerateData(oneHourTimeout context.Context, kibishiiNamespace string, kibishiiData *KibishiiData) error

func KibishiiPrepareBeforeBackup

func KibishiiPrepareBeforeBackup(oneHourTimeout context.Context, client TestClient,
	providerName, kibishiiNamespace, registryCredentialFile, veleroFeatures,
	kibishiiDirectory string, useVolumeSnapshots bool, kibishiiData *KibishiiData) error

func KibishiiVerifyAfterRestore

func KibishiiVerifyAfterRestore(client TestClient, kibishiiNamespace string, oneHourTimeout context.Context,
	kibishiiData *KibishiiData, incrementalFileName string) error

func RunKibishiiTests

func RunKibishiiTests(
	veleroCfg VeleroConfig,
	backupName string,
	restoreName string,
	backupLocation string,
	kibishiiNamespace string,
	useVolumeSnapshots bool,
	defaultVolumesToFsBackup bool,
) error

RunKibishiiTests runs kibishii tests on the provider.

Types

type KibishiiData

type KibishiiData struct {
	Levels        int
	DirsPerLevel  int
	FilesPerLevel int
	FileLength    int
	BlockSize     int
	PassNum       int
	ExpectedNodes int
}

Jump to

Keyboard shortcuts

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