Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func HandleAdmitFunc ¶
func HandleAdmitFunc(w http.ResponseWriter, r *http.Request, admit admitFunc, injConfigs map[string]*config.InjectionConfig, namespaces map[string]bool) ([]byte, error)
This function parses the HTTP request from admission webhook controller, and in case of a well-formed request , it call a admit function corresponding that implement logic for that request. The response will be returned as raw bytes
Types ¶
type PatchOperation ¶
Click to show internal directories.
Click to hide internal directories.