fuzzer

package
v1.31.3 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: 4 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Funcs = func(codecs runtimeserializer.CodecFactory) []interface{} {
	return []interface{}{
		func(obj *flowcontrol.LimitedPriorityLevelConfiguration, c fuzz.Continue) {
			c.FuzzNoCustom(obj)

			if obj.NominalConcurrencyShares == 0 {
				obj.NominalConcurrencyShares = int32(1)
			}
			if obj.LendablePercent == nil {
				obj.LendablePercent = ptr.To(int32(0))
			}
		},
		func(obj *flowcontrol.ExemptPriorityLevelConfiguration, c fuzz.Continue) {
			c.FuzzNoCustom(obj)
			if obj.NominalConcurrencyShares == nil {
				obj.NominalConcurrencyShares = ptr.To(int32(0))
			}
			if obj.LendablePercent == nil {
				obj.LendablePercent = ptr.To(int32(0))
			}
		},
	}
}

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