cert-manager: github.com/jetstack/cert-manager/pkg/internal/apis/acme/fuzzer Index | Files

package fuzzer

import "github.com/jetstack/cert-manager/pkg/internal/apis/acme/fuzzer"

Index

Package Files

fuzzer.go

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.

Package fuzzer imports 5 packages (graph) and is imported by 1 packages. Updated 2019-12-28. Refresh now. Tools for package owners.