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

Function New

tools/cache/controller.go:89–95  ·  view source on GitHub ↗

New makes a new Controller from the given Config.

(c *Config)

Source from the content-addressed store, hash-verified

87
88// New makes a new Controller from the given Config.
89func New(c *Config) Controller {
90 ctlr := &controller{
91 config: *c,
92 clock: &clock.RealClock{},
93 }
94 return ctlr
95}
96
97// Run begins processing items, and will continue until a value is sent down stopCh.
98// It's an error to call Run more than once.

Callers 3

newInformerFunction · 0.70
RunMethod · 0.70
ExampleFunction · 0.70

Calls

no outgoing calls

Tested by 1

ExampleFunction · 0.56