| Modifier and Type | Class and Description |
|---|---|
static class |
Pager.PagerParams |
| Constructor and Description |
|---|
Pager(Function<Pager.PagerParams,okhttp3.Call> listFunc,
io.kubernetes.client.openapi.ApiClient client,
Integer limit,
Type listType)
Pagination in kubernetes list call depends on continue and limit variable
|
| Modifier and Type | Method and Description |
|---|---|
Iterator<ApiType> |
iterator()
Iterator iterator.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEach, spliteratorpublic Pager(Function<Pager.PagerParams,okhttp3.Call> listFunc, io.kubernetes.client.openapi.ApiClient client, Integer limit, Type listType)
listFunc - lambda of type: (PagerParams p)->{return
list<*>[namespace[s|d]]*<*>Call(...p.getContinue(),...p.getLimit()...);}client - instance of ApiClientlimit - size of list to be fetchedlistType - Type of list to be fetchedCopyright © 2023. All rights reserved.