add mode to policy struct
@@ -19,6 +19,7 @@ type Policy struct {
// Spec describes policy behavior by its rules
type Spec struct {
Rules []Rule `json:"rules"`
+ Mode string `json:"mode"`
}
// Rule is set of mutation, validation and generation actions
