handler

package
v0.0.0-...-46c3085 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 8, 2024 License: MIT Imports: 8 Imported by: 0

Documentation

Overview

Handler package contains the HTTP handlers for the admission webhook.

Index

Constants

This section is empty.

Variables

View Source
var (
	RespMsg string
)

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL