MCPcopy
hub / github.com/istio/istio / Now

Method Now

pkg/backoff/exponential_test.go:61–65  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

59}
60
61func (c *TestClock) Now() time.Time {
62 t := c.start.Add(c.i)
63 c.i += time.Second
64 return t
65}
66
67func TestRetry(t *testing.T) {
68 o := DefaultOption()

Callers 15

runBugReportCommandFunction · 0.80
dumpRevisionsAndVersionsFunction · 0.80
gatherInfoFunction · 0.80
getFromClusterFunction · 0.80
getProxyLogsFunction · 0.80
getIstiodLogsFunction · 0.80
getOperatorLogsFunction · 0.80
getCniLogsFunction · 0.80
getLogFunction · 0.80
runAnalyzeFunction · 0.80
writeFilesFunction · 0.80
writeFileFunction · 0.80

Calls 1

AddMethod · 0.65

Tested by

no test coverage detected