fuzzer

package
v0.2.0-alpha.0 Latest Latest
Warning

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

Go to latest
Published: Jun 20, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Funcs = func(codecs runtimeserializer.CodecFactory) []interface{} {
	return []interface{}{
		func(j *apps.Chain, c fuzz.Continue) {
			c.FuzzNoCustom(s)

		},
		func(j *apps.MinerSet, c fuzz.Continue) {
			c.FuzzNoCustom(s)

			if j.Spec.Selector == nil {
				j.Spec.Selector = &metav1.LabelSelector{MatchLabels: j.Spec.Template.Labels}
			}
			if len(j.Labels) == 0 {
				j.Labels = j.Spec.Template.Labels
			}

		},
		func(j *apps.Miner, c fuzz.Continue) {
			c.FuzzNoCustom(s)

		},
	}
}

Funcs returns the fuzzer functions for the apps api 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