(name string, container *dw.ContainerComponent)
| 42 | } |
| 43 | |
| 44 | func getContainerEndpointByName(name string, container *dw.ContainerComponent) *dw.Endpoint { |
| 45 | for idx, endpoint := range container.Endpoints { |
| 46 | if endpoint.Name == name { |
| 47 | return &container.Endpoints[idx] |
| 48 | } |
| 49 | } |
| 50 | return nil |
| 51 | } |
no outgoing calls
no test coverage detected