Documentation
¶
Index ¶
Constants ¶
View Source
const MaxEvents = 100
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Event ¶
type Event struct { OldObj *unstructured.Unstructured NewObj *unstructured.Unstructured }
type TestInformer ¶
type TestInformer struct { Wg sync.WaitGroup UpdateEvents chan Event DeleteEvents chan *unstructured.Unstructured StopCh chan struct{} // contains filtered or unexported fields }
func NewInformer ¶
func NewInformer(cfg *rest.Config, gkv schema.GroupVersionKind, namespace, resourceName string) *TestInformer
NewInformer returns a new informer struct to test reconciliation transitions in our unit tests.
func (*TestInformer) Cleanup ¶
func (i *TestInformer) Cleanup()
func (*TestInformer) Run ¶
func (i *TestInformer) Run()
Click to show internal directories.
Click to hide internal directories.