()
| 267 | } |
| 268 | |
| 269 | func (c *IterativeVerifierConfig) Validate() error { |
| 270 | if c.MaxExpectedDowntime != "" { |
| 271 | _, err := time.ParseDuration(c.MaxExpectedDowntime) |
| 272 | if err != nil { |
| 273 | return err |
| 274 | } |
| 275 | } |
| 276 | |
| 277 | if c.Concurrency == 0 { |
| 278 | c.Concurrency = 4 |
| 279 | } |
| 280 | |
| 281 | return nil |
| 282 | } |
| 283 | |
| 284 | type ControlServerConfig struct { |
| 285 | // enable/disable http control server |
nothing calls this directly
no outgoing calls
no test coverage detected