k6
k6 copied to clipboard
refactor provision callback into an interface
Currently the launcher receives a provision function as a parameter. This function returns a commandExecutor that satisfies the dependencies.
Transform this function into an interface to ease of debugging and codebase navigation in IDEs
type Provider interface {
provision func(*state.GlobalState, k6deps.Dependencies) (commandExecutor, error)
}