mirror of
https://github.com/kubernetes/client-go.git
synced 2025-08-26 18:59:26 +00:00
client-go token source transport implement RoundTripperWrapper interface
Kubernetes-commit: ef190f860a90df36b415e16f0de16bfeedc17d21
This commit is contained in:
parent
6d49694c44
commit
26d331c399
@ -119,6 +119,8 @@ func (tst *tokenSourceTransport) CancelRequest(req *http.Request) {
|
|||||||
tryCancelRequest(tst.ort, req)
|
tryCancelRequest(tst.ort, req)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
func (tst *tokenSourceTransport) WrappedRoundTripper() http.RoundTripper { return tst.base }
|
||||||
|
|
||||||
type fileTokenSource struct {
|
type fileTokenSource struct {
|
||||||
path string
|
path string
|
||||||
period time.Duration
|
period time.Duration
|
||||||
|
Loading…
Reference in New Issue
Block a user