abstract

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Jun 26, 2020 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

View Source
const (
	SnapshotKey = snapshotKeyType("experimentAbstract")
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Experiment

type Experiment struct {
	ServiceKeys    []string
	DeploymentKeys []string
	// contains filtered or unexported fields
}

Experiment includes abstract info for one Experiment

func NewExperiment

func NewExperiment(services, deployments []string) *Experiment

func (*Experiment) GetSnapshot

func (e *Experiment) GetSnapshot() Snapshot

func (*Experiment) MarkTargetFound

func (e *Experiment) MarkTargetFound(name string, found bool)

func (*Experiment) Refresh added in v0.2.0

func (e *Experiment) Refresh() bool

func (*Experiment) Resume

func (e *Experiment) Resume() bool

type ExperimentInterface

type ExperimentInterface interface {
	MarkTargetFound(name string, found bool)
}

type Snapshot

type Snapshot interface {
	Refresh() bool
	Resume() bool
}

Jump to

Keyboard shortcuts

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