func ValidateStorageVersionMigration(svm *storagemigration.StorageVersionMigration) field.ErrorList { … } func ValidateStorageVersionMigrationUpdate(newSVMBundle, oldSVMBundle *storagemigration.StorageVersionMigration) field.ErrorList { … } func ValidateStorageVersionMigrationStatusUpdate(newSVMBundle, oldSVMBundle *storagemigration.StorageVersionMigration) field.ErrorList { … } func isSuccessful(svm *storagemigration.StorageVersionMigration) bool { … } func isFailed(svm *storagemigration.StorageVersionMigration) bool { … } func isRunning(svm *storagemigration.StorageVersionMigration) bool { … } func getCondition(svm *storagemigration.StorageVersionMigration, conditionType storagemigration.MigrationConditionType) *storagemigration.MigrationCondition { … } func validateConditions(conditions []storagemigration.MigrationCondition, fldPath *field.Path) field.ErrorList { … } func validateCondition(condition storagemigration.MigrationCondition, fldPath *field.Path) field.ErrorList { … } func isValidConditionReason(value string) []string { … } func checkAndAppendError(allErrs field.ErrorList, fieldPath *field.Path, value string, message string) field.ErrorList { … } func convertResourceVersionToInt(rv string) (int64, error) { … }