1
0
Fork 0
mirror of https://github.com/kyverno/kyverno.git synced 2025-03-31 03:45:17 +00:00

Removed TODO comment about ProcessExisting

This commit is contained in:
Maxim Goncharenko 2019-05-15 14:05:28 +03:00
parent af9d1071e9
commit 44ba5dbd8f

View file

@ -25,7 +25,6 @@ type PolicyEngine interface {
// ProcessExisting should be called from policy controller
// when there is an create / update of the policy
// we should process the policy on matched resources, generate violations accordingly
// TODO: This method should not be in PolicyEngine. Validate will do this work instead
ProcessExisting(policy types.Policy, rawResource []byte) ([]violation.Info, []event.Info, error)
// TODO: Add Generate method