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

Function New

util/workqueue/queue.go:36–38  ·  view source on GitHub ↗

New constructs a new work queue (see the package comment).

()

Source from the content-addressed store, hash-verified

34
35// New constructs a new work queue (see the package comment).
36func New() *Type {
37 return NewNamed("")
38}
39
40func NewNamed(name string) *Type {
41 rc := clock.RealClock{}

Callers 5

TestBasicFunction · 0.92
TestAddWhileProcessingFunction · 0.92
TestLenFunction · 0.92
TestReinsertFunction · 0.92
TestRateLimitingQueueFunction · 0.70

Calls 1

NewNamedFunction · 0.85

Tested by 5

TestBasicFunction · 0.74
TestAddWhileProcessingFunction · 0.74
TestLenFunction · 0.74
TestReinsertFunction · 0.74
TestRateLimitingQueueFunction · 0.56