1
0
Fork 0
mirror of https://github.com/kyverno/kyverno.git synced 2025-03-06 16:06:56 +00:00
kyverno/pkg/violation/util.go

20 lines
390 B
Go
Raw Normal View History

2019-04-30 17:13:44 -07:00
package violation
// Source for the events recorder
const violationEventSource = "policy-controller"
// Name for the workqueue to store the events
const workqueueViolationName = "Policy-Violations"
// Event Reason
const violationEventResrouce = "Violation"
// Info input details
type Info struct {
Kind string
Resource string
Policy string
RuleName string
Reason string
}