(result map[string]*MappingResult)
| 13 | ) |
| 14 | |
| 15 | func foundObjects(result map[string]*MappingResult) []string { |
| 16 | objs := make([]string, 0, len(result)) |
| 17 | for k := range result { |
| 18 | objs = append(objs, k) |
| 19 | } |
| 20 | sort.Strings(objs) |
| 21 | return objs |
| 22 | } |
| 23 | |
| 24 | func TestPod(t *testing.T) { |
| 25 | spec, err := os.ReadFile("testdata/pod.yaml") |
no outgoing calls
no test coverage detected