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

Method AddAfter

util/workqueue/delaying_queue.go:33–33  ·  view source on GitHub ↗

AddAfter adds an item to the workqueue after the indicated duration has passed

(item interface{}, duration time.Duration)

Source from the content-addressed store, hash-verified

31 Interface
32 // AddAfter adds an item to the workqueue after the indicated duration has passed
33 AddAfter(item interface{}, duration time.Duration)
34}
35
36// NewDelayingQueue constructs a new workqueue with delayed queuing ability

Callers 6

TestSimpleQueueFunction · 0.65
TestDedupingFunction · 0.65
TestAddTwoFireEarlyFunction · 0.65
TestCopyShiftingFunction · 0.65
AddRateLimitedMethod · 0.65

Implementers 1

delayingTypeutil/workqueue/delaying_queue.go

Calls

no outgoing calls

Tested by 5

TestSimpleQueueFunction · 0.52
TestDedupingFunction · 0.52
TestAddTwoFireEarlyFunction · 0.52
TestCopyShiftingFunction · 0.52