Example #1
0
func intiliseTopology(flipper types.FlipperClient, sentinelManager *sentinel.SentinelManager) {

	topology := sentinelManager.GetCurrentTopology()
	flipper.InitialiseRunningState(&topology)
}
Example #2
0
func loopSentinelEvents(flipper types.FlipperClient, masterEvents chan types.MasterSwitchedEvent) {

	for event := range masterEvents {
		flipper.Orchestrate(event)
	}
}