fuzzer

package
v1.30.7 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 19, 2024 License: Apache-2.0 Imports: 3 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

View Source
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.

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL