(containers Containers, eventFunc func(string) api.Resource)
| 135 | } |
| 136 | |
| 137 | func containerEvents(containers Containers, eventFunc func(string) api.Resource) []api.Resource { |
| 138 | events := []api.Resource{} |
| 139 | for _, ctr := range containers { |
| 140 | events = append(events, eventFunc(getContainerProgressName(ctr))) |
| 141 | } |
| 142 | return events |
| 143 | } |
| 144 | |
| 145 | func containerReasonEvents(containers Containers, eventFunc func(string, string) api.Resource, reason string) []api.Resource { |
| 146 | events := []api.Resource{} |
no test coverage detected