listContainersFuzz creates a ListContainersRequest and passes it to c.ListContainers
(c fuzzCRIService, f *fuzz.ConsumeFuzzer)
| 209 | // listContainersFuzz creates a ListContainersRequest and passes |
| 210 | // it to c.ListContainers |
| 211 | func listContainersFuzz(c fuzzCRIService, f *fuzz.ConsumeFuzzer) error { |
| 212 | r := &runtime.ListContainersRequest{} |
| 213 | err := f.GenerateStruct(r) |
| 214 | if err != nil { |
| 215 | return err |
| 216 | } |
| 217 | _, _ = c.ListContainers(context.Background(), r) |
| 218 | reqString := fmt.Sprintf("%+v", r) |
| 219 | logExecution("c.ListContainers", reqString) |
| 220 | return nil |
| 221 | } |
| 222 | |
| 223 | // startContainerFuzz creates a StartContainerRequest and passes |
| 224 | // it to c.StartContainer |
nothing calls this directly
no test coverage detected
searching dependent graphs…