Documentation ¶
Index ¶
Constants ¶
View Source
const ( PolicyAnnotation = "policies.kyverno.io/last-applied-patches" ManagedByLabel = "webhook.kyverno.io/managed-by" KyvernoComponentLabel = "app.kubernetes.io/component" )
Variables ¶
View Source
var OperationToPastTense = map[string]string{
"add": "added",
"remove": "removed",
"replace": "replaced",
"move": "moved",
"copy": "copied",
"test": "tested",
}
Functions ¶
func GenerateAnnotationPatches ¶ added in v1.7.0
func GenerateAnnotationPatches(engineResponses []engineapi.EngineResponse, log logr.Logger) [][]byte
Types ¶
Click to show internal directories.
Click to hide internal directories.