Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var FuzzWKT = [...]interface{}{FuzzAny, FuzzDuration, FuzzStruct, FuzzTimestamp, FuzzFieldMask}
Functions ¶
func FuzzAny ¶
FuzzAny can be used to Fuzz google.protobuf.Any messages. It fills a fuzzed google.protobuf.Struct message.
func FuzzDuration ¶
func FuzzDuration(msg *durationpb.Duration, c fuzz.Continue)
FuzzDuration can be used to Fuzz google.protobuf.Duration messages. It's range is [0, 1 year)
func FuzzFieldMask ¶
func FuzzFieldMask(msg *fieldmaskpb.FieldMask, c fuzz.Continue)
FuzzFieldMask can be used to Fuzz google.protobuf.FieldMask messages. They produce valid lower_snake_case paths
func FuzzStruct ¶
FuzzStruct can be used to Fuzz google.protobuf.Struct messages. # of fields will be in [0, 64). Each field will be one of float, bool, or string
func FuzzTimestamp ¶
func FuzzTimestamp(msg *timestamppb.Timestamp, c fuzz.Continue)
FuzzTimestamp can be used to Fuzz google.protobuf.Timestamp messages. It's range is same as default time.Time fuzzer of gofuzz
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.