const decisionAnnotationKey …
const reasonAnnotationKey …
const decisionAllow …
const decisionForbid …
const reasonError …
type recordAuthorizationMetricsFunc …
func WithAuthorization(hhandler http.Handler, auth authorizer.Authorizer, s runtime.NegotiatedSerializer) http.Handler { … }
func withAuthorization(handler http.Handler, a authorizer.Authorizer, s runtime.NegotiatedSerializer, metrics recordAuthorizationMetricsFunc) http.Handler { … }
func GetAuthorizerAttributes(ctx context.Context) (authorizer.Attributes, error) { … }