debugtest

package
v1.5.0 Latest Latest
Warning

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

Go to latest
Published: Apr 7, 2022 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Overview

Package debugtest contains test helper methods

Index

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.

Jump to

Keyboard shortcuts

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