k6 icon indicating copy to clipboard operation
k6 copied to clipboard

refactor provision callback into an interface

Open pablochacin opened this issue 7 months ago • 0 comments

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)
}

pablochacin avatar Apr 30 '25 15:04 pablochacin