Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ValidateHandle ¶
type ValidateHandle interface {
Validate(ar *admv1.AdmissionReview) *admv1.AdmissionResponse
}
ValidateHandle defines capability about process AdmissionReview.
type ValidateWebhook ¶
ValidateWebhook register webhook for validate everoute objects.
func (*ValidateWebhook) Handler ¶
func (v *ValidateWebhook) Handler(handle ValidateHandle) http.HandlerFunc
Handler handle validate admission http request.
func (*ValidateWebhook) SetupWithManager ¶
func (v *ValidateWebhook) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager create and add a ValidateWebhook to the manager.
Click to show internal directories.
Click to hide internal directories.