Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AdmitFunc ¶
type AdmitFunc = func(ar admissionv1.AdmissionReview) *admissionv1.AdmissionResponse
AdmitFunc is the function signature for handling admission requests. This is defined here to match the public API type signature.
type Server ¶
type Server struct {
// contains filtered or unexported fields
}
Server is the webhook HTTP server.
func New ¶
func New(certProvider *certprovider.Provider, config Config) *Server
New creates a new webhook server.
func (*Server) RegisterHook ¶
RegisterHook registers a webhook handler at the given path.
Click to show internal directories.
Click to hide internal directories.