Documentation ¶
Index ¶
- Constants
- Variables
- func CallerProviderThatFails(_ *testing.T, cfg config.SelfRegConfig, region string) *automock.ExternalSvcCallerProvider
- func CallerThatDoesNotGetCalled(t *testing.T, _ config.SelfRegConfig, _ string) *automock.ExternalSvcCallerProvider
- func CallerThatDoesNotSucceed(_ *testing.T, cfg config.SelfRegConfig, region string) *automock.ExternalSvcCallerProvider
- func CallerThatGetsCalledOnce(statusCode int) ...
- func CallerThatReturnsBadStatus(_ *testing.T, cfg config.SelfRegConfig, region string) *automock.ExternalSvcCallerProvider
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.
Click to show internal directories.
Click to hide internal directories.