mock_iface

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Nov 14, 2019 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Overview

Package mock_iface is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockSession

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

MockSession is a mock of Session interface

func NewMockSession

func NewMockSession(ctrl *gomock.Controller) *MockSession

NewMockSession creates a new mock instance

func (*MockSession) AnnounceWorkerStopped

func (m *MockSession) AnnounceWorkerStopped()

AnnounceWorkerStopped mocks base method

func (*MockSession) Cleanup

func (m *MockSession) Cleanup() error

Cleanup mocks base method

func (*MockSession) Conn

func (m *MockSession) Conn() snet.Conn

Conn mocks base method

func (*MockSession) Crit

func (m *MockSession) Crit(arg0 string, arg1 ...interface{})

Crit mocks base method

func (*MockSession) Debug

func (m *MockSession) Debug(arg0 string, arg1 ...interface{})

Debug mocks base method

func (*MockSession) EXPECT

func (m *MockSession) EXPECT() *MockSessionMockRecorder

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

func (*MockSession) Error

func (m *MockSession) Error(arg0 string, arg1 ...interface{})

Error mocks base method

func (*MockSession) GetHandler

func (m *MockSession) GetHandler() log.Handler

GetHandler mocks base method

func (*MockSession) Healthy

func (m *MockSession) Healthy() bool

Healthy mocks base method

func (*MockSession) IA

func (m *MockSession) IA() addr.IA

IA mocks base method

func (*MockSession) ID

func (m *MockSession) ID() mgmt.SessionType

ID mocks base method

func (*MockSession) Info

func (m *MockSession) Info(arg0 string, arg1 ...interface{})

Info mocks base method

func (*MockSession) New

func (m *MockSession) New(arg0 ...interface{}) log.Logger

New mocks base method

func (*MockSession) PathPool

func (m *MockSession) PathPool() iface.PathPool

PathPool mocks base method

func (*MockSession) Remote

func (m *MockSession) Remote() *iface.RemoteInfo

Remote mocks base method

func (*MockSession) Ring

func (m *MockSession) Ring() *ringbuf.Ring

Ring mocks base method

func (*MockSession) SetHandler

func (m *MockSession) SetHandler(arg0 log.Handler)

SetHandler mocks base method

func (*MockSession) Trace

func (m *MockSession) Trace(arg0 string, arg1 ...interface{})

Trace mocks base method

func (*MockSession) Warn

func (m *MockSession) Warn(arg0 string, arg1 ...interface{})

Warn mocks base method

type MockSessionMockRecorder

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

MockSessionMockRecorder is the mock recorder for MockSession

func (*MockSessionMockRecorder) AnnounceWorkerStopped

func (mr *MockSessionMockRecorder) AnnounceWorkerStopped() *gomock.Call

AnnounceWorkerStopped indicates an expected call of AnnounceWorkerStopped

func (*MockSessionMockRecorder) Cleanup

func (mr *MockSessionMockRecorder) Cleanup() *gomock.Call

Cleanup indicates an expected call of Cleanup

func (*MockSessionMockRecorder) Conn

func (mr *MockSessionMockRecorder) Conn() *gomock.Call

Conn indicates an expected call of Conn

func (*MockSessionMockRecorder) Crit

func (mr *MockSessionMockRecorder) Crit(arg0 interface{}, arg1 ...interface{}) *gomock.Call

Crit indicates an expected call of Crit

func (*MockSessionMockRecorder) Debug

func (mr *MockSessionMockRecorder) Debug(arg0 interface{}, arg1 ...interface{}) *gomock.Call

Debug indicates an expected call of Debug

func (*MockSessionMockRecorder) Error

func (mr *MockSessionMockRecorder) Error(arg0 interface{}, arg1 ...interface{}) *gomock.Call

Error indicates an expected call of Error

func (*MockSessionMockRecorder) GetHandler

func (mr *MockSessionMockRecorder) GetHandler() *gomock.Call

GetHandler indicates an expected call of GetHandler

func (*MockSessionMockRecorder) Healthy

func (mr *MockSessionMockRecorder) Healthy() *gomock.Call

Healthy indicates an expected call of Healthy

func (*MockSessionMockRecorder) IA

IA indicates an expected call of IA

func (*MockSessionMockRecorder) ID

ID indicates an expected call of ID

func (*MockSessionMockRecorder) Info

func (mr *MockSessionMockRecorder) Info(arg0 interface{}, arg1 ...interface{}) *gomock.Call

Info indicates an expected call of Info

func (*MockSessionMockRecorder) New

func (mr *MockSessionMockRecorder) New(arg0 ...interface{}) *gomock.Call

New indicates an expected call of New

func (*MockSessionMockRecorder) PathPool

func (mr *MockSessionMockRecorder) PathPool() *gomock.Call

PathPool indicates an expected call of PathPool

func (*MockSessionMockRecorder) Remote

func (mr *MockSessionMockRecorder) Remote() *gomock.Call

Remote indicates an expected call of Remote

func (*MockSessionMockRecorder) Ring

func (mr *MockSessionMockRecorder) Ring() *gomock.Call

Ring indicates an expected call of Ring

func (*MockSessionMockRecorder) SetHandler

func (mr *MockSessionMockRecorder) SetHandler(arg0 interface{}) *gomock.Call

SetHandler indicates an expected call of SetHandler

func (*MockSessionMockRecorder) Trace

func (mr *MockSessionMockRecorder) Trace(arg0 interface{}, arg1 ...interface{}) *gomock.Call

Trace indicates an expected call of Trace

func (*MockSessionMockRecorder) Warn

func (mr *MockSessionMockRecorder) Warn(arg0 interface{}, arg1 ...interface{}) *gomock.Call

Warn indicates an expected call of Warn

Jump to

Keyboard shortcuts

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