mirror of
https://github.com/kyverno/kyverno.git
synced 2024-12-14 11:57:48 +00:00
39d5ceb00c
* refactor: event package Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com> * fix Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com> * more Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com> * kuttl tests Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com> * Update pkg/event/source.go Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com> Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
17 lines
662 B
Go
17 lines
662 B
Go
package event
|
|
|
|
// Source of event generation
|
|
type Source string
|
|
|
|
const (
|
|
// AdmissionController : event generated in admission-control webhook
|
|
AdmissionController Source = "kyverno-admission"
|
|
// PolicyController : event generated in policy-controller
|
|
PolicyController Source = "kyverno-scan"
|
|
// GeneratePolicyController : event generated in generate policyController
|
|
GeneratePolicyController Source = "kyverno-generate"
|
|
// MutateExistingController : event generated for mutateExisting policies
|
|
MutateExistingController Source = "kyverno-mutate"
|
|
// CleanupController : event generated for cleanup policies
|
|
CleanupController Source = "kyverno-cleanup"
|
|
)
|