Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
component-helpers dra: add AssumeCache
This is identical to the proposal from kubernetes#112202. In contrast to the AssumeCache in the volume binding scheduler plugin, this version of the code does not make assumptions about the content of the ResourceVersion fields, i.e. it does no "is newer than" comparison. Therefore objects might go back in time under some circumstances. This was seen as insufficient for inclusion in client-go, but for DRA its better than not having the AssumeCache, so the code gets included here for use in that controller.
- Loading branch information