| 1 | // SPDX-License-Identifier: GPL-3.0-or-later |
| 2 | |
| 3 | package collectorapi |
| 4 | |
| 5 | // RuntimeJob is the runtime-facing job contract used by function hooks. |
| 6 | // It is implemented by both legacy Job and JobV2. |
| 7 | type RuntimeJob interface { |
| 8 | FullName() string |
| 9 | ModuleName() string |
| 10 | Name() string |
| 11 | IsRunning() bool |
| 12 | Collector() any |
| 13 | } |