LastSyncResourceVersion is the resource version observed when last sync with the underlying store The value returned is not synchronized with access to the underlying store and is not thread-safe
()
| 389 | // LastSyncResourceVersion is the resource version observed when last sync with the underlying store |
| 390 | // The value returned is not synchronized with access to the underlying store and is not thread-safe |
| 391 | func (r *Reflector) LastSyncResourceVersion() string { |
| 392 | r.lastSyncResourceVersionMutex.RLock() |
| 393 | defer r.lastSyncResourceVersionMutex.RUnlock() |
| 394 | return r.lastSyncResourceVersion |
| 395 | } |
| 396 | |
| 397 | func (r *Reflector) setLastSyncResourceVersion(v string) { |
| 398 | r.lastSyncResourceVersionMutex.Lock() |
no outgoing calls