package
0.0.0-20221205081027-fb1d94189521
Repository: https://github.com/ti-net2/apiserver.git
Documentation: pkg.go.dev
# Functions
WithControllerMetrics is a decorator for named admission handlers.
WithMetrics is a decorator for admission handlers with a generic observer func.
WithStepMetrics is a decorator for a whole admission phase, i.e.
# Constants
WebhookRejectionAPIServerInternalError identifies an apiserver internal error which causes a webhook admission to reject a request.
WebhookRejectionCallingWebhookError identifies a calling webhook error which causes a webhook admission to reject a request.
WebhookRejectionNoError identifies a webhook properly rejected a request.
# Variables
Metrics provides access to all admission metrics.
# Structs
AdmissionMetrics instruments admission with prometheus metrics.
# Type aliases
ObserverFunc is a func that emits metrics.
WebhookRejectionErrorType defines different error types that happen in a webhook rejection.