func ValidateConditionalPodTemplate(podTemplate, oldPodTemplate *api.PodTemplateSpec, fldPath *field.Path) field.ErrorList {
	var (
		podSpec    *api.PodSpec
		oldPodSpec *api.PodSpec
	)
	if podTemplate != nil {
		podSpec = &podTemplate.Spec
	}
	if oldPodTemplate != nil {
		oldPodSpec = &oldPodTemplate.Spec
	}
	return validateConditionalPodSpec(podSpec, oldPodSpec, fldPath.Child("spec"))
}
// ValidateConditionalPodTemplate validates conditionally valid fields.
// This should be called from Validate/ValidateUpdate for all resources containing a PodTemplateSpec
ValidateConditionalPodTemplate validates conditionally valid fields.
This should be called from Validate/ValidateUpdate for all resources containing a PodTemplateSpec
// ValidateConditionalPodTemplate validates conditionally valid fields . // This should be called from Validate / ValidateUpdate for all resources containing a PodTemplateSpec
func ValidateConditionalPodTemplate(podTemplate, oldPodTemplate *api.PodTemplateSpec, fldPath *field.Path) field.ErrorList {
	var (
		podSpec    *api.PodSpec
		oldPodSpec *api.PodSpec
	)
	if podTemplate != nil {
		podSpec = &podTemplate.Spec
	}
	if oldPodTemplate != nil {
		oldPodSpec = &oldPodTemplate.Spec
	}
	return validateConditionalPodSpec(podSpec, oldPodSpec, fldPath.Child("spec"))
}
func ValidateConditionalPodTemplate ( podTemplate , oldPodTemplate * api . PodTemplateSpec , fldPath * field . Path ) field . ErrorList { var ( podSpec * api . PodSpec oldPodSpec * api . PodSpec ) if podTemplate != nil { podSpec = & podTemplate . Spec } if oldPodTemplate != nil { oldPodSpec = & oldPodTemplate . Spec } return validateConditionalPodSpec ( podSpec , oldPodSpec , fldPath . Child ( " " ) ) }
ValidateConditionalPodTemplate validates conditionally valid fields.
ValidateConditionalPodTemplate validates conditionally valid fields .