Documentation ¶
Index ¶
- func NewClients(t *testing.T, config *rest.Config) (kubernetes.Interface, informers.SharedInformerFactory, cmclient.Interface, ...)
- func NewEventRecorder(t *testing.T) record.EventRecorder
- func WaitForOpenAPIResourcesToBeLoaded(t *testing.T, config *rest.Config, gvk schema.GroupVersionKind)
- type StopFunc
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewClients ¶
func NewClients(t *testing.T, config *rest.Config) (kubernetes.Interface, informers.SharedInformerFactory, cmclient.Interface, cminformers.SharedInformerFactory)
func NewEventRecorder ¶
func NewEventRecorder(t *testing.T) record.EventRecorder
func WaitForOpenAPIResourcesToBeLoaded ¶ added in v1.0.0
Types ¶
type StopFunc ¶
type StopFunc func()
func StartInformersAndController ¶
func StartInformersAndController(t *testing.T, factory informers.SharedInformerFactory, cmFactory cminformers.SharedInformerFactory, c controllerpkg.Interface) StopFunc
Click to show internal directories.
Click to hide internal directories.