MCPcopy
hub / github.com/kubernetes/client-go / UpdateBackoff

Method UpdateBackoff

rest/urlbackoff.go:36–36  ·  view source on GitHub ↗
(actualUrl *url.URL, err error, responseCode int)

Source from the content-addressed store, hash-verified

34
35type BackoffManager interface {
36 UpdateBackoff(actualUrl *url.URL, err error, responseCode int)
37 CalculateBackoff(actualUrl *url.URL) time.Duration
38 Sleep(d time.Duration)
39}

Callers 4

TestCreateBackoffManagerFunction · 0.65
StreamMethod · 0.65
requestMethod · 0.65

Implementers 3

testBackoffManagerrest/request_test.go
NoBackoffrest/urlbackoff.go
URLBackoffrest/urlbackoff.go

Calls

no outgoing calls

Tested by 1

TestCreateBackoffManagerFunction · 0.52