kubernetes/pkg/controller/storageversionmigrator/util.go

func convertResourceVersionToInt(rv string) (int64, error) {}

func getGVRFromResource(svm *svmv1alpha1.StorageVersionMigration) schema.GroupVersionResource {}

// IsConditionTrue returns true if the StorageVersionMigration has the given condition
// It is exported for use in tests
func IsConditionTrue(svm *svmv1alpha1.StorageVersionMigration, conditionType svmv1alpha1.MigrationConditionType) bool {}

func indexOfCondition(svm *svmv1alpha1.StorageVersionMigration, conditionType svmv1alpha1.MigrationConditionType) int {}

func setStatusConditions(
	toBeUpdatedSVM *svmv1alpha1.StorageVersionMigration,
	conditionType svmv1alpha1.MigrationConditionType,
	reason, message string,
) *svmv1alpha1.StorageVersionMigration {}