Documentation ¶
Index ¶
- func CompareConditions(realConditions, expectedConditions []v1.PersistentVolumeClaimCondition) bool
- func GetObjectKey(pvcName string) string
- func GetTestPVC(volumeName string, specSize, statusSize, allocatedSize string, ...) *v1.PersistentVolumeClaim
- func MakePVC(conditions []v1.PersistentVolumeClaimCondition) pvcModifier
- func MakeTestPVC(conditions []v1.PersistentVolumeClaimCondition) pvcModifier
- func QuantityGB(i int) resource.Quantity
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CompareConditions ¶
func CompareConditions(realConditions, expectedConditions []v1.PersistentVolumeClaimCondition) bool
func GetObjectKey ¶ added in v1.12.0
func GetTestPVC ¶
func GetTestPVC(volumeName string, specSize, statusSize, allocatedSize string, resizeStatus v1.ClaimResourceStatus) *v1.PersistentVolumeClaim
func MakePVC ¶
func MakePVC(conditions []v1.PersistentVolumeClaimCondition) pvcModifier
func MakeTestPVC ¶
func MakeTestPVC(conditions []v1.PersistentVolumeClaimCondition) pvcModifier
func QuantityGB ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.