selfregmngrtest

package
v0.0.0-...-6d13c91 Latest Latest
Warning

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

Go to latest
Published: Apr 30, 2024 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// ResponseLabelKey is a testing label key
	ResponseLabelKey = "test-response-label-key"
	// ResponseLabelValue is a testing label value
	ResponseLabelValue = "test-label-val"
)

Variables

View Source
var TestError = errors.New("test-error")

TestError is a testing error

Functions

func CallerProviderThatFails

func CallerProviderThatFails(_ *testing.T, cfg config.SelfRegConfig, region string) *automock.ExternalSvcCallerProvider

CallerProviderThatFails missing godoc

func CallerThatDoesNotGetCalled

func CallerThatDoesNotGetCalled(t *testing.T, _ config.SelfRegConfig, _ string) *automock.ExternalSvcCallerProvider

CallerThatDoesNotGetCalled missing godoc

func CallerThatDoesNotSucceed

func CallerThatDoesNotSucceed(_ *testing.T, cfg config.SelfRegConfig, region string) *automock.ExternalSvcCallerProvider

CallerThatDoesNotSucceed missing godoc

func CallerThatGetsCalledOnce

func CallerThatGetsCalledOnce(statusCode int) func(*testing.T, config.SelfRegConfig, string) *automock.ExternalSvcCallerProvider

CallerThatGetsCalledOnce missing godoc

func CallerThatReturnsBadStatus

func CallerThatReturnsBadStatus(_ *testing.T, cfg config.SelfRegConfig, region string) *automock.ExternalSvcCallerProvider

CallerThatReturnsBadStatus missing godoc

Types

This section is empty.

Jump to

Keyboard shortcuts

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