// ValidateRuntimeClass validates the RuntimeClass func ValidateRuntimeClass(rc *node.RuntimeClass) field.ErrorList { … } // ValidateRuntimeClassUpdate validates an update to the object func ValidateRuntimeClassUpdate(new, old *node.RuntimeClass) field.ErrorList { … } func validateOverhead(overhead *node.Overhead, fldPath *field.Path) field.ErrorList { … } func validateScheduling(s *node.Scheduling, fldPath *field.Path) field.ErrorList { … } func validateTolerations(tolerations []core.Toleration, fldPath *field.Path) field.ErrorList { … }