code: func ValidateDaemonSetStatusUpdate(ds, oldDS *apps.DaemonSet) field.ErrorList {
  	allErrs := apivalidation.ValidateObjectMetaUpdate(&ds.ObjectMeta, &oldDS.ObjectMeta, field.NewPath("metadata"))
  	allErrs = append(allErrs, validateDaemonSetStatus(&ds.Status, field.NewPath("status"))...)
  	if apivalidation.IsDecremented(ds.Status.CollisionCount, oldDS.Status.CollisionCount) {
  		value := int32(0)
  		if ds.Status.CollisionCount != nil {
  			value = *ds.Status.CollisionCount
  		}
  		allErrs = append(allErrs, field.Invalid(field.NewPath("status").Child("collisionCount"), value, "cannot be decremented"))
  	}
  	return allErrs
  }
docs: // ValidateDaemonSetStatusUpdate validates tests if required fields in the DaemonSet Status section