-
-
Notifications
You must be signed in to change notification settings - Fork 307
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add default pagination to
watcher
(#1249)
* Paginate initial watch list See #1209, relatively untested prototype and doesn't include any proposed API changes * Remove managed_fields stripper Users can do this anyway using for_stream * Make page size configurable * initial clippy fixes Signed-off-by: clux <[email protected]> * more unrelated clippy fixes Signed-off-by: clux <[email protected]> * clippy fixes related to this pr Signed-off-by: clux <[email protected]> * align default pagination size with client-go (500) Signed-off-by: clux <[email protected]> * caveat the page example + rename to page_size name matches what it's called upstream + it's shorter Signed-off-by: clux <[email protected]> * add a new mock test system for the runtime Signed-off-by: clux <[email protected]> * remove unnecessary boxing + slight rename Signed-off-by: clux <[email protected]> --------- Signed-off-by: clux <[email protected]> Co-authored-by: Natalie Klestrup Röijezon <[email protected]>
- Loading branch information
Showing
10 changed files
with
225 additions
and
46 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.