Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Generate ¶
func Generate(rng *rand.Rand, s *jsonschema.Schema) any
Generate generates a go values that is valid for the provided JSON schema. It may be used to "fuzz" or property test charts to ensure that all paths are appropriately explored and that the schema is well formed for the chart.
func GenerateSchema ¶
func GenerateSchema(instance any) *jsonschema.Schema
func RoundTripThrough ¶
RoundTripThrough round trips input through T. It may be used to understand how various types affect JSON marshalling or apply go's defaulting to an untyped value.
func UnmarshalInto ¶
UnmarshalInto "converts" input into T by marshalling input to JSON and then unmarshalling into T.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.