1
0
Fork 0
mirror of https://github.com/kyverno/kyverno.git synced 2025-03-08 17:06:57 +00:00
kyverno/pkg/constant/constant.go
2020-09-17 09:20:46 -07:00

28 lines
723 B
Go

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
PolicyReportPolicyChangeResync = 60 * time.Second
PolicyReportResourceChangeResync = 60 * time.Second
)
const (
App string = "App"
Namespace string = "Namespace"
Cluster string = "Cluster"
All string = "All"
)
const (
ConfiigmapMode string = "CONFIGMAP"
BackgroundPolicySync string = "POLICYSYNC"
BackgroundSync string = "SYNC"
)