Back to godoc.org
kmodules.xyz/crd-schema-fuzz

Package crdfuzz

v0.0.0-...-2433a18
Latest Go to latest

The latest major version is .

Published: May 21, 2020 | License: Apache-2.0 | Module: kmodules.xyz/crd-schema-fuzz

Index

func SchemaFuzzTestForCRDWithPath

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

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

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

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

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.

Documentation was rendered with GOOS=linux and GOARCH=amd64.

Jump to identifier

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to identifier