Runtime returns the container client to use for chaos execution. Builders receive a Runtime factory rather than a client value so that client construction can be deferred until after global flag parsing while still keeping the dependency visible in every constructor signature.
func() container.Client
| 21 | // construction can be deferred until after global flag parsing while still |
| 22 | // keeping the dependency visible in every constructor signature. |
| 23 | type Runtime func() container.Client |
| 24 | |
| 25 | // Command chaos command |
| 26 | type Command interface { |
no outgoing calls
no test coverage detected