Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Mutate ¶
func Mutate(w http.ResponseWriter, r *http.Request, defaults k8s_v1.ResourceRequirements, dryRun bool) error
Mutate responds to kubernetes webhooks request to add resource limits.
Types ¶
type Patch ¶
type Patch struct { Op string `json:"op"` Path string `json:"path"` Value interface{} `json:"value"` }
Patch represents a single JSONPatch operation @see http://jsonpatch.com/
Click to show internal directories.
Click to hide internal directories.