Documentation
¶
Index ¶
Constants ¶
View Source
const ( ACTIVATED = "ACTIVATED" STANDBY = "STANDBY" FAILING = "FAILING" )
View Source
const ( FaultEvent = "fault" ElectedEvent = "elected" DemotedEvent = "demoted" HealthCheckFailEvent = "health_check_fail" HealthCheckSuccessEvent = "health_check_success" )
Variables ¶
This section is empty.
Functions ¶
func NewManager ¶
func NewStateMachine ¶
func NewStateMachine(ctx context.Context, opts NewStateMachineOpts) *fsm.FSM
Types ¶
Click to show internal directories.
Click to hide internal directories.