Hidetake Iwata
e31ad59e63
Add clean command ( #1248 )
...
* Add clean command
* Refactor
* Refactor
2025-01-18 22:24:23 +09:00
Hidetake Iwata
0e9a39a571
Infer apiVersion from KUBERNETES_EXEC_INFO environment variable ( #1162 )
...
* Infer apiVersion from KUBERNETES_EXEC_INFO
* Test client.authentication.k8s.io/v1
* Set --exec-interactive-mode
* Set --exec-interactive-mode=Never
* Fix comments
2024-11-03 17:21:25 +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
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
5a3227409c
Refactor: rename to infrastructure package ( #426 )
2020-11-21 07:56:52 +09:00
Hidetake Iwata
13d232ec21
Refactor: move oidc/client package ( #425 )
2020-11-21 07:27:34 +09:00
Hidetake Iwata
9bab6b2ccd
Refactor: extract tokencache and repository package ( #424 )
2020-11-20 07:01:16 +09:00
Hidetake Iwata
93fc548544
Refactor: extract kubeconfig package ( #423 )
...
* Refactor: extract kubeconfig package
* Refactor: use pass by value instead of reference
2020-11-18 10:36:42 +09:00
Hidetake Iwata
4773b67abd
Refactor: extract credentialplugin package ( #422 )
2020-11-18 10:00:39 +09:00
Hidetake Iwata
34762216c1
Refactor: extract tlsclientconfig.Config ( #409 )
2020-11-03 14:37:24 +09:00
Eric Poitras
878847f937
feat(389): Prevent concurrent authentication using a lockfile. ( #397 )
...
* feat(389): Prevent concurrent authentication using a lockfile to protect the local port allocation.
* Fix test
* Refactor: inline values
Co-authored-by: Hidetake Iwata <int128@gmail.com >
2020-10-25 14:32:53 +09:00
Hidetake Iwata
e88138c640
Refactor: fix token verifier does not respect clock ( #290 )
2020-05-13 15:45:14 +09:00
Hidetake Iwata
9ad520ba22
Refactor: inject stdout mock in integration test ( #289 )
2020-05-13 11:25:59 +09:00
Hidetake Iwata
d59e3355fe
Refactor: rename to adaptor/reader
2020-02-21 22:56:43 +09:00
Hidetake Iwata
9d2d0109d5
Refactor: extract adaptor/clock and testing/clock
2020-02-21 22:49:48 +09:00
Hidetake Iwata
f89525b184
Refactor: extract domain/jwt and testing/jwt ( #241 )
...
* Refactor: extract domain/jwt and testing/jwt
* Refactor: remove jwt-go dep from product code
2020-02-21 22:33:08 +09:00
Hidetake Iwata
c53d415255
Refactor test and interfaces ( #227 )
...
* Refactor: extract adaptors.browser package
* Refactor: rename to idp.Provider
* Refactor: rename to adaptors.credentialpluginwriter
2020-02-07 11:56:31 +09:00
Hidetake Iwata
d223175b92
Refactor dependency injection ( #209 )
...
* Refactor: use func type instead of factory interface
* Refactor: remove duplicated dependencies in di.go
2020-01-17 22:01:40 +09:00
Hidetake Iwata
cf4e310b2e
Refactor: rename to oidcclient package and extract method ( #175 )
...
* Refactor: rename oidc package to oidcclient
* Refactor: extract parseToken method
2019-10-29 10:18:24 +09:00
Hidetake Iwata
4007e7f61a
Refactor: extract jwtdecoder package ( #174 )
2019-10-29 09:55:29 +09:00
Hidetake Iwata
2700e439b9
Refactor: remove kubeconfig.OIDCConfig for single responsibility ( #173 )
...
* Refactor: remove kubeconfig.OIDCConfig for single responsibility
* fixup: add comments and rename methods
* fixup: fix methods name
* fixup: replace GetX509OrNil with SetRootCAs
2019-10-28 23:45:17 +09:00
Hidetake Iwata
dbf6238029
Refactor: rename auth package ( #172 )
2019-10-28 20:02:59 +09:00
Hidetake Iwata
8c640f6c73
Add setup command ( #157 )
...
* Add setup command
* Refactor: extract IDTokenSubject instead of sub claims
2019-09-29 18:34:59 +09:00
Hidetake Iwata
6b1e11f071
Refactor: use channel to wait for opening browser ( #143 )
2019-08-30 20:41:36 +09:00
Hidetake Iwata
bf02210f2a
Refactor: merge interface and implementation package ( #141 )
...
* Refactor: move logger interfaces
* Refactor: move oidc interfaces
* Refactor: move env interface
* Refactor: move credential plugin interface
* Refactor: move token cache interface
* Refactor: move kubeconfig interface
* Refactor: move cmd interface
* Refactor: move use-cases interfaces
2019-08-28 22:55:28 +09:00
Hidetake Iwata
0a4ebb26c2
Refactor packages structure ( #129 )
2019-08-09 10:15:17 +09:00