migratehelpers

package
v1.2.3 Latest Latest
Warning

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

Go to latest
Published: Jan 27, 2017 License: Apache-2.0 Imports: 11 Imported by: 2

Documentation

Index

Constants

View Source
const (
	Success = iota
	FailWarning
	Err
	OKWarning
)

Variables

This section is empty.

Functions

func NewMigrateAppsCommand

func NewMigrateAppsCommand(cliConnection api.Connection, organizationName string, spaceName string, runtime ui.Runtime) (ui.MigrateAppsCommand, error)

Types

type DiegoFlagSetter

type DiegoFlagSetter interface {
	SetDiegoFlag(string, bool) ([]string, error)
	HasRoutes(appName string) (bool, error)
}

type MigrateApps

type MigrateApps struct {
	MaxInFlight        int
	Runtime            ui.Runtime
	AppsGetterFunc     thingdoer.AppsGetterFunc
	MigrateAppsCommand *ui.MigrateAppsCommand
}

func (*MigrateApps) Execute

func (cmd *MigrateApps) Execute(cliConnection api.Connection) error

func (*MigrateApps) MigrateApp

func (cmd *MigrateApps) MigrateApp(
	appPrinter *displayhelpers.AppPrinter,
	diegoSupport DiegoFlagSetter,
) int

Directories

Path Synopsis
This file was generated by counterfeiter
This file was generated by counterfeiter

Jump to

Keyboard shortcuts

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