Documentation
¶
Overview ¶
Package mocks is a generated GoMock package.
Index ¶
- type MockHTTPClient
- func (m *MockHTTPClient) Delete(arg0 context.Context, arg1 *httpclient.Request, ...) (*httpclient.Response, error)
- func (m *MockHTTPClient) EXPECT() *MockHTTPClientMockRecorder
- func (m *MockHTTPClient) Get(arg0 context.Context, arg1 *httpclient.Request, ...) (*httpclient.Response, error)
- func (m *MockHTTPClient) Patch(arg0 context.Context, arg1 *httpclient.Request, ...) (*httpclient.Response, error)
- func (m *MockHTTPClient) Post(arg0 context.Context, arg1 *httpclient.Request, ...) (*httpclient.Response, error)
- func (m *MockHTTPClient) PostForm(arg0 context.Context, arg1 *httpclient.Request, ...) (*httpclient.Response, error)
- func (m *MockHTTPClient) Put(arg0 context.Context, arg1 *httpclient.Request, ...) (*httpclient.Response, error)
- type MockHTTPClientMockRecorder
- func (mr *MockHTTPClientMockRecorder) Delete(arg0, arg1 any, arg2 ...any) *gomock.Call
- func (mr *MockHTTPClientMockRecorder) Get(arg0, arg1 any, arg2 ...any) *gomock.Call
- func (mr *MockHTTPClientMockRecorder) Patch(arg0, arg1 any, arg2 ...any) *gomock.Call
- func (mr *MockHTTPClientMockRecorder) Post(arg0, arg1 any, arg2 ...any) *gomock.Call
- func (mr *MockHTTPClientMockRecorder) PostForm(arg0, arg1 any, arg2 ...any) *gomock.Call
- func (mr *MockHTTPClientMockRecorder) Put(arg0, arg1 any, arg2 ...any) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockHTTPClient ¶
type MockHTTPClient struct {
// contains filtered or unexported fields
}
MockHTTPClient is a mock of HTTPClient interface.
func NewMockHTTPClient ¶
func NewMockHTTPClient(ctrl *gomock.Controller) *MockHTTPClient
NewMockHTTPClient creates a new mock instance.
func (*MockHTTPClient) Delete ¶
func (m *MockHTTPClient) Delete(arg0 context.Context, arg1 *httpclient.Request, arg2 ...httpclient.RequestOption) (*httpclient.Response, error)
Delete mocks base method.
func (*MockHTTPClient) EXPECT ¶
func (m *MockHTTPClient) EXPECT() *MockHTTPClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockHTTPClient) Get ¶
func (m *MockHTTPClient) Get(arg0 context.Context, arg1 *httpclient.Request, arg2 ...httpclient.RequestOption) (*httpclient.Response, error)
Get mocks base method.
func (*MockHTTPClient) Patch ¶
func (m *MockHTTPClient) Patch(arg0 context.Context, arg1 *httpclient.Request, arg2 ...httpclient.RequestOption) (*httpclient.Response, error)
Patch mocks base method.
func (*MockHTTPClient) Post ¶
func (m *MockHTTPClient) Post(arg0 context.Context, arg1 *httpclient.Request, arg2 ...httpclient.RequestOption) (*httpclient.Response, error)
Post mocks base method.
func (*MockHTTPClient) PostForm ¶
func (m *MockHTTPClient) PostForm(arg0 context.Context, arg1 *httpclient.Request, arg2 ...httpclient.RequestOption) (*httpclient.Response, error)
PostForm mocks base method.
func (*MockHTTPClient) Put ¶
func (m *MockHTTPClient) Put(arg0 context.Context, arg1 *httpclient.Request, arg2 ...httpclient.RequestOption) (*httpclient.Response, error)
Put mocks base method.
type MockHTTPClientMockRecorder ¶
type MockHTTPClientMockRecorder struct {
// contains filtered or unexported fields
}
MockHTTPClientMockRecorder is the mock recorder for MockHTTPClient.
func (*MockHTTPClientMockRecorder) Delete ¶
func (mr *MockHTTPClientMockRecorder) Delete(arg0, arg1 any, arg2 ...any) *gomock.Call
Delete indicates an expected call of Delete.
func (*MockHTTPClientMockRecorder) Get ¶
func (mr *MockHTTPClientMockRecorder) Get(arg0, arg1 any, arg2 ...any) *gomock.Call
Get indicates an expected call of Get.
func (*MockHTTPClientMockRecorder) Patch ¶
func (mr *MockHTTPClientMockRecorder) Patch(arg0, arg1 any, arg2 ...any) *gomock.Call
Patch indicates an expected call of Patch.
func (*MockHTTPClientMockRecorder) Post ¶
func (mr *MockHTTPClientMockRecorder) Post(arg0, arg1 any, arg2 ...any) *gomock.Call
Post indicates an expected call of Post.
Click to show internal directories.
Click to hide internal directories.