Ejemplo n.º 1
0
func intiliseTopology(flipper types.FlipperClient, sentinelManager *sentinel.SentinelManager) {

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

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