Collector is an interface for the garbage collector.
| 53 | |
| 54 | // Collector is an interface for the garbage collector. |
| 55 | type Collector interface { |
| 56 | // Run runs the garbage collector until all eligible Promotion resources have |
| 57 | // been deleted -- or until an unrecoverable error occurs. |
| 58 | Run(context.Context) error |
| 59 | } |
| 60 | |
| 61 | // collector is an implementation of the Collector interface. |
| 62 | type collector struct { |
no outgoing calls
no test coverage detected