Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DefaultService ¶
type DefaultService struct {
// contains filtered or unexported fields
}
DefaultService is the default implementation of the execution service.
func (*DefaultService) RunBenchmark ¶
func (s *DefaultService) RunBenchmark(ctx context.Context, workload *models.BenchmarkWorkload, cfg ExecutionConfig) (*models.BenchmarkResult, error)
RunBenchmark runs the benchmark.
type ExecutionConfig ¶
ExecutionConfig holds the configuration for a benchmark run.
type Service ¶
type Service interface {
RunBenchmark(ctx context.Context, workload *models.BenchmarkWorkload, cfg ExecutionConfig) (*models.BenchmarkResult, error)
}
Service is the application service for the execution phase.
func NewService ¶
func NewService(registry *plugin_registry.Registry) Service
NewService creates a new DefaultService.
Click to show internal directories.
Click to hide internal directories.