(route resources.Route)
| 209 | } |
| 210 | |
| 211 | func (actor Actor) GetApplicationMapForRoute(route resources.Route) (map[string]resources.Application, Warnings, error) { |
| 212 | var v7Warning Warnings |
| 213 | apps, v7Warning, err := actor.GetApplicationsByGUIDs(extract.UniqueList("Destinations.App.GUID", route)) |
| 214 | |
| 215 | appMap := make(map[string]resources.Application) |
| 216 | for _, a := range apps { |
| 217 | appMap[a.GUID] = a |
| 218 | } |
| 219 | return appMap, v7Warning, err |
| 220 | } |
| 221 | |
| 222 | func (actor Actor) GetRouteSummaries(routes []resources.Route) ([]RouteSummary, Warnings, error) { |
| 223 | var ( |
nothing calls this directly
no test coverage detected