(action Action)
| 523 | } |
| 524 | |
| 525 | func (r *SimpleWatchReactor) Handles(action Action) bool { |
| 526 | resourceCovers := r.Resource == "*" || r.Resource == action.GetResource().Resource |
| 527 | if !resourceCovers { |
| 528 | return false |
| 529 | } |
| 530 | |
| 531 | return true |
| 532 | } |
| 533 | |
| 534 | func (r *SimpleWatchReactor) React(action Action) (bool, watch.Interface, error) { |
| 535 | return r.Reaction(action) |
nothing calls this directly
no test coverage detected