Documentation
¶
Overview ¶
Package handlers for monitoring api call.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GenerateJsonFromMap ¶ added in v0.5.0
Generate godoc
@Tags Map @Summary Generate json file from map file. @Description Generate json file from map file. @Accept json @Produce json @Param map_name path string true "Map name"//
@Success 200 @Failure 500 "Internal Server Error" @Router /v1/map/{map_name}/generate [get]
func Health ¶
Health godoc
@Tags Monitoring @Summary Health. @Description Health. @Accept */* @Produce json @Success 200 @Router /healthz [get]
func Ready ¶
Ready godoc
@Tags Monitoring @Summary Ready. @Description Ready. @Accept */* @Produce json @Success 200 @Router /readyz [get]
func Synchronize ¶
Synchronize godoc
@Tags Map @Summary Synchronize GCS file to an HAProxy map file. @Description Synchronize GCS file to an HAProxy map file. @Accept json @Produce json @Param _ body SynchronizeRequestBody true "Data of the synchronisation endpoint" @Param map_name path string true "Map name"//
@Success 200 @Failure 500 "Internal Server Error" @Router /v1/map/{map_name}/synchronize [post]
Types ¶
type SynchronizeRequestBody ¶
Click to show internal directories.
Click to hide internal directories.