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