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

Function getWorkerTypeDisplayName

pkg/cmd/worker/view/view.go:158–169  ·  view source on GitHub ↗
(communicationStyle string)

Source from the content-addressed store, hash-verified

156}
157
158func getWorkerTypeDisplayName(communicationStyle string) string {
159 switch communicationStyle {
160 case "TentaclePassive":
161 return "Listening Tentacle"
162 case "TentacleActive":
163 return "Polling Tentacle"
164 case "Ssh":
165 return "SSH"
166 default:
167 return communicationStyle
168 }
169}
170
171func getEndpointDetails(worker *machines.Worker) map[string]string {
172 details := make(map[string]string)

Callers 3

ViewRunFunction · 0.85
getWorkerAsTableRowFunction · 0.85
getWorkerAsBasicFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected