-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #2813 from grafana/prune-the-engine
Move most capabilities out of the `core.Engine` in preparation for removal
- Loading branch information
Showing
25 changed files
with
372 additions
and
456 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
package v1 | ||
|
||
import ( | ||
"context" | ||
|
||
"go.k6.io/k6/execution" | ||
"go.k6.io/k6/lib" | ||
"go.k6.io/k6/metrics" | ||
"go.k6.io/k6/metrics/engine" | ||
) | ||
|
||
// ControlSurface includes the methods the REST API can use to control and | ||
// communicate with the rest of k6. | ||
type ControlSurface struct { | ||
RunCtx context.Context | ||
Samples chan metrics.SampleContainer | ||
MetricsEngine *engine.MetricsEngine | ||
Scheduler *execution.Scheduler | ||
RunState *lib.TestRunState | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.