mock

package
v0.0.21 Latest Latest
Warning

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

Go to latest
Published: May 20, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Package mock is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockTransport

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

MockTransport is a mock of Transport interface.

func NewMockTransport

func NewMockTransport(ctrl *gomock.Controller) *MockTransport

NewMockTransport creates a new mock instance.

func (*MockTransport) EXPECT

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

func (*MockTransport) ForceClose

func (m *MockTransport) ForceClose() error

ForceClose mocks base method.

func (*MockTransport) RoundTrip

func (m *MockTransport) RoundTrip(arg0 *http.Request) (*http.Response, error)

RoundTrip mocks base method.

type MockTransportMockRecorder

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

MockTransportMockRecorder is the mock recorder for MockTransport.

func (*MockTransportMockRecorder) ForceClose

func (mr *MockTransportMockRecorder) ForceClose() *gomock.Call

ForceClose indicates an expected call of ForceClose.

func (*MockTransportMockRecorder) RoundTrip

func (mr *MockTransportMockRecorder) RoundTrip(arg0 interface{}) *gomock.Call

RoundTrip indicates an expected call of RoundTrip.

Jump to

Keyboard shortcuts

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