crdfuzz

package module
v1.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 26, 2020 License: Apache-2.0 Imports: 17 Imported by: 0

README

crd-schema-fuzz

Fuzz testing for Kubernetes CustomResourceDefinition schemas

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

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.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL