orchestrator

package
v2.2.0-alpha21-rc9 Latest Latest
Warning

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

Go to latest
Published: Jul 12, 2024 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Overview

Package orchestrator acts as a main brain for both the record and replay services

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config interface {
	Read(ctx context.Context, testSetID string) (*models.TestSet, error)
	Write(ctx context.Context, testSetID string, testSet *models.TestSet) error
}

type Orchestrator

type Orchestrator struct {
	TestSetConf Config
	// contains filtered or unexported fields
}

func New

func New(logger *zap.Logger, record record.Service, replay replay.Service, config *config.Config, TestSetConf Config) *Orchestrator

func (*Orchestrator) ReRecord

func (o *Orchestrator) ReRecord(ctx context.Context) error

type Service

type Service interface {
	ReRecord(ctx context.Context) error
}

Jump to

Keyboard shortcuts

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