(containers Containers, eventFunc func(string, string) api.Resource, reason string)
| 143 | } |
| 144 | |
| 145 | func containerReasonEvents(containers Containers, eventFunc func(string, string) api.Resource, reason string) []api.Resource { |
| 146 | events := []api.Resource{} |
| 147 | for _, ctr := range containers { |
| 148 | events = append(events, eventFunc(getContainerProgressName(ctr), reason)) |
| 149 | } |
| 150 | return events |
| 151 | } |
| 152 | |
| 153 | // ServiceConditionRunningOrHealthy is a service condition on status running or healthy |
| 154 | const ServiceConditionRunningOrHealthy = "running_or_healthy" |
no test coverage detected