(exposedEndpoints map[string]v1alpha1.ExposedEndpointList)
| 230 | } |
| 231 | |
| 232 | func getMainUrl(exposedEndpoints map[string]v1alpha1.ExposedEndpointList) string { |
| 233 | for _, endpoints := range exposedEndpoints { |
| 234 | for _, endpoint := range endpoints { |
| 235 | if endpoint.Attributes.GetString(string(v1alpha1.TypeEndpointAttribute), nil) == string(v1alpha1.MainEndpointType) { |
| 236 | return endpoint.Url |
| 237 | } |
| 238 | } |
| 239 | } |
| 240 | return "" |
| 241 | } |
| 242 | |
| 243 | func getInfoMessage(workspace *common.DevWorkspaceWithConfig, status *currentStatus) string { |
| 244 | // Check for errors and failure |
no test coverage detected