test

package
v1.14.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const AWS = "aws"
View Source
const AwsCSI = "aws-csi"
View Source
const Azure = "azure"
View Source
const AzureCSI = "azure-csi"
View Source
const CSIStorageClassName = "e2e-csi-storage-class"
View Source
const FeatureCSI = "EnableCSI"
View Source
const Gcp = "gcp"
View Source
const Kind = "kind"
View Source
const StorageClassName = "e2e-storage-class"
View Source
const StorageClassName2 = "e2e-storage-class-2"
View Source
const UploaderTypeRestic = "restic"
View Source
const VanillaZFS = "vanilla-zfs"
View Source
const Vsphere = "vsphere"

Variables

View Source
var InstallVelero bool
View Source
var LocalCloudProviders = []string{Kind, VanillaZFS}
View Source
var PublicCloudProviders = []string{AWS, Azure, Gcp, Vsphere}
View Source
var UUIDgen uuid.UUID

Functions

This section is empty.

Types

type BackupConfig

type BackupConfig struct {
	BackupName                  string
	Namespace                   string
	BackupLocation              string
	UseVolumeSnapshots          bool
	ProvideSnapshotsVolumeParam bool
	Selector                    string
	TTL                         time.Duration
	IncludeResources            string
	ExcludeResources            string
	IncludeClusterResources     bool
	OrderedResources            string
	UseResticIfFSBackup         bool
	DefaultVolumesToFsBackup    bool
	SnapshotMoveData            bool
}

type Report

type Report struct {
	TestDescription string                 `yaml:"Test Description"`
	OtherFields     map[string]interface{} `yaml:",inline"`
}
var ReportData *Report

type SnapshotCheckPoint

type SnapshotCheckPoint struct {
	NamespaceBackedUp string
	// SnapshotIDList is for Azure CSI Verification
	//  we can get SnapshotID from VolumeSnapshotContent from a certain backup
	SnapshotIDList []string
	ExpectCount    int
	PodName        []string
	EnableCSI      bool
}

type VeleroCLI2Version

type VeleroCLI2Version struct {
	VeleroVersion string
	VeleroCLI     string
}

type VeleroCfgInPerf

type VeleroCfgInPerf struct {
	NFSServerPath         string
	TestCaseDescribe      string
	BackupForRestore      string
	DeleteClusterResource bool
}

type VeleroConfig

type VeleroConfig struct {
	VeleroCfgInPerf
	install.Options
	VeleroCLI                         string
	VeleroImage                       string
	VeleroVersion                     string
	CloudCredentialsFile              string
	BSLConfig                         string
	BSLBucket                         string
	BSLPrefix                         string
	VSLConfig                         string
	CloudProvider                     string
	ObjectStoreProvider               string
	VeleroNamespace                   string
	AdditionalBSLProvider             string
	AdditionalBSLBucket               string
	AdditionalBSLPrefix               string
	AdditionalBSLConfig               string
	AdditionalBSLCredentials          string
	RegistryCredentialFile            string
	RestoreHelperImage                string
	UpgradeFromVeleroVersion          string
	UpgradeFromVeleroCLI              string
	MigrateFromVeleroVersion          string
	MigrateFromVeleroCLI              string
	Plugins                           string
	AddBSLPlugins                     string
	KibishiiDirectory                 string
	Debug                             bool
	GCFrequency                       string
	DefaultClusterContext             string
	StandbyClusterContext             string
	ClientToInstallVelero             *TestClient
	DefaultClient                     *TestClient
	StandbyClient                     *TestClient
	ClusterToInstallVelero            string
	DefaultClusterName                string
	StandbyClusterName                string
	ProvideSnapshotsVolumeParam       bool
	VeleroServerDebugMode             bool
	SnapshotMoveData                  bool
	DataMoverPlugin                   string
	StandbyClusterCloudProvider       string
	StandbyClusterPlugins             string
	StandbyClusterObjectStoreProvider string
	DebugVeleroPodRestart             bool
	IsUpgradeTest                     bool
	WithoutDisableInformerCacheParam  bool
	DisableInformerCache              bool
	CreateClusterRoleBinding          bool
	DefaultCLSServiceAccountName      string
	StandbyCLSServiceAccountName      string
	ServiceAccountNameToInstall       string
	EKSPolicyARN                      string
}
var VeleroCfg VeleroConfig

Jump to

Keyboard shortcuts

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