Documentation
¶
Index ¶
- Variables
- func Run()
- func Test_checkForDeadMachines(t *testing.T)
- func Test_checkForDeadMachines_withUnits(t *testing.T)
- func Test_foundNewMachine(t *testing.T)
- func Test_isSupervisorAlive(t *testing.T)
- func Test_voteForSupervisor_AfterVoteDelete(t *testing.T)
- func Test_voteForSupervisor_FirstVote(t *testing.T)
- func Test_voteForSupervisor_SecondVote(t *testing.T)
- func Test_watchToBecomeSupervisorAndWin(t *testing.T)
- func Test_winningVote(t *testing.T)
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // Config is a pointer need to be set to the main configuration Config *config.ConfigurationInfo // IsSupervisor indicates if this machine is the supervisor IsSupervisor = false )
Functions ¶
func Test_foundNewMachine ¶
func Test_isSupervisorAlive ¶
func Test_winningVote ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.