Skip to content

Commit

Permalink
component-helpers dra: add AssumeCache
Browse files Browse the repository at this point in the history
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
pohly committed Sep 22, 2022
1 parent abca003 commit 7271d3d
Show file tree
Hide file tree
Showing 2 changed files with 915 additions and 0 deletions.

0 comments on commit 7271d3d

Please sign in to comment.