mocks

package
v0.0.0-...-4aff305 Latest Latest
Warning

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

Go to latest
Published: Feb 2, 2018 License: GPL-3.0 Imports: 3 Imported by: 0

Documentation

Overview

Package mocks is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockMember

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

MockMember is a mock of Member interface

func NewMockMember

func NewMockMember(ctrl *gomock.Controller) *MockMember

NewMockMember creates a new mock instance

func (*MockMember) Address

func (m *MockMember) Address() string

Address mocks base method

func (*MockMember) EXPECT

func (m *MockMember) EXPECT() *MockMemberMockRecorder

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

func (*MockMember) Name

func (m *MockMember) Name() string

Name mocks base method

type MockMemberList

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

MockMemberList is a mock of MemberList interface

func NewMockMemberList

func NewMockMemberList(ctrl *gomock.Controller) *MockMemberList

NewMockMemberList creates a new mock instance

func (*MockMemberList) EXPECT

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

func (*MockMemberList) LocalNode

func (m *MockMemberList) LocalNode() members.Member

LocalNode mocks base method

func (*MockMemberList) Members

func (m *MockMemberList) Members() []members.Member

Members mocks base method

func (*MockMemberList) NumMembers

func (m *MockMemberList) NumMembers() int

NumMembers mocks base method

type MockMemberListMockRecorder

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

MockMemberListMockRecorder is the mock recorder for MockMemberList

func (*MockMemberListMockRecorder) LocalNode

func (mr *MockMemberListMockRecorder) LocalNode() *gomock.Call

LocalNode indicates an expected call of LocalNode

func (*MockMemberListMockRecorder) Members

func (mr *MockMemberListMockRecorder) Members() *gomock.Call

Members indicates an expected call of Members

func (*MockMemberListMockRecorder) NumMembers

func (mr *MockMemberListMockRecorder) NumMembers() *gomock.Call

NumMembers indicates an expected call of NumMembers

type MockMemberMockRecorder

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

MockMemberMockRecorder is the mock recorder for MockMember

func (*MockMemberMockRecorder) Address

func (mr *MockMemberMockRecorder) Address() *gomock.Call

Address indicates an expected call of Address

func (*MockMemberMockRecorder) Name

func (mr *MockMemberMockRecorder) Name() *gomock.Call

Name indicates an expected call of Name

type MockMembers

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

MockMembers is a mock of Members interface

func NewMockMembers

func NewMockMembers(ctrl *gomock.Controller) *MockMembers

NewMockMembers creates a new mock instance

func (*MockMembers) Close

func (m *MockMembers) Close() error

Close mocks base method

func (*MockMembers) DeregisterEventHandler

func (m *MockMembers) DeregisterEventHandler(arg0 members.EventHandler) error

DeregisterEventHandler mocks base method

func (*MockMembers) DispatchEvent

func (m *MockMembers) DispatchEvent(arg0 members.Event) error

DispatchEvent mocks base method

func (*MockMembers) EXPECT

func (m *MockMembers) EXPECT() *MockMembersMockRecorder

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

func (*MockMembers) Join

func (m *MockMembers) Join() (int, error)

Join mocks base method

func (*MockMembers) Leave

func (m *MockMembers) Leave() error

Leave mocks base method

func (*MockMembers) MemberList

func (m *MockMembers) MemberList() members.MemberList

MemberList mocks base method

func (*MockMembers) RegisterEventHandler

func (m *MockMembers) RegisterEventHandler(arg0 members.EventHandler) error

RegisterEventHandler mocks base method

func (*MockMembers) Walk

func (m *MockMembers) Walk(arg0 func(members.PeerInfo) error) error

Walk mocks base method

type MockMembersMockRecorder

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

MockMembersMockRecorder is the mock recorder for MockMembers

func (*MockMembersMockRecorder) Close

func (mr *MockMembersMockRecorder) Close() *gomock.Call

Close indicates an expected call of Close

func (*MockMembersMockRecorder) DeregisterEventHandler

func (mr *MockMembersMockRecorder) DeregisterEventHandler(arg0 interface{}) *gomock.Call

DeregisterEventHandler indicates an expected call of DeregisterEventHandler

func (*MockMembersMockRecorder) DispatchEvent

func (mr *MockMembersMockRecorder) DispatchEvent(arg0 interface{}) *gomock.Call

DispatchEvent indicates an expected call of DispatchEvent

func (*MockMembersMockRecorder) Join

func (mr *MockMembersMockRecorder) Join() *gomock.Call

Join indicates an expected call of Join

func (*MockMembersMockRecorder) Leave

func (mr *MockMembersMockRecorder) Leave() *gomock.Call

Leave indicates an expected call of Leave

func (*MockMembersMockRecorder) MemberList

func (mr *MockMembersMockRecorder) MemberList() *gomock.Call

MemberList indicates an expected call of MemberList

func (*MockMembersMockRecorder) RegisterEventHandler

func (mr *MockMembersMockRecorder) RegisterEventHandler(arg0 interface{}) *gomock.Call

RegisterEventHandler indicates an expected call of RegisterEventHandler

func (*MockMembersMockRecorder) Walk

func (mr *MockMembersMockRecorder) Walk(arg0 interface{}) *gomock.Call

Walk indicates an expected call of Walk

Jump to

Keyboard shortcuts

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