Documentation ¶
Overview ¶
Package mocks is a generated GoMock package.
Index ¶
- type MockEventBus
- type MockEventBusMockRecorder
- type MockMember
- type MockMemberList
- type MockMemberListMockRecorder
- type MockMemberMockRecorder
- type MockMembers
- func (m *MockMembers) AddHandler(arg0 members.Handler)
- 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() discovery.MemberList
- func (m *MockMembers) RemoveHandler(arg0 members.Handler)
- func (m *MockMembers) Shutdown() error
- func (m *MockMembers) Walk(arg0 func(members.PeerInfo) error) error
- type MockMembersMockRecorder
- func (mr *MockMembersMockRecorder) AddHandler(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) RemoveHandler(arg0 interface{}) *gomock.Call
- func (mr *MockMembersMockRecorder) Shutdown() *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 MockEventBus ¶
type MockEventBus struct {
// contains filtered or unexported fields
}
MockEventBus is a mock of EventBus interface
func NewMockEventBus ¶
func NewMockEventBus(ctrl *gomock.Controller) *MockEventBus
NewMockEventBus creates a new mock instance
func (*MockEventBus) AddHandler ¶
func (m *MockEventBus) AddHandler(arg0 members.Handler)
AddHandler mocks base method
func (*MockEventBus) DispatchEvent ¶
func (m *MockEventBus) DispatchEvent(arg0 members.Event) error
DispatchEvent mocks base method
func (*MockEventBus) EXPECT ¶
func (m *MockEventBus) EXPECT() *MockEventBusMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockEventBus) RemoveHandler ¶
func (m *MockEventBus) RemoveHandler(arg0 members.Handler)
RemoveHandler mocks base method
type MockEventBusMockRecorder ¶
type MockEventBusMockRecorder struct {
// contains filtered or unexported fields
}
MockEventBusMockRecorder is the mock recorder for MockEventBus
func (*MockEventBusMockRecorder) AddHandler ¶
func (mr *MockEventBusMockRecorder) AddHandler(arg0 interface{}) *gomock.Call
AddHandler indicates an expected call of AddHandler
func (*MockEventBusMockRecorder) DispatchEvent ¶
func (mr *MockEventBusMockRecorder) DispatchEvent(arg0 interface{}) *gomock.Call
DispatchEvent indicates an expected call of DispatchEvent
func (*MockEventBusMockRecorder) RemoveHandler ¶
func (mr *MockEventBusMockRecorder) RemoveHandler(arg0 interface{}) *gomock.Call
RemoveHandler indicates an expected call of RemoveHandler
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() discovery.Member
LocalNode mocks base method
func (*MockMemberList) Members ¶
func (m *MockMemberList) Members() []discovery.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) AddHandler ¶
func (m *MockMembers) AddHandler(arg0 members.Handler)
AddHandler 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() discovery.MemberList
MemberList mocks base method
func (*MockMembers) RemoveHandler ¶
func (m *MockMembers) RemoveHandler(arg0 members.Handler)
RemoveHandler mocks base method
type MockMembersMockRecorder ¶
type MockMembersMockRecorder struct {
// contains filtered or unexported fields
}
MockMembersMockRecorder is the mock recorder for MockMembers
func (*MockMembersMockRecorder) AddHandler ¶
func (mr *MockMembersMockRecorder) AddHandler(arg0 interface{}) *gomock.Call
AddHandler indicates an expected call of AddHandler
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) RemoveHandler ¶
func (mr *MockMembersMockRecorder) RemoveHandler(arg0 interface{}) *gomock.Call
RemoveHandler indicates an expected call of RemoveHandler
func (*MockMembersMockRecorder) Shutdown ¶
func (mr *MockMembersMockRecorder) Shutdown() *gomock.Call
Shutdown indicates an expected call of Shutdown
func (*MockMembersMockRecorder) Walk ¶
func (mr *MockMembersMockRecorder) Walk(arg0 interface{}) *gomock.Call
Walk indicates an expected call of Walk