trial

package
v2.0.0-beta.1 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

View Source
var TrialManager = &Manager{
	runs: make(map[string]Run),
}

TrialManager Manager Initialized in the binder

Functions

This section is empty.

Types

type Manager

type Manager struct {
	sync.RWMutex
	// contains filtered or unexported fields
}

Manager In memory manager for all trial rules

func (*Manager) CreateRule

func (m *Manager) CreateRule(ruleDef string) (string, error)

func (*Manager) StartRule

func (m *Manager) StartRule(ruleId string) error

func (*Manager) StopRule

func (m *Manager) StopRule(ruleId string)

type Run

type Run struct {
	// contains filtered or unexported fields
}

type RunDef

type RunDef struct {
	Id        string                    `json:"id"`
	Sql       string                    `json:"sql"`
	Mock      map[string]map[string]any `json:"mockSource"`
	SinkProps map[string]any            `json:"sinkProps"`
	// contains filtered or unexported fields
}

Jump to

Keyboard shortcuts

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