code: func ValidateKubeletConfiguration(internalcfg *kubeadmapi.ClusterConfiguration, fldPath *field.Path) field.ErrorList {
  	allErrs := field.ErrorList{}
  	if internalcfg.ComponentConfigs.Kubelet == nil {
  		return allErrs
  	}
  
  	if err := kubeletvalidation.ValidateKubeletConfiguration(internalcfg.ComponentConfigs.Kubelet); err != nil {
  		allErrs = append(allErrs, field.Invalid(fldPath, "", err.Error()))
  	}
  	return allErrs
  }
docs: // ValidateKubeletConfiguration validates kubelet configuration and collects all encountered errors