- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for desiredEndpoints (0.16 sec)
-
pkg/controller/endpointslicemirroring/reconciler_test.go
} actualEndpointsDesired, err := testutil.GetGaugeMetricValue(metrics.EndpointsDesired.WithLabelValues()) handleErr(t, err, "desiredEndpoints") if actualEndpointsDesired != float64(em.desiredEndpoints) { t.Errorf("Expected desiredEndpoints to be %d, got %v", em.desiredEndpoints, actualEndpointsDesired) } actualAddedPerSync, err := testutil.GetHistogramMetricValue(metrics.EndpointsAddedPerSync.WithLabelValues())
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Feb 26 06:51:56 UTC 2024 - 42.7K bytes - Viewed (0) -
pkg/controller/endpointslicemirroring/reconciler.go
epMetrics := metrics.NewEndpointPortCache() totals := totalsByAction{} slices := slicesByAction{} for portKey, desiredEndpoints := range d.endpointsByKey { numEndpoints := len(desiredEndpoints) pmSlices, pmTotals := r.reconcileByPortMapping( endpoints, existingSlicesByKey[portKey], desiredEndpoints, d.portsByKey[portKey], portKey.addressType()) slices.append(pmSlices) totals.add(pmTotals)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jul 11 18:08:12 UTC 2023 - 13.1K bytes - Viewed (0)