Documentation ¶
Overview ¶
Package testing is a generated GoMock package.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
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) Join ¶
func (m *MockMemberlist) Join(arg0 []string) (int, error)
Join mocks base method
func (*MockMemberlist) Leave ¶
func (m *MockMemberlist) Leave(arg0 time.Duration) error
Leave mocks base method
func (*MockMemberlist) Members ¶
func (m *MockMemberlist) Members() []*memberlist.Node
Members mocks base method
func (*MockMemberlist) Shutdown ¶
func (m *MockMemberlist) Shutdown() error
Shutdown mocks base method
type MockMemberlistMockRecorder ¶
type MockMemberlistMockRecorder struct {
// contains filtered or unexported fields
}
MockMemberlistMockRecorder is the mock recorder for MockMemberlist
func (*MockMemberlistMockRecorder) Join ¶
func (mr *MockMemberlistMockRecorder) Join(arg0 interface{}) *gomock.Call
Join indicates an expected call of Join
func (*MockMemberlistMockRecorder) Leave ¶
func (mr *MockMemberlistMockRecorder) Leave(arg0 interface{}) *gomock.Call
Leave indicates an expected call of Leave
func (*MockMemberlistMockRecorder) Members ¶
func (mr *MockMemberlistMockRecorder) Members() *gomock.Call
Members indicates an expected call of Members
func (*MockMemberlistMockRecorder) Shutdown ¶
func (mr *MockMemberlistMockRecorder) Shutdown() *gomock.Call
Shutdown indicates an expected call of Shutdown
Click to show internal directories.
Click to hide internal directories.