kubernetes/pkg/registry/certificates/certificates/storage/metrics_test.go

func Test_countCSRDurationMetric(t *testing.T) {}

func createCert(t *testing.T, duration time.Duration, caPrivateKey *ecdsa.PrivateKey, caCert *x509.Certificate) []byte {}

type testCounterVecMetric

func (m *testCounterVecMetric) WithLabelValues(lv ...string) metrics.CounterMetric {}

func (m *testCounterVecMetric) Inc() {}