Documentation
¶
Overview ¶
Package benchmarkruntime is the process adapter for the shipped Inspect worker.
Index ¶
- func CatalogJSON() []byte
- type Adapter
- func (a *Adapter) DatasetKey(id string) string
- func (a *Adapter) DownloadDataset(ctx context.Context, id, cacheDir string, ...) error
- func (a *Adapter) Execute(ctx context.Context, request benchmarks.WorkerRequest, ...) error
- func (a *Adapter) Prepare(ctx context.Context) error
- func (a *Adapter) Ready() bool
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CatalogJSON ¶
func CatalogJSON() []byte
Types ¶
type Adapter ¶
type Adapter struct {
// contains filtered or unexported fields
}
func (*Adapter) DatasetKey ¶
func (*Adapter) DownloadDataset ¶
func (a *Adapter) DownloadDataset( ctx context.Context, id, cacheDir string, receive func(benchmarks.DatasetTransfer) error, ) error
func (*Adapter) Execute ¶
func (a *Adapter) Execute( ctx context.Context, request benchmarks.WorkerRequest, receive func(benchmarks.Event) error, ) error
Click to show internal directories.
Click to hide internal directories.