mocks

package
v0.1.38 Latest Latest
Warning

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

Go to latest
Published: Dec 16, 2024 License: Apache-2.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) EXPECT

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

func (*MockHTTPClient) Get

func (m *MockHTTPClient) Get(arg0 string) (*http.Response, error)

Get mocks base method.

type MockHTTPClientMockRecorder

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

MockHTTPClientMockRecorder is the mock recorder for MockHTTPClient.

func (*MockHTTPClientMockRecorder) Get

func (mr *MockHTTPClientMockRecorder) Get(arg0 interface{}) *gomock.Call

Get indicates an expected call of Get.

type MockNetworkInterface

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

MockNetworkInterface is a mock of NetworkInterface interface.

func NewMockNetworkInterface

func NewMockNetworkInterface(ctrl *gomock.Controller) *MockNetworkInterface

NewMockNetworkInterface creates a new mock instance.

func (*MockNetworkInterface) EXPECT

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

func (*MockNetworkInterface) Interfaces

func (m *MockNetworkInterface) Interfaces() ([]net.Interface, error)

Interfaces mocks base method.

type MockNetworkInterfaceMockRecorder

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

MockNetworkInterfaceMockRecorder is the mock recorder for MockNetworkInterface.

func (*MockNetworkInterfaceMockRecorder) Interfaces

func (mr *MockNetworkInterfaceMockRecorder) Interfaces() *gomock.Call

Interfaces indicates an expected call of Interfaces.

Jump to

Keyboard shortcuts

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