(name string, vers int, namespace string, status common.Status)
| 36 | ) |
| 37 | |
| 38 | func releaseStub(name string, vers int, namespace string, status common.Status) *rspb.Release { |
| 39 | return &rspb.Release{ |
| 40 | Name: name, |
| 41 | Version: vers, |
| 42 | Namespace: namespace, |
| 43 | Info: &rspb.Info{Status: status}, |
| 44 | Labels: map[string]string{ |
| 45 | "key1": "val1", |
| 46 | "key2": "val2", |
| 47 | }, |
| 48 | } |
| 49 | } |
| 50 | |
| 51 | func testKey(name string, vers int) string { |
| 52 | return fmt.Sprintf("%s.v%d", name, vers) |
no outgoing calls
no test coverage detected
searching dependent graphs…