1
0
Fork 0
mirror of https://github.com/kyverno/kyverno.git synced 2025-03-05 07:26:55 +00:00
kyverno/pkg/webhooks/updaterequest/fake.go

18 lines
291 B
Go
Raw Normal View History

package updaterequest
import (
"context"
kyvernov2 "github.com/kyverno/kyverno/api/kyverno/v2"
)
func NewFake() Generator {
return &fakeGenerator{}
}
type fakeGenerator struct{}
func (f *fakeGenerator) Apply(ctx context.Context, gr kyvernov2.UpdateRequestSpec) error {
return nil
}