Motivation
As a developer, I would like to support fetching a provider that uses paginated requests.
In-depth
Some of the EKS providers support paginated requests. I.e when cloudbeat calls the AWS provider's API, the API will return the first 100 results along with a pagination token.
This pagination token should be used to continue to get the rest of the results.
Currently, we only ship the first paginated results (100 results) but we would like to ship all the results to the evaluator.
This PR might result in a fetcher design change that will affect the entire fetcher interface.
Definition of done
- Get all the relevant results from ECR+ELB using paginated requests.
Motivation
As a developer, I would like to support fetching a provider that uses paginated requests.
In-depth
Some of the EKS providers support paginated requests. I.e when cloudbeat calls the AWS provider's API, the API will return the first 100 results along with a pagination token.
This pagination token should be used to continue to get the rest of the results.
Currently, we only ship the first paginated results (100 results) but we would like to ship all the results to the evaluator.
This PR might result in a fetcher design change that will affect the entire fetcher interface.
Definition of done