| 50 | type WatchFunc func(ctx context.Context, project *types.Project, options api.WatchOptions) (func() error, error) |
| 51 | |
| 52 | type Watcher struct { |
| 53 | project *types.Project |
| 54 | options api.WatchOptions |
| 55 | watchFn WatchFunc |
| 56 | stopFn func() |
| 57 | errCh chan error |
| 58 | } |
| 59 | |
| 60 | func NewWatcher(project *types.Project, options api.UpOptions, w WatchFunc, consumer api.LogConsumer) (*Watcher, error) { |
| 61 | for i := range project.Services { |
nothing calls this directly
no outgoing calls
no test coverage detected