MCPcopy
hub / github.com/istio/istio / Run

Method Run

pkg/webhooks/webhookpatch.go:90–95  ·  view source on GitHub ↗

Run runs the WebhookCertPatcher

(stopChan <-chan struct{})

Source from the content-addressed store, hash-verified

88
89// Run runs the WebhookCertPatcher
90func (w *WebhookCertPatcher) Run(stopChan <-chan struct{}) {
91 go w.startCaBundleWatcher(stopChan)
92 w.webhooks.Start(stopChan)
93 kubelib.WaitForCacheSync("webhook patcher", stopChan, w.webhooks.HasSynced)
94 w.queue.Run(stopChan)
95}
96
97func (w *WebhookCertPatcher) HasSynced() bool {
98 return w.queue.HasSynced()

Callers 2

initSidecarInjectorMethod · 0.95
initializeClusterMethod · 0.95

Calls 4

startCaBundleWatcherMethod · 0.95
StartMethod · 0.65
WaitForCacheSyncMethod · 0.65
RunMethod · 0.65

Tested by

no test coverage detected