listContainerStatsFuzz creates a ListContainerStatsRequest and passes it to c.ListContainerStats
(c fuzzCRIService, f *fuzz.ConsumeFuzzer)
| 251 | // listContainerStatsFuzz creates a ListContainerStatsRequest and |
| 252 | // passes it to c.ListContainerStats |
| 253 | func listContainerStatsFuzz(c fuzzCRIService, f *fuzz.ConsumeFuzzer) error { |
| 254 | r := &runtime.ListContainerStatsRequest{} |
| 255 | err := f.GenerateStruct(r) |
| 256 | if err != nil { |
| 257 | return err |
| 258 | } |
| 259 | _, _ = c.ListContainerStats(context.Background(), r) |
| 260 | reqString := fmt.Sprintf("%+v", r) |
| 261 | logExecution("c.ListContainerStats", reqString) |
| 262 | return nil |
| 263 | } |
| 264 | |
| 265 | // containerStatusFuzz creates a ContainerStatusRequest and passes |
| 266 | // it to c.ContainerStatus |
nothing calls this directly
no test coverage detected
searching dependent graphs…