Documentation
¶
Overview ¶
Handler package contains the HTTP handlers for the admission webhook.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( RespMsg string ErrContextDone = fmt.Errorf("the request context is already done") )
Functions ¶
func HealthHandler ¶
func HealthHandler(w http.ResponseWriter, r *http.Request)
HealthHandler handles the health check request. It returns a 200 OK response.
func ValidateHandler ¶
func ValidateHandler(w http.ResponseWriter, r *http.Request)
ValidateHandler is a function that handles the validation of admission review requests. Parameters: - w: http.ResponseWriter - the response writer used to write the admission review response. - r: *http.Request - the HTTP request containing the admission review request. Returns: None
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.