diff --git a/engine/policy.go b/engine/policy.go new file mode 100644 index 0000000000..7a80be9877 --- /dev/null +++ b/engine/policy.go @@ -0,0 +1,9 @@ +package engine + +import ( + types "github.com/nirmata/kube-policy/pkg/apis/policy/v1alpha1" +) + +type policyInterface interface { + Apply(policy types.Policy, kind string, resource string, resourceRaw []byte) []byte, +} diff --git a/violation/violation.go b/violation/violation.go new file mode 100644 index 0000000000..a6d9541cdd --- /dev/null +++ b/violation/violation.go @@ -0,0 +1,6 @@ +package violation + +type Violations []Violation + +type Violation struct { +}