manager

package
v0.0.0-...-84339fa Latest Latest
Warning

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

Go to latest
Published: Apr 24, 2024 License: Apache-2.0 Imports: 6 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ConfigurableExperimentManager

type ConfigurableExperimentManager interface {
	shared.Configurable
	manager.ExperimentManager
}

ConfigurableExperimentManager interface of an ExperimentManager, that can be configured with an arbitrary configuration passed as a JSON data

func NewConfigurableCustomExperimentManager

func NewConfigurableCustomExperimentManager(
	factory func(cfg json.RawMessage) (manager.CustomExperimentManager, error),
) ConfigurableExperimentManager

func NewConfigurableStandardExperimentManager

func NewConfigurableStandardExperimentManager(
	factory func(cfg json.RawMessage) (manager.StandardExperimentManager, error),
) ConfigurableExperimentManager

type ExperimentManagerPlugin

type ExperimentManagerPlugin struct {
	Impl ConfigurableExperimentManager
}

ExperimentManagerPlugin implements hashicorp/go-plugin's Plugin interface for manager.ExperimentManager

func (ExperimentManagerPlugin) Client

func (ExperimentManagerPlugin) Client(_ *plugin.MuxBroker, c *rpc.Client) (interface{}, error)

func (*ExperimentManagerPlugin) Server

func (p *ExperimentManagerPlugin) Server(*plugin.MuxBroker) (interface{}, error)

Jump to

Keyboard shortcuts

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