MCPcopy Create free account
hub / github.com/OctopusDeploy/cli / getTaskQueueStatusColored

Function getTaskQueueStatusColored

pkg/cmd/space/view/view.go:106–111  ·  view source on GitHub ↗
(space *spaces.Space)

Source from the content-addressed store, hash-verified

104}
105
106func getTaskQueueStatusColored(space *spaces.Space) string {
107 if space.TaskQueueStopped {
108 return output.Yellow("Stopped")
109 }
110 return output.Green("Running")
111}
112
113func generateWebUrl(host string, space *spaces.Space) string {
114 link := strings.Split(space.Links["Web"], "/app#/")

Callers 2

viewRunFunction · 0.85
formatSpaceForBasicFunction · 0.85

Calls 2

YellowFunction · 0.92
GreenFunction · 0.92

Tested by

no test coverage detected