package fuzzer
import "k8s.io/kubernetes/pkg/apis/resource/fuzzer"
Index ¶
Variables ¶
var Funcs = func(codecs runtimeserializer.CodecFactory) []interface{} { return []interface{}{ func(obj *resource.ResourceClaimSpec, c fuzz.Continue) { c.FuzzNoCustom(obj) modes := []resource.AllocationMode{ resource.AllocationModeImmediate, resource.AllocationModeWaitForFirstConsumer, } obj.AllocationMode = modes[c.Rand.Intn(len(modes))] }, } }
Funcs contains the fuzzer functions for the resource group.
Source Files ¶
fuzzer.go
- Version
- v1.27.8
- Published
- Nov 15, 2023
- Platform
- js/wasm
- Imports
- 3 packages
- Last checked
- 2 minutes ago –
Tools for package owners.