code: func (i *defaultUpdatedObjectInfo) Preconditions() *metav1.Preconditions {
  	// Attempt to get the UID out of the object
  	accessor, err := meta.Accessor(i.obj)
  	if err != nil {
  		// If no UID can be read, no preconditions are possible
  		return nil
  	}
  
  	// If empty, no preconditions needed
  	uid := accessor.GetUID()
  	if len(uid) == 0 {
  		return nil
  	}
  
  	return &metav1.Preconditions{UID: &uid}
  }
docs: // Preconditions satisfies the UpdatedObjectInfo interface.