Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
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).
36
func
New() *Type {
37
return
NewNamed(
""
)
38
}
39
40
func
NewNamed(name string) *Type {
41
rc := clock.RealClock{}
Callers
5
TestBasic
Function · 0.92
TestAddWhileProcessing
Function · 0.92
TestLen
Function · 0.92
TestReinsert
Function · 0.92
TestRateLimitingQueue
Function · 0.70
Calls
1
NewNamed
Function · 0.85
Tested by
5
TestBasic
Function · 0.74
TestAddWhileProcessing
Function · 0.74
TestLen
Function · 0.74
TestReinsert
Function · 0.74
TestRateLimitingQueue
Function · 0.56