mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-22 03:11:40 +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)
|
||||
}
|
||||
|
||||
func (tst *tokenSourceTransport) WrappedRoundTripper() http.RoundTripper { return tst.base }
|
||||
|
||||
type fileTokenSource struct {
|
||||
path string
|
||||
period time.Duration
|
||||
|
Loading…
Reference in New Issue
Block a user