Documentation ¶
Index ¶
- func AdmissionResponse(r *admissionv1.AdmissionRequest, err error, patch ...jsonpatch.Operation) *admissionv1.AdmissionResponse
- func AdmissionReview(...) http.HandlerFunc
- func Healthy(f func() bool) http.HandlerFunc
- func HttpError(ctx context.Context, writer http.ResponseWriter, request *http.Request, ...)
- func Ready(f func() bool) http.HandlerFunc
- func True() bool
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AdmissionResponse ¶
func AdmissionResponse(r *admissionv1.AdmissionRequest, err error, patch ...jsonpatch.Operation) *admissionv1.AdmissionResponse
func AdmissionReview ¶
func AdmissionReview(inner func(context.Context, *admissionv1.AdmissionRequest) *admissionv1.AdmissionResponse) http.HandlerFunc
func Healthy ¶
func Healthy(f func() bool) http.HandlerFunc
func Ready ¶
func Ready(f func() bool) http.HandlerFunc
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.