mirror of
https://github.com/kyverno/kyverno.git
synced 2025-03-06 16:06:56 +00:00
18 lines
291 B
Go
18 lines
291 B
Go
package annotations
|
|
|
|
type info struct {
|
|
RKind string
|
|
RNs string
|
|
RName string
|
|
//TODO:Hack as slice makes the struct unhasable
|
|
patch *[]byte
|
|
}
|
|
|
|
func newInfo(rkind, rns, rname string, patch *[]byte) info {
|
|
return info{
|
|
RKind: rkind,
|
|
RNs: rns,
|
|
RName: rname,
|
|
patch: patch,
|
|
}
|
|
}
|