cmd

package
v0.0.0-...-9a89ba0 Latest Latest
Warning

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

Go to latest
Published: Nov 1, 2014 License: Apache-2.0 Imports: 33 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewDeployCmd

func NewDeployCmd(
	ui bmui.UI,
	userConfig bmconfig.UserConfig,
	fs boshsys.FileSystem,
	cpiManifestParser bmdepl.ManifestParser,
	boshManifestParser bmdepl.ManifestParser,
	cpiDeployer bmcpideploy.CpiDeployer,
	stemcellManagerFactory bmstemcell.ManagerFactory,
	deployer bmdeployer.Deployer,
	logger boshlog.Logger,
) *deployCmd

func NewDeploymentCmd

func NewDeploymentCmd(
	ui bmui.UI,
	userConfig bmconfig.UserConfig,
	userConfigService bmconfig.UserConfigService,
	deploymentConfig bmconfig.DeploymentConfig,
	fs boshsys.FileSystem,
	uuidGenerator boshuuid.Generator,
	logger boshlog.Logger,
) *deploymentCmd

Types

type Cmd

type Cmd interface {
	Run([]string) error
	Name() string
}

type Deployment

type Deployment struct{}

type Factory

type Factory interface {
	CreateCommand(name string) (Cmd, error)
}

func NewFactory

func NewFactory(
	userConfig bmconfig.UserConfig,
	userConfigService bmconfig.UserConfigService,
	fs boshsys.FileSystem,
	ui bmui.UI,
	logger boshlog.Logger,
	uuidGenerator boshuuid.Generator,
	workspace string,
) Factory

type Runner

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

func NewRunner

func NewRunner(factory Factory) *Runner

func (*Runner) Run

func (runner *Runner) Run(args []string) error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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