Documentation
¶
Index ¶
Constants ¶
View Source
const ( ResultConsulNotHealthy = resultType("consul_not_healthy") ResultMasterLinkDown = resultType("master_link_down") ResultMasterSyncInProgress = resultType("master_sync_in_progress") ResultMissingState = resultType("missing_state") ResultNoMasterElected = resultType("no_master_elected") ResultRedisNotHealthy = resultType("redis_not_healthy") ResultRunAsMaster = resultType("run_as_master") ResultRunAsSlave = resultType("run_as_slave") ResultUnknown = resultType("unknown") ResultUpdateService = resultType("consul_update_service") ResultMultiMaster = resultType("consul_multi_master_detected") )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Reconciler ¶
reconciler will take a stream of changes happening to consul and redis and decide what actions that should be taken
func NewReconciler ¶
func NewReconciler(c *cli.Context) (*Reconciler, error)
setup returns the default configuration for the ReSeC
func (*Reconciler) MarshalJSON ¶
func (r *Reconciler) MarshalJSON() ([]byte, error)
Marshalling to JSON is used when sendnig debug signal to the process
Click to show internal directories.
Click to hide internal directories.