Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ElectionParticipant ¶
ElectionParticipant is an autogenerated mock type for the ElectionParticipant type
func NewElectionParticipant ¶ added in v1.59.0
func NewElectionParticipant(t interface {
mock.TestingT
Cleanup(func())
}) *ElectionParticipant
NewElectionParticipant creates a new instance of ElectionParticipant. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*ElectionParticipant) Close ¶
func (_m *ElectionParticipant) Close() error
Close provides a mock function with no fields
func (*ElectionParticipant) IsLeader ¶
func (_m *ElectionParticipant) IsLeader() bool
IsLeader provides a mock function with no fields
func (*ElectionParticipant) Start ¶
func (_m *ElectionParticipant) Start() error
Start provides a mock function with no fields
Click to show internal directories.
Click to hide internal directories.