(rv int)
| 65 | } |
| 66 | |
| 67 | func makeTestEvent(rv int) watch.Event { |
| 68 | return watch.Event{ |
| 69 | Type: watch.Added, |
| 70 | Object: testObject{ |
| 71 | resourceVersion: fmt.Sprintf("%d", rv), |
| 72 | }, |
| 73 | } |
| 74 | } |
| 75 | |
| 76 | func arrayToChannel(array []watch.Event) chan watch.Event { |
| 77 | ch := make(chan watch.Event, len(array)) |
no outgoing calls
no test coverage detected