var latencyBuckets …
type converterMetricFactory …
func newConverterMetricFactory() *converterMetricFactory { … }
var _ …
type converterMetric …
func (c *converterMetricFactory) addMetrics(crdName string, converter crConverterInterface) (crConverterInterface, error) { … }
func (m *converterMetric) Convert(in runtime.Object, targetGV schema.GroupVersion) (runtime.Object, error) { … }
type ConversionWebhookErrorType …
const ConversionWebhookCallFailure …
const ConversionWebhookMalformedResponseFailure …
const ConversionWebhookPartialResponseFailure …
const ConversionWebhookInvalidConvertedObjectFailure …
const ConversionWebhookNoObjectsReturnedFailure …
var Metrics …
var namespace …
type ConversionWebhookMetrics …
func newConversionWebhookMetrics() *ConversionWebhookMetrics { … }
func (m *ConversionWebhookMetrics) ObserveConversionWebhookSuccess(ctx context.Context, elapsed time.Duration) { … }
func (m *ConversionWebhookMetrics) ObserveConversionWebhookFailure(ctx context.Context, elapsed time.Duration, errorType ConversionWebhookErrorType) { … }
func (m *ConversionWebhookMetrics) observe(ctx context.Context, elapsed time.Duration, result string, errorType ConversionWebhookErrorType) { … }