package
1.6.0-alpha.0
Repository: https://github.com/kdada/kubernetes.git
Documentation: pkg.go.dev

# Functions

NewAttributeGetter returns an object which implements the RequestAttributeGetter interface.
WithAudit decorates a http.Handler with audit logging information for all the requests coming to the server.
WithAuthorizationCheck passes all authorized requests on to handler, and returns a forbidden error otherwise.
WithImpersonation is a filter that will inspect and check requests that attempt to change the user.Info for their requests.
WithRequestInfo attaches a RequestInfo to the context.

# Interfaces

RequestAttributeGetter is a function that extracts authorizer.Attributes from an http.Request.