Documentation ¶
Index ¶
- func MutateResourceWithOverlay(resource, pattern interface{}) ([][]byte, error)
- func ProcessOverlay(log logr.Logger, ruleName string, overlay interface{}, ...) (resp response.RuleResponse, patchedResource unstructured.Unstructured)
- func ProcessPatches(log logr.Logger, rule kyverno.Rule, resource unstructured.Unstructured) (resp response.RuleResponse, patchedResource unstructured.Unstructured)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MutateResourceWithOverlay ¶ added in v1.1.4
MutateResourceWithOverlay is a start of overlaying process
func ProcessOverlay ¶
func ProcessOverlay(log logr.Logger, ruleName string, overlay interface{}, resource unstructured.Unstructured) (resp response.RuleResponse, patchedResource unstructured.Unstructured)
ProcessOverlay processes mutation overlay on the resource
func ProcessPatches ¶
func ProcessPatches(log logr.Logger, rule kyverno.Rule, resource unstructured.Unstructured) (resp response.RuleResponse, patchedResource unstructured.Unstructured)
ProcessPatches applies the patches on the resource and returns the patched resource
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.