Documentation ¶
Index ¶
- func Gzip(next http.HandlerFunc) http.HandlerFunc
- func HTTPBasic(auth *BasicAuth, next http.HandlerFunc) http.HandlerFunc
- func HealthzHandler(synced func() bool) http.HandlerFunc
- func NamespaceReportingHandler(s reporting.PolicyReportGenerator, basePath string) http.HandlerFunc
- func NewLoggerMiddleware(logger *zap.Logger, mux http.Handler) http.Handler
- func PolicyHandler(s *kyverno.PolicyStore) http.HandlerFunc
- func PolicyReportingHandler(s reporting.PolicyReportGenerator, basePath string) http.HandlerFunc
- func ReadyHandler() http.HandlerFunc
- func VerifyImageRulesHandler(s *kyverno.PolicyStore) http.HandlerFunc
- type BasicAuth
- type Policy
- type Server
- type VerifyImage
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func HTTPBasic ¶ added in v1.6.0
func HTTPBasic(auth *BasicAuth, next http.HandlerFunc) http.HandlerFunc
func HealthzHandler ¶
func HealthzHandler(synced func() bool) http.HandlerFunc
HealthzHandler for the Liveness REST API
func NamespaceReportingHandler ¶ added in v1.5.0
func NamespaceReportingHandler(s reporting.PolicyReportGenerator, basePath string) http.HandlerFunc
NamespaceReportingHandler for the NamespaceReport REST API
func NewLoggerMiddleware ¶ added in v1.5.1
func PolicyHandler ¶
func PolicyHandler(s *kyverno.PolicyStore) http.HandlerFunc
PolicyHandler for the Policy REST API
func PolicyReportingHandler ¶ added in v1.5.0
func PolicyReportingHandler(s reporting.PolicyReportGenerator, basePath string) http.HandlerFunc
PolicyHandler for the PolicyReport REST API
func VerifyImageRulesHandler ¶ added in v1.1.0
func VerifyImageRulesHandler(s *kyverno.PolicyStore) http.HandlerFunc
VerifyImageRulesHandler for the ImageVerify Policy REST API
Types ¶
Click to show internal directories.
Click to hide internal directories.