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.6
- Published
- Sep 13, 2023
- Platform
- js/wasm
- Imports
- 3 packages
- Last checked
- 18 seconds ago –
Tools for package owners.