(devPod *latest.DevPod, each func(devContainer *latest.DevContainer) bool)
| 140 | } |
| 141 | |
| 142 | func EachDevContainer(devPod *latest.DevPod, each func(devContainer *latest.DevContainer) bool) { |
| 143 | if len(devPod.Containers) > 0 { |
| 144 | for _, devContainer := range devPod.Containers { |
| 145 | cont := each(devContainer) |
| 146 | if !cont { |
| 147 | break |
| 148 | } |
| 149 | } |
| 150 | } else { |
| 151 | _ = each(&devPod.DevContainer) |
| 152 | } |
| 153 | } |
no outgoing calls
no test coverage detected