mutate

package
v1.1.6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 5, 2020 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MutateResourceWithOverlay added in v1.1.4

func MutateResourceWithOverlay(resource, pattern interface{}) ([][]byte, error)

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL