(store api.StateStore)
| 116 | } |
| 117 | |
| 118 | func WithStateStore(store api.StateStore) ManagerOption { |
| 119 | return managerOptionFunc(func(c *managerOptions) (*managerOptions, error) { |
| 120 | c.dontUseDefaultStateStore = true |
| 121 | c.stateStore = store |
| 122 | return c, nil |
| 123 | }) |
| 124 | } |
| 125 | |
| 126 | func WithLogger(log *logr.Logger) ManagerOption { |
| 127 | return managerOptionFunc(func(c *managerOptions) (*managerOptions, error) { |
no test coverage detected