mock_pkg

package
v1.0.0-alpha.18 Latest Latest
Warning

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

Go to latest
Published: Sep 16, 2021 License: Apache-2.0, MIT Imports: 6 Imported by: 0

Documentation

Overview

Package mock_pkg is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockClockController

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

MockClockController is a mock of ClockController interface.

func NewMockClockController

func NewMockClockController(ctrl *gomock.Controller) *MockClockController

NewMockClockController creates a new mock instance.

func (*MockClockController) Advance

func (m *MockClockController) Advance(arg0 time.Time)

Advance mocks base method.

func (*MockClockController) After

func (m *MockClockController) After(arg0 time.Duration, arg1 func()) func()

After mocks base method.

func (*MockClockController) EXPECT

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

func (*MockClockController) Ticker

func (m *MockClockController) Ticker(arg0 time.Duration, arg1 func()) func()

Ticker mocks base method.

func (*MockClockController) Timestep

func (m *MockClockController) Timestep() time.Duration

Timestep mocks base method.

type MockClockControllerMockRecorder

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

MockClockControllerMockRecorder is the mock recorder for MockClockController.

func (*MockClockControllerMockRecorder) Advance

func (mr *MockClockControllerMockRecorder) Advance(arg0 interface{}) *gomock.Call

Advance indicates an expected call of Advance.

func (*MockClockControllerMockRecorder) After

func (mr *MockClockControllerMockRecorder) After(arg0, arg1 interface{}) *gomock.Call

After indicates an expected call of After.

func (*MockClockControllerMockRecorder) Ticker

func (mr *MockClockControllerMockRecorder) Ticker(arg0, arg1 interface{}) *gomock.Call

Ticker indicates an expected call of Ticker.

func (*MockClockControllerMockRecorder) Timestep

Timestep indicates an expected call of Timestep.

type MockHostFactory

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

MockHostFactory is a mock of HostFactory interface.

func NewMockHostFactory

func NewMockHostFactory(ctrl *gomock.Controller) *MockHostFactory

NewMockHostFactory creates a new mock instance.

func (*MockHostFactory) EXPECT

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

func (*MockHostFactory) NewHost

func (m *MockHostFactory) NewHost(arg0 context.Context, arg1 []config.Option) (host.Host, error)

NewHost mocks base method.

type MockHostFactoryMockRecorder

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

MockHostFactoryMockRecorder is the mock recorder for MockHostFactory.

func (*MockHostFactoryMockRecorder) NewHost

func (mr *MockHostFactoryMockRecorder) NewHost(arg0, arg1 interface{}) *gomock.Call

NewHost indicates an expected call of NewHost.

Directories

Path Synopsis
Package mock_netsim is a generated GoMock package.
Package mock_netsim is a generated GoMock package.

Jump to

Keyboard shortcuts

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