Help us shape the future of Go! Take the 2026 Go Developer Survey

mock

package
v1.6.0 Latest Latest
Warning

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

Go to latest
Published: Jul 1, 2025 License: Apache-2.0 Imports: 5 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 MockInvoker

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

MockInvoker is a mock of Invoker interface

func NewMockInvoker

func NewMockInvoker(ctrl *gomock.Controller) *MockInvoker

NewMockInvoker creates a new mock instance

func (*MockInvoker) Destroy

func (m *MockInvoker) Destroy()

Destroy mocks base method

func (*MockInvoker) EXPECT

func (m *MockInvoker) EXPECT() *MockInvokerMockRecorder

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

func (*MockInvoker) GetURL

func (m *MockInvoker) GetURL() *common.URL

GetURL mocks base method

func (*MockInvoker) Invoke

Invoke mocks base method

func (*MockInvoker) IsAvailable

func (m *MockInvoker) IsAvailable() bool

IsAvailable mocks base method

type MockInvokerMockRecorder

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

MockInvokerMockRecorder is the mock recorder for MockInvoker

func (*MockInvokerMockRecorder) Destroy

func (mr *MockInvokerMockRecorder) Destroy() *gomock.Call

Destroy indicates an expected call of Destroy

func (*MockInvokerMockRecorder) GetURL

func (mr *MockInvokerMockRecorder) GetURL() *gomock.Call

GetURL indicates an expected call of GetURL

func (*MockInvokerMockRecorder) Invoke

func (mr *MockInvokerMockRecorder) Invoke(arg0 interface{}) *gomock.Call

Invoke indicates an expected call of Invoke

func (*MockInvokerMockRecorder) IsAvailable

func (mr *MockInvokerMockRecorder) IsAvailable() *gomock.Call

IsAvailable indicates an expected call of IsAvailable

Jump to

Keyboard shortcuts

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