mock

package
v1.5.5-rc1 Latest Latest
Warning

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

Go to latest
Published: Dec 15, 2020 License: Apache-2.0 Imports: 5 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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