kubernetes/staging/src/k8s.io/apiserver/pkg/authorization/metrics/metrics.go

const namespace

const subsystem

var authorizationDecisionsTotal

var registerMetrics

func RegisterMetrics() {}

func ResetMetricsForTest() {}

func RecordAuthorizationDecision(authorizerType, authorizerName, decision string) {}

func InstrumentedAuthorizer(authorizerType string, authorizerName string, delegate authorizer.Authorizer) authorizer.Authorizer {}

type instrumentedAuthorizer

func (a *instrumentedAuthorizer) Authorize(ctx context.Context, attributes authorizer.Attributes) (authorizer.Decision, string, error) {}