mirror of
https://github.com/kyverno/kyverno.git
synced 2025-03-09 17:37:12 +00:00
21 lines
318 B
Go
21 lines
318 B
Go
|
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,
|
||
|
}
|
||
|
}
|