mocks

package
v0.0.0-...-efc9231 Latest Latest
Warning

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

Go to latest
Published: Feb 27, 2025 License: AGPL-3.0 Imports: 4 Imported by: 0

Documentation

Overview

Package mocks is a generated GoMock package.

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) Do

func (m *MockHTTPClient) Do(arg0 *http.Request) (*http.Response, error)

Do mocks base method.

func (*MockHTTPClient) EXPECT

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

type MockHTTPClientDoCall

type MockHTTPClientDoCall struct {
	*gomock.Call
}

MockHTTPClientDoCall wrap *gomock.Call

func (*MockHTTPClientDoCall) Do

Do rewrite *gomock.Call.Do

func (*MockHTTPClientDoCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockHTTPClientDoCall) Return

Return rewrite *gomock.Call.Return

type MockHTTPClientMockRecorder

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

MockHTTPClientMockRecorder is the mock recorder for MockHTTPClient.

func (*MockHTTPClientMockRecorder) Do

Do indicates an expected call of Do.

type MockHTTPDoer

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

MockHTTPDoer is a mock of HTTPDoer interface.

func NewMockHTTPDoer

func NewMockHTTPDoer(ctrl *gomock.Controller) *MockHTTPDoer

NewMockHTTPDoer creates a new mock instance.

func (*MockHTTPDoer) Do

func (m *MockHTTPDoer) Do(arg0 context.Context, arg1 *http.Request, arg2 any) error

Do mocks base method.

func (*MockHTTPDoer) EXPECT

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

type MockHTTPDoerDoCall

type MockHTTPDoerDoCall struct {
	*gomock.Call
}

MockHTTPDoerDoCall wrap *gomock.Call

func (*MockHTTPDoerDoCall) Do

Do rewrite *gomock.Call.Do

func (*MockHTTPDoerDoCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockHTTPDoerDoCall) Return

func (c *MockHTTPDoerDoCall) Return(arg0 error) *MockHTTPDoerDoCall

Return rewrite *gomock.Call.Return

type MockHTTPDoerMockRecorder

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

MockHTTPDoerMockRecorder is the mock recorder for MockHTTPDoer.

func (*MockHTTPDoerMockRecorder) Do

func (mr *MockHTTPDoerMockRecorder) Do(arg0, arg1, arg2 any) *MockHTTPDoerDoCall

Do indicates an expected call of Do.

Jump to

Keyboard shortcuts

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