mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-23 11:50:44 +00:00
client-go token source transport implement RoundTripperWrapper interface
This commit is contained in:
parent
aa964e097c
commit
ef190f860a
@ -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