e2e

package
v0.0.0-...-661409f Latest Latest
Warning

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

Go to latest
Published: Apr 15, 2024 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateFakeSnapshot

func CreateFakeSnapshot(claimName, namespace, snapshotClassName string, uid types.UID) *volumesnapshotsv1.VolumeSnapshot

CreateFakeSnapshot returns a fake VolumeSnapshot with the provided parameters

func CreateFakeSnapshotClass

func CreateFakeSnapshotClass(driver string) *volumesnapshotsv1.VolumeSnapshotClass

CreateFakeSnapshotClass returns a fake VolumeSnapshotClass with the provided parameters

func CreatePV

func CreatePV(driver, volume string, size int) *corev1.PersistentVolume

CreatePV returns a fake PersistentVolume with the provided parameters

func CreatePVC

func CreatePVC(namespace, scName string, uid types.UID, size int) *corev1.PersistentVolumeClaim

CreatePVC returns a fake PersistentVolumeClaim with the provided parameters

func GenerateDriverName

func GenerateDriverName() string

GenerateDriverName creates a random name to use for the driver

Types

This section is empty.

Jump to

Keyboard shortcuts

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