mirror of
https://github.com/gravitational/teleport.git
synced 2026-09-19 11:00:37 +08:00
* [clientutils] Add CollectWithFallback helper This helper is useful when migrating from non-paginated to paginated resource getters. Internally it will use auto page sizing for a given page getter and fall back to unary getter when the remote does not support the new RPC. * Update api/utils/clientutils/resources_test.go Co-authored-by: Chris Thach <chris.thach@protonmail.com> * Update api/utils/clientutils/resources_test.go Co-authored-by: Chris Thach <chris.thach@protonmail.com> * Update api/utils/clientutils/resources_test.go Co-authored-by: Chris Thach <chris.thach@protonmail.com> --------- Co-authored-by: Chris Thach <chris.thach@protonmail.com>