Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type StateFixture ¶
type StateFixture struct { T *testing.T KubeObjects []runtime.Object // contains filtered or unexported fields }
func (*StateFixture) KubeClient ¶
func (s *StateFixture) KubeClient() *kubefake.Clientset
func (*StateFixture) NavigatorClient ¶
func (s *StateFixture) NavigatorClient() *navfake.Clientset
func (*StateFixture) Start ¶
func (s *StateFixture) Start()
func (*StateFixture) State ¶
func (s *StateFixture) State() *controllers.State
func (*StateFixture) Stop ¶
func (s *StateFixture) Stop()
Stop will signal the informers to stop watching changes
func (*StateFixture) WaitForResync ¶
func (s *StateFixture) 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.