- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for reportWebhookPatchAttempts (0.19 sec)
-
pkg/webhooks/monitoring.go
reasonWebhookConfigNotFound = "webhook_config_not_found" reasonWebhookEntryNotFound = "webhook_entry_not_found" reasonWebhookUpdateFailure = "webhook_update_failure" ) func reportWebhookPatchAttempts(webhookConfigName string) { metricWebhookPatchAttempts. With(webhookConfigNameTag.Value(webhookConfigName)). Increment() } func reportWebhookPatchRetry(webhookConfigName string) {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Jul 17 20:25:52 UTC 2023 - 2.1K bytes - Viewed (0) -
pkg/webhooks/webhookpatch.go
found = true } } if !found { reportWebhookPatchFailure(webhookConfigName, reasonWebhookEntryNotFound) return errNoWebhookWithName } if updated { reportWebhookPatchAttempts(w.webhookName) _, err := w.webhooks.Update(config) if err != nil { reportWebhookPatchFailure(webhookConfigName, reasonWebhookUpdateFailure) } } return err }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Sep 28 00:36:38 UTC 2023 - 6.1K bytes - Viewed (0)