1
0
Fork 0
mirror of https://github.com/kyverno/kyverno.git synced 2025-03-07 00:17:13 +00:00
kyverno/pkg/constant/constant.go

29 lines
715 B
Go
Raw Normal View History

2020-05-16 23:27:54 -07:00
package constant
import "time"
const (
CRDControllerResync = 15 * time.Minute
PolicyViolationControllerResync = 15 * time.Minute
PolicyControllerResync = 15 * time.Minute
EventControllerResync = 15 * time.Minute
GenerateControllerResync = 15 * time.Minute
GenerateRequestControllerResync = 15 * time.Minute
2020-09-15 06:59:05 -07:00
2020-09-16 06:56:38 -07:00
PolicyReportPolicyChangeResync = 60 * time.Second
PolicyReportResourceChangeResync = 60 * time.Second
2020-05-16 23:27:54 -07:00
)
2020-09-16 06:56:38 -07:00
const (
App string = "App"
Namespace string = "Namespace"
Cluster string = "Cluster"
All string = "All"
)
const (
ConfiigmapMode string = "CONFIGMAP"
BackgroundPolicySync string = "POLICYSYNC"
BackgroundSync string = "SYNC"
)