helpers

package
v0.10.7 Latest Latest
Warning

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

Go to latest
Published: Nov 25, 2024 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FuzzMutateTestFunc

func FuzzMutateTestFunc(input FuzzMutateTestFuncInput) func(*testing.T)

func FuzzRestorer added in v0.10.0

func FuzzRestorer[T any](t *testing.T, name string, f func(*T, *T))

FuzzRestorer fuzzes the inputs to a restore function and ensures that the function does not panic.

func InfraV1FuzzerFuncs added in v0.10.0

func InfraV1FuzzerFuncs() []interface{}

InfraV1FuzzerFuncs returns fuzzer funcs for v1beta1 OpenStack types which: * Constrain the output in ways which are validated by the API server * Add additional test coverage where it is not generated by the default fuzzer.

Types

type FuzzMutateTestFuncInput

type FuzzMutateTestFuncInput struct {
	utilconversion.FuzzTestFuncInput
	MutateFuzzerFuncs []fuzzer.FuzzerFuncs
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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