2020-05-16 23:27:54 -07:00
|
|
|
package constant
|
|
|
|
|
|
|
|
import "time"
|
|
|
|
|
|
|
|
const (
|
2020-05-27 19:51:34 -07:00
|
|
|
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 (
|
2020-10-13 18:54:57 -07:00
|
|
|
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"
|
|
|
|
)
|