(communicationStyle string)
| 156 | } |
| 157 | |
| 158 | func 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 | |
| 171 | func getEndpointDetails(worker *machines.Worker) map[string]string { |
| 172 | details := make(map[string]string) |
no outgoing calls
no test coverage detected