Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetStatusColorCode ¶
func GetStatusColorCode(status PipelineStatus) color.Color
GetStatusColorCode returns gokit/color.Color based on status input parameter
Types ¶
type PipelineStatus ¶
type PipelineStatus string
const ( QUEUED PipelineStatus = "queued" PROCESSING PipelineStatus = "processing" SUCCESS PipelineStatus = "success" FAILURE PipelineStatus = "failure" ERROR PipelineStatus = "error" CANCELLED PipelineStatus = "cancelled" TIMEOUT PipelineStatus = "timeout" WAITING PipelineStatus = "waiting" SKIPPED PipelineStatus = "skipped" UNSTABLE PipelineStatus = "unstable" STOPPED PipelineStatus = "stopped" DELETED PipelineStatus = "deleted" CACHED PipelineStatus = "cached" CANCELLING PipelineStatus = "cancelling" TIMINGOUT PipelineStatus = "timingOut" CREATING PipelineStatus = "creating" READY PipelineStatus = "ready" ONLINE PipelineStatus = "online" OFFLINE PipelineStatus = "offline" UNHEALTHY PipelineStatus = "unhealthy" ONLINEREQUESTED PipelineStatus = "onlineRequested" OFFLINEREQUESTED PipelineStatus = "offlineRequested" PENDINGAPPROVAL PipelineStatus = "pendingApproval" NOTDEFINED PipelineStatus = "notDefined" )
func GetPipelineStatus ¶
func GetPipelineStatus(statusCode int) PipelineStatus
GetPipelineStatus based on pipelines reStatus code returns respective reStatus in string format for eq:- 4002 return success
Click to show internal directories.
Click to hide internal directories.