Back to godoc.org

Package fuzzer

v0.16.1
Latest Go to latest

The latest major version is .

Published: Aug 7, 2020 | License: Apache-2.0 | Module: github.com/jetstack/cert-manager

Index

Variables

var Funcs = func(codecs runtimeserializer.CodecFactory) []interface{} {
	return []interface{}{
		func(s *acme.Order, c fuzz.Continue) {
			c.FuzzNoCustom(s)

			if s.Spec.IssuerRef.Kind == "" {
				s.Spec.IssuerRef.Kind = v1alpha2.IssuerKind
			}
		},
		func(s *acme.Challenge, c fuzz.Continue) {
			c.FuzzNoCustom(s)

			if s.Spec.IssuerRef.Kind == "" {
				s.Spec.IssuerRef.Kind = v1alpha2.IssuerKind
			}
		},
		func(s *apiext.JSON, c fuzz.Continue) {

			s.Raw = []byte("{}")
		},
	}
}

Funcs returns the fuzzer functions for the apps api group.

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

Jump to identifier

Keyboard shortcuts

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