Clay B.
751f5f72c7
Provide a token-cache-storage type of none ( #1285 )
...
Co-authored-by: Hidetake Iwata <int128@gmail.com >
2025-05-13 21:52:09 +09:00
Hidetake Iwata
bc7e71f586
Change default token cache storage to disk ( #1264 )
...
* Change default token cache storage to disk
* Fix
* Fix
* Clean up both storages
2025-01-30 18:47:07 +09:00
James White
6726d851cb
Fallback to disk storage if too big for keyring ( #1257 )
2025-01-25 09:54:28 +09:00
Hidetake Iwata
e31ad59e63
Add clean command ( #1248 )
...
* Add clean command
* Refactor
* Refactor
2025-01-18 22:24:23 +09:00
Hidetake Iwata
6f62b25c40
Extract struct tokencache.Config ( #1226 )
2025-01-11 16:44:56 +09:00
kalle (jag)
afb25f511c
Added key cache via OS keyring ( #973 )
...
* Added key cache via OS keyring
* Fix lint issue
* Disable keyring in integration tests
* Disable keyring in system test
---------
Co-authored-by: Hidetake Iwata <int128@gmail.com >
2025-01-08 12:32:26 +09:00
Hidetake Iwata
f1f2a37adc
Include essential options to token cache key ( #1161 )
2024-10-26 21:42:23 +09:00
Hidetake Iwata
c2cbc47438
Lock dedicated file instead of token cache file ( #1146 )
...
* Run test on Windows
* Run integration_test on Windows and macOS
* Lock dedicated file instead of token cache file
* Add comment
2024-09-24 14:39:53 +09:00
Hidetake Iwata
3d114bfeba
Lock token cache file before authentication ( #1126 )
...
* Lock token cache file in authentication
* Fix tests
* make generate
* Lock before FindByKey
* Fix test
2024-09-21 14:54:32 +09:00
Hidetake Iwata
66127ff3fc
Migrate to mockery packages feature ( #1124 )
...
* Migrate to mockery packages feature
* Fix workflow
2024-08-17 12:27:13 +09:00
Hidetake Iwata
10412effa2
Run go fmt ( #866 )
...
* Run go fmt
* Generated by GitHub Actions (go / generate)
https://github.com/int128/kubelogin/actions/runs/4971610724
---------
Co-authored-by: update-generated-files-action <41898282+github-actions[bot]@users.noreply.github.com>
2023-05-14 18:21:55 +09:00
Hidetake Iwata
1169cb534b
refactor: replace io/ioutil with os, io package ( #832 )
2022-11-19 19:06:22 +09:00
Hidetake Iwata
7152bccd21
refactor: migrate to Testify Mock ( #739 )
2022-07-16 16:55:51 +09:00
Hidetake Iwata
eb7ce56909
Expand homedir paths in get-token options ( #498 )
...
* Expand homedir paths in get-token options
* Replace go-homedir with Go 1.16 os.UserHomeDir()
2021-03-15 19:03:11 +09:00
Mattias Appelgren
97cc85d079
repository: Expand ~ in homedir ( #489 )
...
Fixes: https://github.com/int128/kubelogin/issues/488
2021-03-14 09:07:29 +09:00
Hidetake Iwata
b1d8e8f7e1
Refactor: rewrite with Go errors package ( #427 )
2020-11-21 12:10:42 +09:00
Hidetake Iwata
9bab6b2ccd
Refactor: extract tokencache and repository package ( #424 )
2020-11-20 07:01:16 +09:00