Documentation ¶
Index ¶
- func AddAC(k8sClient *k8s.KubeClient, acs ...*accrd.AvailableCapacity) error
- func ReadVolumeAndChangeStatus(k8sClient *k8s.KubeClient, volumeID string, namespace string, newStatus string) error
- func VolumeReconcileImitation(k8sClient *k8s.KubeClient, volID string, namespace string, newStatus string)
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.
Click to show internal directories.
Click to hide internal directories.