Documentation ¶
Index ¶
- func ConvertESToHPAResp(jobID string, logs []models.HPALog, statusCode int32, reason string) models.HPALogResponse
- func ConvertESToNewResp(uuid string, statusCode int32, status, reason string) models.ApplicationHealthAnalyzeResponseNew
- func ConvertESToResp(input models.DocumentResponse, logs []models.HPALog) models.ApplicationHealthAnalyzeResponse
- func ConvertStatusToExternal(status string) string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ConvertESToHPAResp ¶
func ConvertESToHPAResp(jobID string, logs []models.HPALog, statusCode int32, reason string) models.HPALogResponse
ConvertESToHPAResp .... convert elasticsearch to new HPA logs response
func ConvertESToNewResp ¶
func ConvertESToNewResp(uuid string, statusCode int32, status, reason string) models.ApplicationHealthAnalyzeResponseNew
ConvertESToNewResp .... convert elasticsearch to new response
func ConvertESToResp ¶
func ConvertESToResp(input models.DocumentResponse, logs []models.HPALog) models.ApplicationHealthAnalyzeResponse
ConvertESToResp .... convert elasticsearch to response
func ConvertStatusToExternal ¶
ConvertStatusToExternal .... convert internal status to k8s controller
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.