Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Funcs = func(codecs runtimeserializer.CodecFactory) []interface{} { return []interface{}{ func(s *apps.StatefulSet, c fuzz.Continue) { c.FuzzNoCustom(s) if len(s.Spec.PodManagementPolicy) == 0 { s.Spec.PodManagementPolicy = apps.OrderedReadyPodManagement } if len(s.Spec.UpdateStrategy.Type) == 0 { s.Spec.UpdateStrategy.Type = apps.RollingUpdateStatefulSetStrategyType } if s.Spec.RevisionHistoryLimit == nil { s.Spec.RevisionHistoryLimit = new(int32) *s.Spec.RevisionHistoryLimit = 10 } if s.Status.ObservedGeneration == nil { s.Status.ObservedGeneration = new(int64) } if s.Status.CollisionCount == nil { s.Status.CollisionCount = new(int32) } if s.Spec.Selector == nil { s.Spec.Selector = &metav1.LabelSelector{MatchLabels: s.Spec.Template.Labels} } if len(s.Labels) == 0 { s.Labels = s.Spec.Template.Labels } }, } }
Funcs returns the fuzzer functions for the apps api group.
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.