testutil

package
v0.8.2 Latest Latest
Warning

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

Go to latest
Published: Mar 15, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const (
	TestDataDir = "../../testdata"
	ClusterID   = "abc-r2d2"
)

Variables

This section is empty.

Functions

func ServerMock

func ServerMock() *httptest.Server

func Topic

func Topic(statusCode int) string

Topic expects a response file testdata/response-<statuscode>

Types

This section is empty.

Jump to

Keyboard shortcuts

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