Documentation ¶
Index ¶
- func RandStringBytes(n int) string
- type Fixture
- func (s *Fixture) CertManagerClient() *cmfake.Clientset
- func (s *Fixture) CertManagerInformerFactory() informers.SharedInformerFactory
- func (s *Fixture) EventRecorder() *record.FakeRecorder
- func (s *Fixture) Events() []string
- func (s *Fixture) KubeClient() *kubefake.Clientset
- func (s *Fixture) KubeInformerFactory() kubeinformers.SharedInformerFactory
- func (s *Fixture) Start()
- func (s *Fixture) Stop()
- func (s *Fixture) Sync()
- func (s *Fixture) WaitForResync()
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RandStringBytes ¶
Types ¶
type Fixture ¶
type Fixture struct { T *testing.T KubeObjects []runtime.Object CertManagerObjects []runtime.Object // contains filtered or unexported fields }
func (*Fixture) CertManagerClient ¶
func (*Fixture) CertManagerInformerFactory ¶
func (s *Fixture) CertManagerInformerFactory() informers.SharedInformerFactory
func (*Fixture) EventRecorder ¶
func (s *Fixture) EventRecorder() *record.FakeRecorder
func (*Fixture) KubeClient ¶
func (*Fixture) KubeInformerFactory ¶
func (s *Fixture) KubeInformerFactory() kubeinformers.SharedInformerFactory
func (*Fixture) Stop ¶
func (s *Fixture) Stop()
Stop will signal the informers to stop watching changes This method is *not* safe to be called concurrently
func (*Fixture) WaitForResync ¶
func (s *Fixture) WaitForResync()
WaitForResync will wait for the informer factory informer duration by calling time.Sleep. This will ensure that all informer Stores are up to date with current information from the fake clients.
Click to show internal directories.
Click to hide internal directories.