Documentation ¶
Overview ¶
fake package is used to abstract the StatusPoller and return predictable outcomes. It will transform the Unstructured objects in events and sent them back in the same order.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type TestPoller ¶
type TestPoller struct{}
TestPoller is used to test correct behaviour of code that will work with events sent from a StatusPoller
func (*TestPoller) Start ¶
func (p *TestPoller) Start(ctx context.Context, objs []*unstructured.Unstructured) <-chan event.Event
Start implement StatusPoller, but it will use the objs to generate the relevant statuses to return to the channel
Click to show internal directories.
Click to hide internal directories.