1
0
Fork 0
mirror of https://github.com/kyverno/kyverno.git synced 2025-03-06 16:06:56 +00:00
kyverno/pkg/constant/constant.go

28 lines
697 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-17 09:20:46 -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 (
Namespace string = "Namespace"
Cluster string = "Cluster"
All string = "All"
)
const (
ConfigmapMode string = "CONFIGMAP"
2020-09-16 06:56:38 -07:00
BackgroundPolicySync string = "POLICYSYNC"
2020-09-17 09:20:46 -07:00
BackgroundSync string = "SYNC"
)