1
0
Fork 0
mirror of https://github.com/kyverno/kyverno.git synced 2024-12-15 17:51:20 +00:00
kyverno/pkg/policyreport/fake.go
Charles-Edouard Brétéché 144985ee5a
chore: fix golangcilint timeout (#4388)
* chore: fix golangcilint timeout

Signed-off-by: Charles-Edouard Brétéché <charled.breteche@gmail.com>

* fix commit sha

Signed-off-by: Charles-Edouard Brétéché <charled.breteche@gmail.com>

* add .gitattributes

Signed-off-by: Charles-Edouard Brétéché <charled.breteche@gmail.com>

Signed-off-by: Charles-Edouard Brétéché <charled.breteche@gmail.com>
2022-08-24 21:08:24 +08:00

19 lines
305 B
Go

package policyreport
func NewFake() GeneratorInterface {
return &fakeReporter{}
}
type fakeReporter struct{}
func (f *fakeReporter) Add(infos ...Info) {
}
func (f *fakeReporter) MapperReset(string) {
}
func (f *fakeReporter) MapperInactive(string) {
}
func (f *fakeReporter) MapperInvalidate() {
}