-
Notifications
You must be signed in to change notification settings - Fork 4.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(client): add optional in-memory cache to client (#9521)
* initial api cache implementation * use single cache * add token exchange * add args validation * add a lock mechanism * add arg for cache refresh * add more logging * go mod tidy and add more logging * hash cache keys * refactor client cache and replace print with klog in the api module * make key fields private * add error handler * cache secrets * fix secret kind * cache nodes * cache namespaces * cache persistent volumes * cache persistent volume claims * move cache out of core package * fix import cycle * fix sha generation and token exchange error handling * fix build * fix dependencies * update log messages * add pprof/prometheus metrics handlers and synced load optimization * tiny refactor * build and push API image from PR * ignore chart version bump check * update ci helm action * store load locks in a map * do not return nils * fix nil pointer when user has no permissions to cache * small refactor * add license headers * remove unused function * refactor * cleanup logging levels * update args documentation * update proxy mode arg doc * add cache design documentation template * cache design doc: add motivation paragraph * update docs * update docs * cache design doc: initial draft * add goals * merge goals * ide suggestions * merge goals * add cache sequence diagram * update proposal section * small changes * add second sequence diagram * start describing implementation * update implementation paragraph --------- Co-authored-by: Marcin Maciaszczyk <marcin9yk@icloud.com>
- Loading branch information
1 parent
7411227
commit 9d28815
Showing
112 changed files
with
1,876 additions
and
274 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.