1
0
Fork 0
mirror of https://github.com/kyverno/kyverno.git synced 2025-03-09 01:16:55 +00:00
kyverno/pkg/annotations/utils.go
shivkumar dudhani 9f157544c9 cleanUp
2019-07-19 15:10:40 -07:00

16 lines
308 B
Go

package annotations
const annotationQueueName = "annotation-queue"
const workerThreadCount = 1
const workQueueRetryLimit = 3
func getStatus(status bool) string {
if status {
return "Success"
}
return "Failure"
}
func BuildKey(policyName string) string {
return "policies.kyverno.io." + policyName
}