1
0
Fork 0
mirror of https://github.com/kyverno/kyverno.git synced 2024-12-15 17:51:20 +00:00
kyverno/pkg/event/reason.go
Charles-Edouard Brétéché 39d5ceb00c
refactor: event package (#6124)
* 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>
2023-01-26 21:19:02 +00:00

11 lines
246 B
Go

package event
// Reason types of Event Reasons
type Reason string
const (
PolicyViolation Reason = "PolicyViolation"
PolicyApplied Reason = "PolicyApplied"
PolicyError Reason = "PolicyError"
PolicySkipped Reason = "PolicySkipped"
)