Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/kubernetes/client-go
/ CalculateBackoff
Method
CalculateBackoff
rest/urlbackoff.go:37–37 ·
view source on GitHub ↗
(actualUrl *url.URL)
Source
from the content-addressed store, hash-verified
35
type
BackoffManager
interface
{
36
UpdateBackoff(actualUrl *url.URL, err error, responseCode int)
37
CalculateBackoff(actualUrl *url.URL) time.Duration
38
Sleep(d time.Duration)
39
}
40
Callers
5
TestCreateBackoffManager
Function · 0.65
WatchWithSpecificDecoders
Method · 0.65
Stream
Method · 0.65
request
Method · 0.65
TestBackoffLifecycle
Function · 0.65
Implementers
3
testBackoffManager
rest/request_test.go
NoBackoff
rest/urlbackoff.go
URLBackoff
rest/urlbackoff.go
Calls
no outgoing calls
Tested by
2
TestCreateBackoffManager
Function · 0.52
TestBackoffLifecycle
Function · 0.52