Documentation ¶
Index ¶
Constants ¶
View Source
const ( Healthy = "HEALTHY" Unhealthy = "UNHEALTHY" UPDATE_SUCCESSFUL = "UPDATE_SUCCESSFUL" UPDATE_FAILED = "UPDATE_FAILED" NOT_INITIALIZED = "NOT_INITIALIZED" INITIALIZED = "INITIALIZED" LIVE = "LIVE" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EnvoyEndpointHttpData ¶
type EnvoyEndpointHttpData struct {
// contains filtered or unexported fields
}
type HealthStatus ¶
type HealthStatus struct { HealthStatus string `json:"healthStatus"` AgentUptime string `json:"agentUptime"` EnvoyPid string `json:"envoyPid"` EnvoyState string `json:"envoyState"` EnvoyRestartCount string `json:"envoyRestartCount"` ManagementServerConnectionStatus string `json:"managementServerConnectionStatus,omitempty"` ManagementServerDisconnectedTimestamp *time.Time `json:"managementServerDisconnectedTimestamp,omitempty"` EnvoyReadinessState string `json:"envoyReadinessState"` InitialConfigUpdateStatus string `json:"initialConfigUpdateStatus,omitempty"` }
func (*HealthStatus) StartHealthCheck ¶
func (healthStatus *HealthStatus) StartHealthCheck( agentStartTime time.Time, agentConfig config.AgentConfig, messageSources *messagesources.MessageSources)
type HealthStatusHandler ¶
type HealthStatusHandler struct { HealthStatus *HealthStatus Limiter *rate.Limiter }
func (*HealthStatusHandler) EnvoyStatus ¶
func (healthStatusHandler *HealthStatusHandler) EnvoyStatus(response http.ResponseWriter, request *http.Request)
Click to show internal directories.
Click to hide internal directories.