code: func (a APIObjectVersioner) CompareResourceVersion(lhs, rhs runtime.Object) int {
  	lhsVersion, err := Versioner.ObjectResourceVersion(lhs)
  	if err != nil {
  		// coder error
  		panic(err)
  	}
  	rhsVersion, err := Versioner.ObjectResourceVersion(rhs)
  	if err != nil {
  		// coder error
  		panic(err)
  	}
  
  	if lhsVersion == rhsVersion {
  		return 0
  	}
  	if lhsVersion < rhsVersion {
  		return -1
  	}
  
  	return 1
  }
docs: // CompareResourceVersion compares etcd resource versions.  Outside this API they are all strings,
  // but etcd resource versions are special, they're actually ints, so we can easily compare them.