mock_gorqlite

package
v0.0.0-...-2e5113c Latest Latest
Warning

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

Go to latest
Published: Jan 3, 2022 License: MIT Imports: 5 Imported by: 0

Documentation

Overview

Package mock_gorqlite is a generated GoMock package.

Index

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

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockAPIClient) Get

func (m *MockAPIClient) Get(path string, query url.Values) (*http.Response, error)

Get mocks base method.

func (*MockAPIClient) GetWithContext

func (m *MockAPIClient) GetWithContext(ctx context.Context, path string, query url.Values) (*http.Response, error)

GetWithContext mocks base method.

func (*MockAPIClient) Post

func (m *MockAPIClient) Post(path string, query url.Values, body []byte) (*http.Response, error)

Post mocks base method.

func (*MockAPIClient) PostWithContext

func (m *MockAPIClient) PostWithContext(ctx context.Context, path string, query url.Values, body []byte) (*http.Response, error)

PostWithContext 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.

Jump to

Keyboard shortcuts

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