File tree Expand file tree Collapse file tree 2 files changed +3
-4
lines changed
test/integration/testdata/apis/testgroup/fuzzer Expand file tree Collapse file tree 2 files changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -5,7 +5,6 @@ go 1.24.2
55require (
66 github.com/cert-manager/cert-manager v1.18.2
77 github.com/go-logr/logr v1.4.3
8- github.com/google/gofuzz v1.2.0
98 github.com/sergi/go-diff v1.4.0
109 github.com/spf13/cobra v1.9.1
1110 github.com/spf13/pflag v1.0.7
Original file line number Diff line number Diff line change @@ -17,18 +17,18 @@ limitations under the License.
1717package fuzzer
1818
1919import (
20- fuzz "github.com/google/gofuzz"
2120 runtimeserializer "k8s.io/apimachinery/pkg/runtime/serializer"
2221 "k8s.io/utils/ptr"
22+ "sigs.k8s.io/randfill"
2323
2424 "github.com/cert-manager/cmctl/v2/test/integration/testdata/apis/testgroup"
2525)
2626
2727// Funcs returns the fuzzer functions for the apps api group.
2828var Funcs = func (codecs runtimeserializer.CodecFactory ) []interface {} {
2929 return []interface {}{
30- func (s * testgroup.TestType , c fuzz .Continue ) {
31- c .FuzzNoCustom (s ) // fuzz self without calling this function again
30+ func (s * testgroup.TestType , c randfill .Continue ) {
31+ c .FillNoCustom (s ) // fuzz self without calling this function again
3232
3333 if s .TestFieldPtr == nil {
3434 s .TestFieldPtr = ptr .To ("teststr" )
You can’t perform that action at this time.
0 commit comments