// Validate validates the provided machines.
Validate validates the provided machines.
// Validate validates the provided machines .
func Validate(machines []*clusterv1.Machine) field.ErrorList {
	var errors field.ErrorList
	for _, f := range []machineListValidationFunc{
		validateAtLeastOneMaster,
		validateVersions,
		validateKubernetesVersion,
	} {
		errors = append(errors, f(machines)...)
	}
	return errors
}
func Validate ( machines [ ] * clusterv1 . Machine ) field . ErrorList { var errors field . ErrorList for _ , f := range [ ] machineListValidationFunc { validateAtLeastOneMaster , validateVersions , validateKubernetesVersion , } { errors = append ( errors , f ( machines ) ... ) } return errors }
Validate validates the provided machines.
Validate validates the provided machines .
// Run global validation functions that operate on the full list of machines.