Documentation ¶
Overview ¶
Package mocks is a generated GoMock package.
Index ¶
- type MockMember
- type MockMemberList
- type MockMemberListMockRecorder
- type MockMemberMockRecorder
- type MockMembers
- func (m *MockMembers) Close() error
- func (m *MockMembers) DeregisterEventHandler(arg0 members.EventHandler) error
- func (m *MockMembers) DispatchEvent(arg0 members.Event) error
- func (m *MockMembers) EXPECT() *MockMembersMockRecorder
- func (m *MockMembers) Join() (int, error)
- func (m *MockMembers) Leave() error
- func (m *MockMembers) MemberList() members.MemberList
- func (m *MockMembers) RegisterEventHandler(arg0 members.EventHandler) error
- func (m *MockMembers) Walk(arg0 func(members.PeerInfo) error) error
- type MockMembersMockRecorder
- func (mr *MockMembersMockRecorder) Close() *gomock.Call
- func (mr *MockMembersMockRecorder) DeregisterEventHandler(arg0 interface{}) *gomock.Call
- func (mr *MockMembersMockRecorder) DispatchEvent(arg0 interface{}) *gomock.Call
- func (mr *MockMembersMockRecorder) Join() *gomock.Call
- func (mr *MockMembersMockRecorder) Leave() *gomock.Call
- func (mr *MockMembersMockRecorder) MemberList() *gomock.Call
- func (mr *MockMembersMockRecorder) RegisterEventHandler(arg0 interface{}) *gomock.Call
- func (mr *MockMembersMockRecorder) Walk(arg0 interface{}) *gomock.Call
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) EXPECT ¶
func (m *MockMember) EXPECT() *MockMemberMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
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 ¶
func (m *MockMemberList) EXPECT() *MockMemberListMockRecorder
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) 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) 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
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