framework

package
v0.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 8, 2018 License: Apache-2.0 Imports: 12 Imported by: 0

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
	NavigatorObjects []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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL