func ValidateCreateTikvCluster(tc *v1alpha1.TikvCluster) field.ErrorList {
	allErrs := field.ErrorList{}
	// basic validation
	allErrs = append(allErrs, ValidateTikvCluster(tc)...)
	allErrs = append(allErrs, validateNewTikvClusterSpec(&tc.Spec, field.NewPath("spec"))...)
	return allErrs
}
// ValidateCreateTikvCLuster validates a newly created TikvCluster
ValidateCreateTikvCLuster validates a newly created TikvCluster
// ValidateCreateTikvCLuster validates a newly created TikvCluster
func ValidateCreateTikvCluster(tc *v1alpha1.TikvCluster) field.ErrorList {
	allErrs := field.ErrorList{}
	allErrs = append(allErrs, ValidateTikvCluster(tc)...)
	allErrs = append(allErrs, validateNewTikvClusterSpec(&tc.Spec, field.NewPath("spec"))...)
	return allErrs
}
func ValidateCreateTikvCluster ( tc * v1alpha1 . TikvCluster ) field . ErrorList { allErrs := field . ErrorList { } allErrs = append ( allErrs , ValidateTikvCluster ( tc ) ... ) allErrs = append ( allErrs , validateNewTikvClusterSpec ( & tc . Spec , field . NewPath ( " " ) ) ... ) return allErrs }
ValidateCreateTikvCLuster validates a newly created TikvCluster
ValidateCreateTikvCLuster validates a newly created TikvCluster
// basic validation