Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Funcs = func(codecs runtimeserializer.CodecFactory) []interface{} { return []interface{}{ func(obj *admissionregistration.Rule, c fuzz.Continue) { c.FuzzNoCustom(obj) if obj.Scope == nil { s := admissionregistration.AllScopes obj.Scope = &s } }, func(obj *admissionregistration.ValidatingWebhook, c fuzz.Continue) { c.FuzzNoCustom(obj) if obj.FailurePolicy == nil { p := admissionregistration.FailurePolicyType("Fail") obj.FailurePolicy = &p } if obj.MatchPolicy == nil { m := admissionregistration.MatchPolicyType("Exact") obj.MatchPolicy = &m } if obj.SideEffects == nil { s := admissionregistration.SideEffectClassUnknown obj.SideEffects = &s } if obj.TimeoutSeconds == nil { i := int32(30) obj.TimeoutSeconds = &i } obj.AdmissionReviewVersions = []string{"v1beta1"} }, func(obj *admissionregistration.MutatingWebhook, c fuzz.Continue) { c.FuzzNoCustom(obj) if obj.FailurePolicy == nil { p := admissionregistration.FailurePolicyType("Fail") obj.FailurePolicy = &p } if obj.MatchPolicy == nil { m := admissionregistration.MatchPolicyType("Exact") obj.MatchPolicy = &m } if obj.SideEffects == nil { s := admissionregistration.SideEffectClassUnknown obj.SideEffects = &s } if obj.ReinvocationPolicy == nil { r := admissionregistration.NeverReinvocationPolicy obj.ReinvocationPolicy = &r } if obj.TimeoutSeconds == nil { i := int32(30) obj.TimeoutSeconds = &i } obj.AdmissionReviewVersions = []string{"v1beta1"} }, func(obj *admissionregistration.ValidatingAdmissionPolicySpec, c fuzz.Continue) { c.FuzzNoCustom(obj) if obj.FailurePolicy == nil { p := admissionregistration.FailurePolicyType("Fail") obj.FailurePolicy = &p } }, func(obj *admissionregistration.ValidatingAdmissionPolicyBindingSpec, c fuzz.Continue) { c.FuzzNoCustom(obj) if obj.ValidationActions == nil { obj.ValidationActions = []admissionregistration.ValidationAction{admissionregistration.Deny} } }, func(obj *admissionregistration.MatchResources, c fuzz.Continue) { c.FuzzNoCustom(obj) if obj.MatchPolicy == nil { m := admissionregistration.MatchPolicyType("Exact") obj.MatchPolicy = &m } }, func(obj *admissionregistration.ParamRef, c fuzz.Continue) { c.FuzzNoCustom(obj) if obj.ParameterNotFoundAction == nil { v := admissionregistration.DenyAction obj.ParameterNotFoundAction = &v } }, } }
Funcs returns the fuzzer functions for the admissionregistration api group.
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.