Kubernetes API Translator
Go to file
Colleen Murphy 9f1a27db06 Add pagination to partition store
Extend the partition store to parse page and pagesize parameters and
return a subset of list results. The total number of pages is included
in the list response.

Request an initial page:

GET /v1/secrets?pagesize=10

or

GET /v1/secrets?pagesize=10&page=1

Request subsequent pages, or arbitrary pages:

GET /v1/secrets?pagesize=10&page=37

If a page number is out of bounds, an empty list is returned.
2022-12-20 15:01:15 -08:00
pkg Add pagination to partition store 2022-12-20 15:01:15 -08:00
scripts Add go generate to CI 2022-10-27 22:18:32 -04:00
.dockerignore Refactor 2020-01-30 22:37:59 -07:00
.drone.yml Add go generate to CI 2022-10-27 22:18:32 -04:00
.gitignore Dependencies bumps 2022-04-05 17:15:14 +02:00
.golangci.json Adding validate phase to the CI 2022-10-14 15:21:17 -05:00
Dockerfile Bump go to version 1.19 2022-10-14 08:52:00 -05:00
go.mod Add pagination to partition store 2022-12-20 15:01:15 -08:00
go.sum Add pagination to partition store 2022-12-20 15:01:15 -08:00
LICENSE Initial commit 2019-08-04 10:41:32 -07:00
main.go Update wrangler 2022-01-07 14:31:29 -07:00
Makefile Adding validate phase to the CI 2022-10-14 15:21:17 -05:00