go:generate go run go.uber.org/mock/mockgen@v0.4.0 -source=types.go -destination=mocks/mock_types.go -package=mocks .
| 13 | |
| 14 | //go:generate go run go.uber.org/mock/mockgen@v0.4.0 -source=types.go -destination=mocks/mock_types.go -package=mocks . |
| 15 | type IWatcher interface { |
| 16 | // Init, Stop, and Refresh should only be called by watchermanager. |
| 17 | Init(ctx context.Context) error |
| 18 | Stop(ctx context.Context) error |
| 19 | Refresh(ctx context.Context) error |
| 20 | } |
| 21 | |
| 22 | type IWatcherManager interface { |
| 23 | Start(ctx context.Context) error |
no outgoing calls
no test coverage detected