code: func (podStrategy) Validate(ctx context.Context, obj runtime.Object) field.ErrorList {
  	pod := obj.(*api.Pod)
  	allErrs := validation.ValidatePod(pod)
  	allErrs = append(allErrs, validation.ValidateConditionalPod(pod, nil, field.NewPath(""))...)
  	return allErrs
  }
docs: // Validate validates a new pod.