Merge pull request #34622 from irbekrm/add_remaining_items

Adds remainingItemCount to HTTP response
This commit is contained in:
Kubernetes Prow Robot 2022-08-24 14:11:49 -07:00 committed by GitHub
commit f72dfae2bd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions

View File

@ -269,6 +269,7 @@ of 500 pods at a time, request those chunks as follows:
"metadata": {
"resourceVersion":"10245",
"continue": "ENCODED_CONTINUE_TOKEN",
"remainingItemCount": 753,
...
},
"items": [...] // returns pods 1-500
@ -289,6 +290,7 @@ of 500 pods at a time, request those chunks as follows:
"metadata": {
"resourceVersion":"10245",
"continue": "ENCODED_CONTINUE_TOKEN_2",
"remainingItemCount": 253,
...
},
"items": [...] // returns pods 501-1000