testutils

package
v0.2.2-beta Latest Latest
Warning

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

Go to latest
Published: Jul 6, 2021 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddAC

func AddAC(k8sClient *k8s.KubeClient, acs ...*accrd.AvailableCapacity) error

AddAC create test AvailableCapacities

func ReadVolumeAndChangeStatus

func ReadVolumeAndChangeStatus(k8sClient *k8s.KubeClient, volumeID string, namespace string, newStatus string) error

ReadVolumeAndChangeStatus returns error if something went wrong

func VolumeReconcileImitation

func VolumeReconcileImitation(k8sClient *k8s.KubeClient, volID string, namespace string, newStatus string)

VolumeReconcileImitation looking for volume CR with name volId and sets it's status to newStatus

Types

This section is empty.

Jump to

Keyboard shortcuts

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