Documentation ¶
Index ¶
Constants ¶
View Source
const ( GatewayPromotionSucceededEvent = "gateway_promotion_succeeded" GatewayPromotionFailedEvent = "gateway_promotion_failed" GatewayDemotionSucceededEvent = "gateway_demotion_succeeded" GatewayDemotionFailedEvent = "gateway_demotion_failed" )
Variables ¶
This section is empty.
Functions ¶
func LogGatewayHealthFailedEvent ¶
LogGatewayHealthFailedEvent logs a failed promotion/demotion event with its associated error.
func LogGatewayHealthSuccessEvent ¶
func LogGatewayHealthSuccessEvent(eventType string)
LogGatewayHealthSuccessEvent logs a successful promotion/demotion event.
Types ¶
type GatewayHealthFailed ¶
type GatewayHealthFailed struct {
FailureReason string `json:"failure_reason"`
}
GatewayHealthFailed event
Click to show internal directories.
Click to hide internal directories.