1
0
Fork 0
mirror of https://github.com/kyverno/kyverno.git synced 2024-12-14 11:57:48 +00:00

Delete policy.go

This commit is contained in:
shuting 2019-05-03 18:43:11 -07:00 committed by GitHub
parent 82176b5371
commit 447ff441df
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,15 +0,0 @@
package engine
import (
types "github.com/nirmata/kube-policy/pkg/apis/policy/v1alpha1"
"github.com/nirmata/kube-policy/pkg/violation"
"github.com/nirmata/kube-policy/webhooks"
)
// TODO:
// When the policy get updates, policy controller will detect the changes and
// try to process the changes on all matched resource. If there is any patch
// returns, we should add the violation to the resource indicating the changes
func ApplyRegex(policy types.Policy) (webhooks.PatchBytes, violation.Violations, error) {
return nil, nil, nil
}