func (c *Cache) updateMetrics() {
	mUpdate := c.desiredAndActualSlices()
	NumEndpointSlices.WithLabelValues().Set(float64(mUpdate.actual))
	DesiredEndpointSlices.WithLabelValues().Set(float64(mUpdate.desired))
	EndpointsDesired.WithLabelValues().Set(float64(c.numEndpoints))
}
// updateMetrics updates metrics with the values from this Cache.
// Must be called holding lock.
updateMetrics updates metrics with the values from this Cache.
Must be called holding lock.
// updateMetrics updates metrics with the values from this Cache . // Must be called holding lock .
func (c *Cache) updateMetrics() {
	mUpdate := c.desiredAndActualSlices()
	NumEndpointSlices.WithLabelValues().Set(float64(mUpdate.actual))
	DesiredEndpointSlices.WithLabelValues().Set(float64(mUpdate.desired))
	EndpointsDesired.WithLabelValues().Set(float64(c.numEndpoints))
}
func ( c * Cache ) updateMetrics ( ) { mUpdate := c . desiredAndActualSlices ( ) NumEndpointSlices . WithLabelValues ( ) . Set ( float64 ( mUpdate . actual ) ) DesiredEndpointSlices . WithLabelValues ( ) . Set ( float64 ( mUpdate . desired ) ) EndpointsDesired . WithLabelValues ( ) . Set ( float64 ( c . numEndpoints ) ) }
updateMetrics updates metrics with the values from this Cache.
updateMetrics updates metrics with the values from this Cache .