Documentation ¶
Index ¶
- func Probe(check func() bool) http.HandlerFunc
- type AdmissionHandler
- func (h AdmissionHandler) WithAdmission(logger logr.Logger) http.HandlerFunc
- func (h AdmissionHandler) WithFilter(configuration config.Configuration) AdmissionHandler
- func (h AdmissionHandler) WithMetrics(metricsConfig *metrics.MetricsConfig) AdmissionHandler
- func (h AdmissionHandler) WithProtection(enabled bool) AdmissionHandler
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Probe ¶
func Probe(check func() bool) http.HandlerFunc
Types ¶
type AdmissionHandler ¶
type AdmissionHandler func(logr.Logger, *admissionv1.AdmissionRequest, time.Time) *admissionv1.AdmissionResponse
func Verify ¶
func Verify() AdmissionHandler
func (AdmissionHandler) WithAdmission ¶ added in v1.8.2
func (h AdmissionHandler) WithAdmission(logger logr.Logger) http.HandlerFunc
func (AdmissionHandler) WithFilter ¶ added in v1.8.2
func (h AdmissionHandler) WithFilter(configuration config.Configuration) AdmissionHandler
func (AdmissionHandler) WithMetrics ¶ added in v1.8.2
func (h AdmissionHandler) WithMetrics(metricsConfig *metrics.MetricsConfig) AdmissionHandler
func (AdmissionHandler) WithProtection ¶ added in v1.8.2
func (h AdmissionHandler) WithProtection(enabled bool) AdmissionHandler
Source Files ¶
Click to show internal directories.
Click to hide internal directories.