(id string, refs []leases.Resource, r bool, l ...string)
| 849 | } |
| 850 | |
| 851 | func lease(id string, refs []leases.Resource, r bool, l ...string) object { |
| 852 | return object{ |
| 853 | data: testLease{ |
| 854 | id: id, |
| 855 | refs: refs, |
| 856 | }, |
| 857 | removed: r, |
| 858 | labels: labelmap(l...), |
| 859 | } |
| 860 | } |
| 861 | |
| 862 | type testContent struct { |
| 863 | data []byte |
no test coverage detected
searching dependent graphs…