fuzztests

package
v1.9.0-p01 Latest Latest
Warning

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

Go to latest
Published: Aug 14, 2025 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetFuzzer

func GetFuzzer(scheme *runtime.Scheme, funcs ...fuzzer.FuzzerFuncs) *randfill.Filler

GetFuzzer returns a new fuzzer to be used for testing.

func HubSpokeHub

func HubSpokeHub(input FuzzTestFuncInput)

func SpokeHubSpoke

func SpokeHubSpoke(input FuzzTestFuncInput)

Types

type FuzzTestFuncInput

type FuzzTestFuncInput struct {
	Scheme *runtime.Scheme

	Hub              ctrlconversion.Hub
	HubAfterMutation func(ctrlconversion.Hub)

	Spoke                      ctrlconversion.Convertible
	SpokeAfterMutation         func(convertible ctrlconversion.Convertible)
	SkipSpokeAnnotationCleanup bool

	FuzzerFuncs []fuzzer.FuzzerFuncs
}

FuzzTestFuncInput contains input parameters for the FuzzTestFunc function.

Jump to

Keyboard shortcuts

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