Documentation ¶
Overview ¶
Package mock is a generated GoMock package.
Index ¶
- type MockBackend
- func (m *MockBackend) Call(arg0, arg1, arg2 string, arg3 stripe.ParamsContainer, ...) error
- func (m *MockBackend) CallMultipart(arg0, arg1, arg2, arg3 string, arg4 *bytes.Buffer, arg5 *stripe.Params, ...) error
- func (m *MockBackend) CallRaw(arg0, arg1, arg2 string, arg3 *form.Values, arg4 *stripe.Params, ...) error
- func (m *MockBackend) CallStreaming(arg0, arg1, arg2 string, arg3 stripe.ParamsContainer, ...) error
- func (m *MockBackend) EXPECT() *MockBackendMockRecorder
- func (m *MockBackend) SetMaxNetworkRetries(arg0 int64)
- type MockBackendMockRecorder
- func (mr *MockBackendMockRecorder) Call(arg0, arg1, arg2, arg3, arg4 any) *gomock.Call
- func (mr *MockBackendMockRecorder) CallMultipart(arg0, arg1, arg2, arg3, arg4, arg5, arg6 any) *gomock.Call
- func (mr *MockBackendMockRecorder) CallRaw(arg0, arg1, arg2, arg3, arg4, arg5 any) *gomock.Call
- func (mr *MockBackendMockRecorder) CallStreaming(arg0, arg1, arg2, arg3, arg4 any) *gomock.Call
- func (mr *MockBackendMockRecorder) SetMaxNetworkRetries(arg0 any) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockBackend ¶
type MockBackend struct {
// contains filtered or unexported fields
}
MockBackend is a mock of Backend interface.
func NewMockBackend ¶
func NewMockBackend(ctrl *gomock.Controller) *MockBackend
NewMockBackend creates a new mock instance.
func (*MockBackend) Call ¶
func (m *MockBackend) Call(arg0, arg1, arg2 string, arg3 stripe.ParamsContainer, arg4 stripe.LastResponseSetter) error
Call mocks base method.
func (*MockBackend) CallMultipart ¶
func (m *MockBackend) CallMultipart(arg0, arg1, arg2, arg3 string, arg4 *bytes.Buffer, arg5 *stripe.Params, arg6 stripe.LastResponseSetter) error
CallMultipart mocks base method.
func (*MockBackend) CallRaw ¶
func (m *MockBackend) CallRaw(arg0, arg1, arg2 string, arg3 *form.Values, arg4 *stripe.Params, arg5 stripe.LastResponseSetter) error
CallRaw mocks base method.
func (*MockBackend) CallStreaming ¶
func (m *MockBackend) CallStreaming(arg0, arg1, arg2 string, arg3 stripe.ParamsContainer, arg4 stripe.StreamingLastResponseSetter) error
CallStreaming mocks base method.
func (*MockBackend) EXPECT ¶
func (m *MockBackend) EXPECT() *MockBackendMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockBackend) SetMaxNetworkRetries ¶
func (m *MockBackend) SetMaxNetworkRetries(arg0 int64)
SetMaxNetworkRetries mocks base method.
type MockBackendMockRecorder ¶
type MockBackendMockRecorder struct {
// contains filtered or unexported fields
}
MockBackendMockRecorder is the mock recorder for MockBackend.
func (*MockBackendMockRecorder) Call ¶
func (mr *MockBackendMockRecorder) Call(arg0, arg1, arg2, arg3, arg4 any) *gomock.Call
Call indicates an expected call of Call.
func (*MockBackendMockRecorder) CallMultipart ¶
func (mr *MockBackendMockRecorder) CallMultipart(arg0, arg1, arg2, arg3, arg4, arg5, arg6 any) *gomock.Call
CallMultipart indicates an expected call of CallMultipart.
func (*MockBackendMockRecorder) CallRaw ¶
func (mr *MockBackendMockRecorder) CallRaw(arg0, arg1, arg2, arg3, arg4, arg5 any) *gomock.Call
CallRaw indicates an expected call of CallRaw.
func (*MockBackendMockRecorder) CallStreaming ¶
func (mr *MockBackendMockRecorder) CallStreaming(arg0, arg1, arg2, arg3, arg4 any) *gomock.Call
CallStreaming indicates an expected call of CallStreaming.
func (*MockBackendMockRecorder) SetMaxNetworkRetries ¶
func (mr *MockBackendMockRecorder) SetMaxNetworkRetries(arg0 any) *gomock.Call
SetMaxNetworkRetries indicates an expected call of SetMaxNetworkRetries.