Versions in this module Expand all Collapse all v0 v0.3.0 Feb 21, 2020 Changes in this version + var APPLICATIONJSON = "application/json" + var CONTENTTYPE = "Content-Type" + func ForEachAdmission(handler func(*AdmissionService)) + func RegisterAdmission(service *AdmissionService) error + func Serve(w http.ResponseWriter, r *http.Request, admit AdmitFunc) + type AdmissionHandler func(w http.ResponseWriter, r *http.Request) + type AdmissionService struct + Config *AdmissionServiceConfig + Func AdmitFunc + Handler AdmissionHandler + MutatingConfig *whv1beta1.MutatingWebhookConfiguration + Path string + ValidatingConfig *whv1beta1.ValidatingWebhookConfiguration + type AdmissionServiceConfig struct + KubeClient kubernetes.Interface + SchedulerName string + VolcanoClient versioned.Interface + type AdmitFunc func(v1beta1.AdmissionReview) *v1beta1.AdmissionResponse