- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for RecordAuthenticationConfigAutomaticReloadSuccess (0.81 sec)
-
staging/src/k8s.io/apiserver/pkg/server/options/authenticationconfig/metrics/metrics.go
authenticationConfigAutomaticReloadLastTimestampSeconds.WithLabelValues("failure", apiServerIDHash).SetToCurrentTime() } func RecordAuthenticationConfigAutomaticReloadSuccess(apiServerID string) { apiServerIDHash := getHash(apiServerID) authenticationConfigAutomaticReloadsTotal.WithLabelValues("success", apiServerIDHash).Inc()
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat Mar 09 22:40:22 UTC 2024 - 2.8K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/server/options/authenticationconfig/metrics/metrics_test.go
` metrics := []string{ namespace + "_" + subsystem + "_automatic_reloads_total", } authenticationConfigAutomaticReloadsTotal.Reset() RegisterMetrics() RecordAuthenticationConfigAutomaticReloadSuccess(testAPIServerID) if err := testutil.GatherAndCompare(legacyregistry.DefaultGatherer, strings.NewReader(expectedValue), metrics...); err != nil { t.Fatal(err) } }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat Mar 09 22:40:22 UTC 2024 - 4.6K bytes - Viewed (0) -
pkg/kubeapiserver/options/authentication.go
return } trackedAuthenticationConfigData = authConfigData klog.InfoS("reloaded authentication config") authenticationconfigmetrics.RecordAuthenticationConfigAutomaticReloadSuccess(apiServerID) }, func(err error) { klog.ErrorS(err, "watching authentication config file") }, ) } openAPIConfig.SecurityDefinitions = openAPIV2SecurityDefinitions
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat Mar 09 22:40:22 UTC 2024 - 32.4K bytes - Viewed (0)