Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EngineFactory ¶
type EngineFactory interface { GetExperimentManager() (manager.ExperimentManager, error) GetExperimentRunner() (runner.ExperimentRunner, error) }
EngineFactory interface defines methods for accessing manager/runner of a given experiment engine
func NewEngineFactory ¶
func NewEngineFactory(name string, cfg map[string]interface{}, logger *zap.SugaredLogger) (EngineFactory, error)
NewEngineFactory is a constructor method that creates a new instance of EngineFactory The concrete implementation of EngineFactory can be either:
- experiment/plugin/inproc/factory (for experiment engines implemented as compile-time plugins)
- experiment/plugin/rpc/factory (for experiment engines implemented as external net/rpc plugins)
The actual implementation is determined based on provided engine configuration (passed via `cfg`)
Click to show internal directories.
Click to hide internal directories.