Documentation ¶
Index ¶
- func GetK8SPatchesString(patches []jsonpatch.JsonPatchOperation) string
- func GetPatchesFromPodResourceRecommendation(pod *core_v1.Pod, recommendation *resource.PodResourceRecommendation) ([]jsonpatch.JsonPatchOperation, error)
- func ValidatePatches(patches []jsonpatch.JsonPatchOperation, validateFunc ValidatePatchFunc) error
- type ValidatePatchFunc
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetK8SPatchesString ¶ added in v0.3.30
func GetK8SPatchesString(patches []jsonpatch.JsonPatchOperation) string
func GetPatchesFromPodResourceRecommendation ¶
func GetPatchesFromPodResourceRecommendation(pod *core_v1.Pod, recommendation *resource.PodResourceRecommendation) ([]jsonpatch.JsonPatchOperation, error)
func ValidatePatches ¶ added in v0.3.30
func ValidatePatches(patches []jsonpatch.JsonPatchOperation, validateFunc ValidatePatchFunc) error
Types ¶
type ValidatePatchFunc ¶ added in v0.3.30
type ValidatePatchFunc func(patch jsonpatch.JsonPatchOperation) error
Click to show internal directories.
Click to hide internal directories.