action

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: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewDeleteDeployment

func NewDeleteDeployment(directorInfo DirectorInfo, deploymentName string, cliRunner bltclirunner.Runner, fs boshsys.FileSystem) *deleteDeployment

func NewDeployWithDynamic

func NewDeployWithDynamic(
	directorInfo DirectorInfo,
	flowNumber int,
	deploymentName string,
	cliRunner bltclirunner.Runner,
	fs boshsys.FileSystem,
	assetsProvider bltassets.Provider,
	usingLegacyManifest bool,
) *deployWithDynamic

func NewDeployWithStatic

func NewDeployWithStatic(
	directorInfo DirectorInfo,
	flowNumber int,
	deploymentName string,
	cliRunner bltclirunner.Runner,
	fs boshsys.FileSystem,
	assetsProvider bltassets.Provider,
	usingLegacyManifest bool,
) *deployWithStatic

func NewDeployWithVariables

func NewDeployWithVariables(
	directorInfo DirectorInfo,
	deploymentName string,
	cliRunner bltclirunner.Runner,
	fs boshsys.FileSystem,
	assetsProvider bltassets.Provider,
) *deployWithVariables

func NewDeployWrapper

func NewDeployWrapper(cliRunner bltclirunner.Runner) *deployWrapper

func NewFactory

func NewFactory(
	directorInfo DirectorInfo,
	fs boshsys.FileSystem,
	assetsProvider bltassets.Provider,
) *factory

func NewIgnore

func NewIgnore(
	directorInfo DirectorInfo,
	deploymentName string,
	cliRunner bltclirunner.Runner,
	fs boshsys.FileSystem,
	assetsProvider bltassets.Provider,
) *deployWithDynamic

func NewPrepare

func NewPrepare(
	directorInfo DirectorInfo,
	cliRunner bltclirunner.Runner,
	fs boshsys.FileSystem,
	assetsProvider bltassets.Provider,
) *prepare

func NewPrepareConfigServer

func NewPrepareConfigServer(
	directorInfo DirectorInfo,
	uaaRunner bltclirunner.Runner,
) *prepareConfigServer

func NewRecreate

func NewRecreate(directorInfo DirectorInfo, deploymentName string, cliRunner bltclirunner.Runner, fs boshsys.FileSystem) *recreate

func NewStart

func NewStart(directorInfo DirectorInfo, deploymentName string, cliRunner bltclirunner.Runner, fs boshsys.FileSystem) *start

func NewStopHard

func NewStopHard(directorInfo DirectorInfo, deploymentName string, cliRunner bltclirunner.Runner, fs boshsys.FileSystem) *stopHard

func NewUploadCloudConfig

func NewUploadCloudConfig(
	directorInfo DirectorInfo,
	cliRunner bltclirunner.Runner,
	assetsProvider bltassets.Provider,
) *uploadCloudConfig

Types

type Action

type Action interface {
	Execute() error
}

type DirectorInfo

type DirectorInfo struct {
	UUID string
	URL  string
	Name string
}

func NewDirectorInfo

func NewDirectorInfo(directorURL string, cliRunnerFactory bltclirunner.Factory) (DirectorInfo, error)

type Factory

type Factory interface {
	Create(name string, flowNumber int, deploymentName string, boshRunner bltclirunner.Runner, uaacRunner bltclirunner.Runner, usingLegacyManifest bool) (Action, error)
}

type Instance

type Instance struct {
	Name string
	ID   string
}

type InstancesInfo

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

func NewInstances

func NewInstances(directorInfo DirectorInfo, deploymentName string, cliRunner bltclirunner.Runner) *InstancesInfo

func (*InstancesInfo) GetInstances

func (i *InstancesInfo) GetInstances() (map[string][]Instance, error)

type Output

type Output struct {
	Tables []Table `json:"Tables"`
}

type Table

type Table struct {
	Rows []map[string]interface{} `json:"Rows"`
}

Directories

Path Synopsis
clirunnerfakes
Code generated by counterfeiter.
Code generated by counterfeiter.

Jump to

Keyboard shortcuts

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