crd-schema-fuzz: kmodules.xyz/crd-schema-fuzz Index | Files

package crdfuzz

import "kmodules.xyz/crd-schema-fuzz"

Index

Package Files

fuzz.go

func SchemaFuzzTestForCRDWithPath Uses

func SchemaFuzzTestForCRDWithPath(t *testing.T, scheme *runtime.Scheme, path string, fuzzingFuncs fuzzer.FuzzerFuncs)

SchemaFuzzTestForCRDWithPath will perform schema validation based pruning fuzz tests against all versions defined in a file containing a single CustomResourceDefinition resource in any support CRD APIVersion (currently v1beta1 and v1)

func SchemaFuzzTestForInternalCRD Uses

func SchemaFuzzTestForInternalCRD(t *testing.T, scheme *runtime.Scheme, crd *apiextensions.CustomResourceDefinition, fuzzingFuncs fuzzer.FuzzerFuncs)

SchemaFuzzTestForInternalCRD will perform schema validation based pruning fuzz tests against all versions defined in a given CRD object.

func SchemaFuzzTestForObject Uses

func SchemaFuzzTestForObject(t *testing.T, scheme *runtime.Scheme, obj runtime.Object, schema *structuralschema.Structural, fuzzingFuncs fuzzer.FuzzerFuncs)

SchemaFuzzTestForObject will run schema validation based pruning fuzz tests against a single given obj using the provided schema.

func SchemaFuzzTestForV1CRD Uses

func SchemaFuzzTestForV1CRD(t *testing.T, scheme *runtime.Scheme, crd *crdv1.CustomResourceDefinition, fuzzingFuncs fuzzer.FuzzerFuncs)

SchemaFuzzTestForV1CRD will perform schema validation based pruning fuzz tests against all versions defined in a given v1 CRD object.

func SchemaFuzzTestForV1beta1CRD Uses

func SchemaFuzzTestForV1beta1CRD(t *testing.T, scheme *runtime.Scheme, crd *crdv1beta1.CustomResourceDefinition, fuzzingFuncs fuzzer.FuzzerFuncs)

SchemaFuzzTestForV1beta1CRD will perform schema validation based pruning fuzz tests against all versions defined in a given v1beta1 CRD object.

Package crdfuzz imports 19 packages (graph). Updated 2020-09-28. Refresh now. Tools for package owners.