Background is the worker function to run. It is invoked once per resource kind via one arbitrary instance of that kind. As a result, it's important not to meddle with resource-specific state. It must shutdown when the context is cancelled. It should error if something ever goes wrong whether during
(*BackgroundHandle)
| 449 | // this scenario would need to be used. The actual background func is |
| 450 | // generated by calling this constructor. |
| 451 | Background(*BackgroundHandle) BackgroundFunc |
| 452 | } |
| 453 | |
| 454 | // YAMLRes is a resource that supports creation by unmarshalling. |
no outgoing calls