Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetAdmissionServerNoSSL ¶
func GetAdmissionServerNoSSL(ac AdmissionController, listenOn int) *http.Server
func GetAdmissionValidationServer ¶
func GetAdmissionValidationServer(ac AdmissionController, tlsCert, tlsKey string, listenOn int) *http.Server
Types ¶
type AdmissionController ¶
type AdmissionController interface {
HandleAdmission(review *v1beta1.AdmissionReview) error
}
type AdmissionControllerServer ¶
type AdmissionControllerServer struct { AdmissionController AdmissionController Decoder runtime.Decoder }
func (*AdmissionControllerServer) ServeHTTP ¶
func (a *AdmissionControllerServer) ServeHTTP(w http.ResponseWriter, r *http.Request)
type MutateAdmission ¶
func (*MutateAdmission) HandleAdmission ¶
func (m *MutateAdmission) HandleAdmission(review *v1beta1.AdmissionReview) error
Click to show internal directories.
Click to hide internal directories.