Documentation ¶
Overview ¶
Package debugtest contains test helper methods
Index ¶
- func NewTestHandlerOptsAndClient(t *testing.T) (placementhandler.HandlerOptions, *kv.MockStore, *clusterclient.MockClient)
- func NewTestHandlerOptsAndClientWithPlacement(t *testing.T, ctrl *gomock.Controller, placement clusterplacement.Placement) (placementhandler.HandlerOptions, *kv.MockStore, *clusterclient.MockClient)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewTestHandlerOptsAndClient ¶
func NewTestHandlerOptsAndClient( t *testing.T, ) ( placementhandler.HandlerOptions, *kv.MockStore, *clusterclient.MockClient, )
NewTestHandlerOptsAndClient returns a new test handler.
func NewTestHandlerOptsAndClientWithPlacement ¶ added in v1.4.2
func NewTestHandlerOptsAndClientWithPlacement( t *testing.T, ctrl *gomock.Controller, placement clusterplacement.Placement, ) ( placementhandler.HandlerOptions, *kv.MockStore, *clusterclient.MockClient, )
NewTestHandlerOptsAndClientWithPlacement returns a new test handler with supplied placement.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.