1
0
Fork 0
mirror of https://github.com/kyverno/kyverno.git synced 2025-03-09 17:37:12 +00:00
kyverno/pkg/annotations/utils.go

21 lines
318 B
Go
Raw Normal View History

package annotations
const annotationQueueName = "annotation-queue"
const workerThreadCount = 1
type info struct {
RKind string
RNs string
RName string
Patch []byte
}
func newInfo(rkind, rns, rname string, patch []byte) info {
return info{
RKind: rkind,
RNs: rname,
RName: rname,
Patch: patch,
}
}