Versions in this module Expand all Collapse all v3 v3.4.3 Dec 27, 2023 Changes in this version + func NTimesReactor(f coretesting.ReactionFunc, numberCalls int) coretesting.ReactionFunc + func ObjectCreatedReactor(t *testing.T, b *Builder, expectedObj runtime.Object) coretesting.ReactionFunc + func ObjectDeletedReactor(t *testing.T, b *Builder, obj runtime.Object) coretesting.ReactionFunc + func RandStringBytes(n int) string + type Action interface + Action func() coretesting.Action + Matches func(coretesting.Action) error + func NewAction(a coretesting.Action) Action + func NewCustomMatch(a coretesting.Action, matchFn ActionMatchFn) Action + type ActionMatchFn func(coretesting.Action, coretesting.Action) error + type Builder struct + CertManagerObjects []runtime.Object + CheckFn func(*Builder, ...interface{}) + Clock *fakeclock.FakeClock + ExpectedActions []Action + ExpectedEvents []string + KubeObjects []runtime.Object + StringGenerator StringGenerator + T *testing.T + VSClient k8s_nginx.Interface + VSObjects []runtime.Object + VsSharedInformerFactory vsinformers.SharedInformerFactory + func (b *Builder) AllActionsExecuted() error + func (b *Builder) AllEventsCalled() error + func (b *Builder) AllReactorsCalled() error + func (b *Builder) CheckAndFinish(args ...interface{}) + func (b *Builder) EnsureReactorCalled(testName string, fn coretesting.ReactionFunc) coretesting.ReactionFunc + func (b *Builder) Events() []string + func (b *Builder) FakeCMClient() *cmfake.Clientset + func (b *Builder) FakeCMInformerFactory() informers.SharedInformerFactory + func (b *Builder) FakeKubeClient() *kubefake.Clientset + func (b *Builder) FakeKubeInformerFactory() kubeinformers.SharedInformerFactory + func (b *Builder) FakeVSClient() *vsfake.Clientset + func (b *Builder) Init() + func (b *Builder) InitWithRESTConfig() + func (b *Builder) Start() + func (b *Builder) Stop() + func (b *Builder) Sync() + type Context struct + CMClient clientset.Interface + Client kubernetes.Interface + KubeSharedInformerFactory kubeinformers.SharedInformerFactory + RESTConfig *rest.Config + Recorder record.EventRecorder + RootContext context.Context + SharedInformerFactory informers.SharedInformerFactory + StopCh <-chan struct{} + type ContextOptions struct + Clock clock.Clock + Kubeconfig string + Namespace string + type FakeRecorder struct + Events []string + func (f *FakeRecorder) AnnotatedEventf(object runtime.Object, annotations map[string]string, ...) + func (f *FakeRecorder) Event(object runtime.Object, eventtype, reason, message string) + func (f *FakeRecorder) Eventf(object runtime.Object, eventtype, reason, messageFmt string, ...) + func (f *FakeRecorder) PastEventf(object runtime.Object, timestamp metav1.Time, ...) + type StringGenerator func(n int) string