retryable_errors

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Jun 9, 2025 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockRetryableError

type MockRetryableError struct {
	mock.Mock
}

MockRetryableError is an autogenerated mock type for the RetryableError type

func NewMockRetryableError

func NewMockRetryableError(t interface {
	mock.TestingT
	Cleanup(func())
}) *MockRetryableError

NewMockRetryableError creates a new instance of MockRetryableError. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*MockRetryableError) EXPECT

func (*MockRetryableError) Error

func (_m *MockRetryableError) Error() string

Error provides a mock function with no fields

func (*MockRetryableError) ShouldRetry

func (_m *MockRetryableError) ShouldRetry() bool

ShouldRetry provides a mock function with no fields

type MockRetryableError_Error_Call

type MockRetryableError_Error_Call struct {
	*mock.Call
}

MockRetryableError_Error_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Error'

func (*MockRetryableError_Error_Call) Return

func (*MockRetryableError_Error_Call) Run

func (*MockRetryableError_Error_Call) RunAndReturn

type MockRetryableError_Expecter

type MockRetryableError_Expecter struct {
	// contains filtered or unexported fields
}

func (*MockRetryableError_Expecter) Error

Error is a helper method to define mock.On call

func (*MockRetryableError_Expecter) ShouldRetry

ShouldRetry is a helper method to define mock.On call

type MockRetryableError_ShouldRetry_Call

type MockRetryableError_ShouldRetry_Call struct {
	*mock.Call
}

MockRetryableError_ShouldRetry_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ShouldRetry'

func (*MockRetryableError_ShouldRetry_Call) Return

func (*MockRetryableError_ShouldRetry_Call) Run

func (*MockRetryableError_ShouldRetry_Call) RunAndReturn

Jump to

Keyboard shortcuts

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