Versions in this module Expand all Collapse all v0 v0.31.0 Apr 13, 2026 Changes in this version + func Allow(sar authorizationv1.SubjectAccessReview) (authorizationv1.SubjectAccessReview, error) + func Deny(sar authorizationv1.SubjectAccessReview) (authorizationv1.SubjectAccessReview, error) + func NoOpinion(sar authorizationv1.SubjectAccessReview) (authorizationv1.SubjectAccessReview, error) + type AuthzHandler struct + func NewAuthzHandler(handler AuthzHandlerFunc) *AuthzHandler + func (h *AuthzHandler) ServeHTTP(w http.ResponseWriter, r *http.Request) + func (h *AuthzHandler) SetHandler(handler AuthzHandlerFunc) + type AuthzHandlerFunc func(authorizationv1.SubjectAccessReview) (authorizationv1.SubjectAccessReview, error) + type TLSServer struct + func NewTLSServer(port int, hostnames []string, pkiDirectory string, handler http.Handler) (*TLSServer, error) + func (s *TLSServer) CAFile() string + func (s *TLSServer) Start(ctx context.Context) error + func (s *TLSServer) Stop() error