mocks

package
v1.1.4 Latest Latest
Warning

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

Go to latest
Published: Mar 15, 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 MockClient

type MockClient struct {
	// contains filtered or unexported fields
}

MockClient is a mock of Client interface

func NewMockClient

func NewMockClient(ctrl *gomock.Controller) *MockClient

NewMockClient creates a new mock instance

func (*MockClient) Connect

func (m *MockClient) Connect(arg0 context.Context, arg1 string, arg2 ...httpclient.RequestOption) (int, error)

Connect mocks base method

func (*MockClient) Delete

func (m *MockClient) Delete(arg0 context.Context, arg1 string, arg2 ...httpclient.RequestOption) (int, error)

Delete mocks base method

func (*MockClient) EXPECT

func (m *MockClient) EXPECT() *MockClientMockRecorder

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

func (*MockClient) Get

func (m *MockClient) Get(arg0 context.Context, arg1 string, arg2 ...httpclient.RequestOption) (int, error)

Get mocks base method

func (*MockClient) Head

func (m *MockClient) Head(arg0 context.Context, arg1 string, arg2 ...httpclient.RequestOption) (int, error)

Head mocks base method

func (*MockClient) Options

func (m *MockClient) Options(arg0 context.Context, arg1 string, arg2 ...httpclient.RequestOption) (int, error)

Options mocks base method

func (*MockClient) Patch

func (m *MockClient) Patch(arg0 context.Context, arg1 string, arg2 ...httpclient.RequestOption) (int, error)

Patch mocks base method

func (*MockClient) Post

func (m *MockClient) Post(arg0 context.Context, arg1 string, arg2 ...httpclient.RequestOption) (int, error)

Post mocks base method

func (*MockClient) Put

func (m *MockClient) Put(arg0 context.Context, arg1 string, arg2 ...httpclient.RequestOption) (int, error)

Put mocks base method

func (*MockClient) Trace

func (m *MockClient) Trace(arg0 context.Context, arg1 string, arg2 ...httpclient.RequestOption) (int, error)

Trace mocks base method

type MockClientMockRecorder

type MockClientMockRecorder struct {
	// contains filtered or unexported fields
}

MockClientMockRecorder is the mock recorder for MockClient

func (*MockClientMockRecorder) Connect

func (mr *MockClientMockRecorder) Connect(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call

Connect indicates an expected call of Connect

func (*MockClientMockRecorder) Delete

func (mr *MockClientMockRecorder) Delete(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call

Delete indicates an expected call of Delete

func (*MockClientMockRecorder) Get

func (mr *MockClientMockRecorder) Get(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call

Get indicates an expected call of Get

func (*MockClientMockRecorder) Head

func (mr *MockClientMockRecorder) Head(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call

Head indicates an expected call of Head

func (*MockClientMockRecorder) Options

func (mr *MockClientMockRecorder) Options(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call

Options indicates an expected call of Options

func (*MockClientMockRecorder) Patch

func (mr *MockClientMockRecorder) Patch(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call

Patch indicates an expected call of Patch

func (*MockClientMockRecorder) Post

func (mr *MockClientMockRecorder) Post(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call

Post indicates an expected call of Post

func (*MockClientMockRecorder) Put

func (mr *MockClientMockRecorder) Put(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call

Put indicates an expected call of Put

func (*MockClientMockRecorder) Trace

func (mr *MockClientMockRecorder) Trace(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call

Trace indicates an expected call of Trace

Jump to

Keyboard shortcuts

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