mocks

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Jan 27, 2023 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

Package mocks is a generated GoMock package.

Index

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(ctx context.Context, request http.HTTPRequest) (http.HTTPResult, error)

Delete mocks base method.

func (*MockHTTPClient) EXPECT

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

func (*MockHTTPClient) Get

Get mocks base method.

func (*MockHTTPClient) Patch

func (m *MockHTTPClient) Patch(ctx context.Context, request http.HTTPRequest) (http.HTTPResult, error)

Patch mocks base method.

func (*MockHTTPClient) Post

Post mocks base method.

func (*MockHTTPClient) PostForm

func (m *MockHTTPClient) PostForm(ctx context.Context, request http.HTTPRequest) (http.HTTPResult, error)

PostForm mocks base method.

func (*MockHTTPClient) Put

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(ctx, request interface{}) *gomock.Call

Delete indicates an expected call of Delete.

func (*MockHTTPClientMockRecorder) Get

func (mr *MockHTTPClientMockRecorder) Get(ctx, request interface{}) *gomock.Call

Get indicates an expected call of Get.

func (*MockHTTPClientMockRecorder) Patch

func (mr *MockHTTPClientMockRecorder) Patch(ctx, request interface{}) *gomock.Call

Patch indicates an expected call of Patch.

func (*MockHTTPClientMockRecorder) Post

func (mr *MockHTTPClientMockRecorder) Post(ctx, request interface{}) *gomock.Call

Post indicates an expected call of Post.

func (*MockHTTPClientMockRecorder) PostForm

func (mr *MockHTTPClientMockRecorder) PostForm(ctx, request interface{}) *gomock.Call

PostForm indicates an expected call of PostForm.

func (*MockHTTPClientMockRecorder) Put

func (mr *MockHTTPClientMockRecorder) Put(ctx, request interface{}) *gomock.Call

Put indicates an expected call of Put.

Jump to

Keyboard shortcuts

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