mirror of
https://github.com/kyverno/kyverno.git
synced 2025-03-09 01:16:55 +00:00
refactor: webhooks metrics reporting Signed-off-by: Charles-Edouard Brétéché <charled.breteche@gmail.com>
13 lines
250 B
Go
13 lines
250 B
Go
package admissionrequests
|
|
|
|
import (
|
|
"github.com/kyverno/kyverno/pkg/metrics"
|
|
)
|
|
|
|
func ParsePromMetrics(pm metrics.PromMetrics) PromMetrics {
|
|
return PromMetrics(pm)
|
|
}
|
|
|
|
func ParsePromConfig(pc metrics.PromConfig) PromConfig {
|
|
return PromConfig(pc)
|
|
}
|