New returns a new Controller registered with the Manager. The Manager will ensure that shared Caches have been synced before the Controller is Started. The name must be unique as it is used to identify the controller in metrics and logs.
(name string, mgr manager.Manager, options Options)
| 182 | // |
| 183 | // The name must be unique as it is used to identify the controller in metrics and logs. |
| 184 | func New(name string, mgr manager.Manager, options Options) (Controller, error) { |
| 185 | return NewTyped(name, mgr, options) |
| 186 | } |
| 187 | |
| 188 | // NewTyped returns a new typed controller registered with the Manager, |
| 189 | // |