containersForServices returns all observed containers belonging to the given service names.
(services []string)
| 356 | // containersForServices returns all observed containers belonging to the given |
| 357 | // service names. |
| 358 | func (r *reconciler) containersForServices(services []string) []ObservedContainer { |
| 359 | var result []ObservedContainer |
| 360 | for _, svc := range services { |
| 361 | result = append(result, r.observed.Containers[svc]...) |
| 362 | } |
| 363 | return result |
| 364 | } |
| 365 | |
| 366 | // reconcileContainers processes each service in dependency order, comparing |
| 367 | // the desired scale and configuration with observed containers. |
no outgoing calls
no test coverage detected