generation

package
v0.0.0-...-b8497f2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 7, 2025 License: Apache-2.0 Imports: 6 Imported by: 0

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 workload generation service.

func (*DefaultService) GenerateWorkload

func (s *DefaultService) GenerateWorkload(ctx context.Context, req GenerateRequest) (*models.BenchmarkWorkload, error)

type GenerateRequest

type GenerateRequest struct {
	SourceTraces []models.SQLTrace
	Count        int
}

GenerateRequest encapsulates parameters for workload generation.

type Service

type Service interface {
	GenerateWorkload(ctx context.Context, req GenerateRequest) (*models.BenchmarkWorkload, error)
}

Service is the interface for the workload generation service.

func NewService

func NewService() Service

NewService creates a new DefaultService.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL