flow

package
v0.0.0-...-8f56700 Latest Latest
Warning

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

Go to latest
Published: Nov 6, 2018 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewFlow

func NewFlow(
	flowNumber int,
	actionInfos []ActionInfo,
	actionFactory bltaction.Factory,
	cliRunnerFactory bltclirunner.Factory,
) *actionsFlow

Types

type ActionInfo

type ActionInfo struct {
	Name                string `json:"name"`
	DelayInMilliseconds int64  `json:"delay"`
}

type Randomizer

type Randomizer interface {
	Configure(filePath string) error
	Prepare(flows [][]string, numberOfDeployments int) error
	RunFlow(flowNumber int, usingLegacyManifest bool) error
}

func NewRandomizer

func NewRandomizer(
	actionFactory bltaction.Factory,
	cliRunnerFactory bltclirunner.Factory,
	fs boshsys.FileSystem,
	logger boshlog.Logger,
) Randomizer

Jump to

Keyboard shortcuts

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