Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
The diff you're trying to view is too large. We only load the first 3000 changed files.
18 changes: 9 additions & 9 deletions apis/core/fuzzer/fuzzer.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,25 +19,25 @@ package fuzzer
import (
"kmodules.xyz/resource-metadata/apis/core/v1alpha1"

fuzz "github.com/google/gofuzz"
runtimeserializer "k8s.io/apimachinery/pkg/runtime/serializer"
"sigs.k8s.io/randfill"
)

// Funcs returns the fuzzer functions for this api group.
var Funcs = func(codecs runtimeserializer.CodecFactory) []any {
return []any{
// v1alpha1
func(s *v1alpha1.PodView, c fuzz.Continue) {
c.FuzzNoCustom(s) // fuzz self without calling this function again
func(s *v1alpha1.PodView, c randfill.Continue) {
c.Fill(s) // fuzz self without calling this function again
},
func(s *v1alpha1.ResourceSummary, c fuzz.Continue) {
c.FuzzNoCustom(s) // fuzz self without calling this function again
func(s *v1alpha1.ResourceSummary, c randfill.Continue) {
c.Fill(s) // fuzz self without calling this function again
},
func(s *v1alpha1.GenericResource, c fuzz.Continue) {
c.FuzzNoCustom(s) // fuzz self without calling this function again
func(s *v1alpha1.GenericResource, c randfill.Continue) {
c.Fill(s) // fuzz self without calling this function again
},
func(s *v1alpha1.GenericResourceService, c fuzz.Continue) {
c.FuzzNoCustom(s) // fuzz self without calling this function again
func(s *v1alpha1.GenericResourceService, c randfill.Continue) {
c.Fill(s) // fuzz self without calling this function again
},
}
}
542 changes: 488 additions & 54 deletions apis/core/v1alpha1/openapi_generated.go

Large diffs are not rendered by default.

10 changes: 5 additions & 5 deletions apis/identity/fuzzer/fuzzer.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,19 +19,19 @@ package fuzzer
import (
"kmodules.xyz/resource-metadata/apis/identity/v1alpha1"

fuzz "github.com/google/gofuzz"
runtimeserializer "k8s.io/apimachinery/pkg/runtime/serializer"
"sigs.k8s.io/randfill"
)

// Funcs returns the fuzzer functions for this api group.
var Funcs = func(codecs runtimeserializer.CodecFactory) []any {
return []any{
// v1alpha1
func(s *v1alpha1.ClusterIdentity, c fuzz.Continue) {
c.FuzzNoCustom(s) // fuzz self without calling this function again
func(s *v1alpha1.ClusterIdentity, c randfill.Continue) {
c.Fill(s) // fuzz self without calling this function again
},
func(s *v1alpha1.InboxTokenRequest, c fuzz.Continue) {
c.FuzzNoCustom(s) // fuzz self without calling this function again
func(s *v1alpha1.InboxTokenRequest, c randfill.Continue) {
c.Fill(s) // fuzz self without calling this function again
},
}
}
542 changes: 488 additions & 54 deletions apis/identity/v1alpha1/openapi_generated.go

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions apis/management/fuzzer/fuzzer.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,15 +19,15 @@ package fuzzer
import (
"kmodules.xyz/resource-metadata/apis/management/v1alpha1"

fuzz "github.com/google/gofuzz"
runtimeserializer "k8s.io/apimachinery/pkg/runtime/serializer"
"sigs.k8s.io/randfill"
)

// Funcs returns the fuzzer functions for this api group.
var Funcs = func(codecs runtimeserializer.CodecFactory) []any {
return []any{
func(s *v1alpha1.ProjectQuota, c fuzz.Continue) {
c.FuzzNoCustom(s) // fuzz self without calling this function again
func(s *v1alpha1.ProjectQuota, c randfill.Continue) {
c.Fill(s) // fuzz self without calling this function again
},
}
}
542 changes: 488 additions & 54 deletions apis/management/v1alpha1/openapi_generated.go

Large diffs are not rendered by default.

10 changes: 5 additions & 5 deletions apis/meta/fuzzer/fuzzer.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,18 +20,18 @@ import (
v1alpha12 "kmodules.xyz/resource-metadata/apis/core/v1alpha1"
"kmodules.xyz/resource-metadata/apis/meta/v1alpha1"

fuzz "github.com/google/gofuzz"
runtimeserializer "k8s.io/apimachinery/pkg/runtime/serializer"
"sigs.k8s.io/randfill"
)

// Funcs returns the fuzzer functions for this api group.
var Funcs = func(codecs runtimeserializer.CodecFactory) []any {
return []any{
func(s *v1alpha1.ResourceDescriptor, c fuzz.Continue) {
c.FuzzNoCustom(s) // fuzz self without calling this function again
func(s *v1alpha1.ResourceDescriptor, c randfill.Continue) {
c.Fill(s) // fuzz self without calling this function again
},
func(s *v1alpha12.Project, c fuzz.Continue) {
c.FuzzNoCustom(s) // fuzz self without calling this function again
func(s *v1alpha12.Project, c randfill.Continue) {
c.Fill(s) // fuzz self without calling this function again
},
}
}
542 changes: 488 additions & 54 deletions apis/meta/v1alpha1/openapi_generated.go

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions apis/node/fuzzer/fuzzer.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,15 +19,15 @@ package fuzzer
import (
"kmodules.xyz/resource-metadata/apis/node/v1alpha1"

fuzz "github.com/google/gofuzz"
runtimeserializer "k8s.io/apimachinery/pkg/runtime/serializer"
"sigs.k8s.io/randfill"
)

// Funcs returns the fuzzer functions for this api group.
var Funcs = func(codecs runtimeserializer.CodecFactory) []any {
return []any{
func(s *v1alpha1.NodeTopology, c fuzz.Continue) {
c.FuzzNoCustom(s) // fuzz self without calling this function again
func(s *v1alpha1.NodeTopology, c randfill.Continue) {
c.Fill(s) // fuzz self without calling this function again
},
}
}
542 changes: 488 additions & 54 deletions apis/node/v1alpha1/openapi_generated.go

Large diffs are not rendered by default.

18 changes: 9 additions & 9 deletions apis/ui/fuzzer/fuzzer.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,24 +19,24 @@ package fuzzer
import (
"kmodules.xyz/resource-metadata/apis/ui/v1alpha1"

fuzz "github.com/google/gofuzz"
runtimeserializer "k8s.io/apimachinery/pkg/runtime/serializer"
"sigs.k8s.io/randfill"
)

// Funcs returns the fuzzer functions for this api group.
var Funcs = func(codecs runtimeserializer.CodecFactory) []any {
return []any{
func(s *v1alpha1.ResourceDashboard, c fuzz.Continue) {
c.FuzzNoCustom(s) // fuzz self without calling this function again
func(s *v1alpha1.ResourceDashboard, c randfill.Continue) {
c.Fill(s) // fuzz self without calling this function again
},
func(s *v1alpha1.ResourceEditor, c fuzz.Continue) {
c.FuzzNoCustom(s) // fuzz self without calling this function again
func(s *v1alpha1.ResourceEditor, c randfill.Continue) {
c.Fill(s) // fuzz self without calling this function again
},
func(s *v1alpha1.Feature, c fuzz.Continue) {
c.FuzzNoCustom(s) // fuzz self without calling this function again
func(s *v1alpha1.Feature, c randfill.Continue) {
c.Fill(s) // fuzz self without calling this function again
},
func(s *v1alpha1.FeatureSet, c fuzz.Continue) {
c.FuzzNoCustom(s) // fuzz self without calling this function again
func(s *v1alpha1.FeatureSet, c randfill.Continue) {
c.Fill(s) // fuzz self without calling this function again
},
}
}
Loading
Loading