Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Fuzzer ¶
type Fuzzer struct {
// contains filtered or unexported fields
}
func (*Fuzzer) EmptyChance ¶
EmptyChance sets the probability of creating an empty field map to the given chance. The chance should be between 0 (no empty fields) and 1 (all empty), inclusive.
func (*Fuzzer) Fuzz ¶
Fuzz recursively fills a Resource based on fields the ReferenceSchema of the Fuzzer.
func (*Fuzzer) NeverEmpty ¶
NeverEmpty makes sure that all passed attribute names are never empty during fuzzing. Setting a complex attribute on never empty will also make their sub attributes never empty. i.e. "displayName", "name.givenName" or "emails.value"
func (*Fuzzer) NumElements ¶
NumElements sets the minimum and maximum number of elements that will be added. If the elements are not required, it is possible to get less elements than the given parameter.