Documentation ¶
Overview ¶
Package mock_gorqlite is a generated GoMock package.
Index ¶
- type MockAPIClient
- func (m *MockAPIClient) EXPECT() *MockAPIClientMockRecorder
- func (m *MockAPIClient) Get(path string, query url.Values) (*http.Response, error)
- func (m *MockAPIClient) GetWithContext(ctx context.Context, path string, query url.Values) (*http.Response, error)
- func (m *MockAPIClient) Post(path string, query url.Values, body []byte) (*http.Response, error)
- func (m *MockAPIClient) PostWithContext(ctx context.Context, path string, query url.Values, body []byte) (*http.Response, error)
- type MockAPIClientMockRecorder
- func (mr *MockAPIClientMockRecorder) Get(path, query interface{}) *gomock.Call
- func (mr *MockAPIClientMockRecorder) GetWithContext(ctx, path, query interface{}) *gomock.Call
- func (mr *MockAPIClientMockRecorder) Post(path, query, body interface{}) *gomock.Call
- func (mr *MockAPIClientMockRecorder) PostWithContext(ctx, path, query, body interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockAPIClient ¶
type MockAPIClient struct {
// contains filtered or unexported fields
}
MockAPIClient is a mock of APIClient interface.
func NewMockAPIClient ¶
func NewMockAPIClient(ctrl *gomock.Controller) *MockAPIClient
NewMockAPIClient creates a new mock instance.
func (*MockAPIClient) EXPECT ¶
func (m *MockAPIClient) EXPECT() *MockAPIClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockAPIClient) GetWithContext ¶
func (m *MockAPIClient) GetWithContext(ctx context.Context, path string, query url.Values) (*http.Response, error)
GetWithContext mocks base method.
type MockAPIClientMockRecorder ¶
type MockAPIClientMockRecorder struct {
// contains filtered or unexported fields
}
MockAPIClientMockRecorder is the mock recorder for MockAPIClient.
func (*MockAPIClientMockRecorder) Get ¶
func (mr *MockAPIClientMockRecorder) Get(path, query interface{}) *gomock.Call
Get indicates an expected call of Get.
func (*MockAPIClientMockRecorder) GetWithContext ¶
func (mr *MockAPIClientMockRecorder) GetWithContext(ctx, path, query interface{}) *gomock.Call
GetWithContext indicates an expected call of GetWithContext.
func (*MockAPIClientMockRecorder) Post ¶
func (mr *MockAPIClientMockRecorder) Post(path, query, body interface{}) *gomock.Call
Post indicates an expected call of Post.
func (*MockAPIClientMockRecorder) PostWithContext ¶
func (mr *MockAPIClientMockRecorder) PostWithContext(ctx, path, query, body interface{}) *gomock.Call
PostWithContext indicates an expected call of PostWithContext.
Click to show internal directories.
Click to hide internal directories.