MCPcopy
hub / github.com/docker/compose / containerReasonEvents

Function containerReasonEvents

pkg/compose/convergence.go:145–151  ·  pkg/compose/convergence.go::containerReasonEvents
(containers Containers, eventFunc func(string, string) api.Resource, reason string)

Source from the content-addressed store, hash-verified

143}
144
145func 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
154const ServiceConditionRunningOrHealthy = "running_or_healthy"

Callers 1

waitDependenciesMethod · 0.85

Calls 1

getContainerProgressNameFunction · 0.85

Tested by

no test coverage detected