1
0
Fork 0
mirror of https://github.com/kyverno/kyverno.git synced 2025-03-08 17:06:57 +00:00
kyverno/pkg/policy/status.go

15 lines
486 B
Go
Raw Normal View History

2019-08-19 16:40:10 -07:00
package policy
import "time"
type PolicyStatus struct {
// average time required to process the policy rules on a resource
avgExecutionTime time.Duration
// Count of rules that were applied succesfully
rulesAppliedCount int
// Count of resources for whom update/create api requests were blocked as the resoruce did not satisfy the policy rules
resourcesBlockedCount int
// Count of the resource for whom the mutation rules were applied succesfully
resourcesMutatedCount int
}