ui

package
v1.2.4 Latest Latest
Warning

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

Go to latest
Published: Jul 26, 2017 License: Apache-2.0 Imports: 5 Imported by: 6

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SayFailed

func SayFailed()

func SayOK

func SayOK()

Types

type ApplicationPrinter

type ApplicationPrinter interface {
	Name() string
	Organization() string
	Space() string
}

type ListAppsCommand

type ListAppsCommand struct {
	Username     string
	Runtime      Runtime
	Organization string
	Space        string
	UI           terminal.UI
}

func (*ListAppsCommand) AfterAll

func (c *ListAppsCommand) AfterAll(apps []ApplicationPrinter)

func (*ListAppsCommand) BeforeAll

func (c *ListAppsCommand) BeforeAll()

type MigrateAppsCommand

type MigrateAppsCommand struct {
	Username     string
	Runtime      Runtime
	Organization string
	Space        string
}

func (*MigrateAppsCommand) AfterAll

func (c *MigrateAppsCommand) AfterAll(attempts int, okWarnings int, failWarnings int, errors int)

func (*MigrateAppsCommand) BeforeAll

func (c *MigrateAppsCommand) BeforeAll()

func (*MigrateAppsCommand) BeforeEach

func (c *MigrateAppsCommand) BeforeEach(app ApplicationPrinter)

func (*MigrateAppsCommand) CompletedEach

func (c *MigrateAppsCommand) CompletedEach(app ApplicationPrinter)

func (*MigrateAppsCommand) DuringEach

func (c *MigrateAppsCommand) DuringEach()

func (*MigrateAppsCommand) FailMigrate

func (c *MigrateAppsCommand) FailMigrate(app ApplicationPrinter, err error)

func (*MigrateAppsCommand) HealthCheckNoneWarning added in v1.2.3

func (c *MigrateAppsCommand) HealthCheckNoneWarning(app ApplicationPrinter, writer io.Writer)

func (*MigrateAppsCommand) UserWarning

func (c *MigrateAppsCommand) UserWarning(app ApplicationPrinter)

type Runtime

type Runtime string
const (
	DEA   Runtime = "DEA"
	Diego Runtime = "Diego"
)

func ParseRuntime

func ParseRuntime(runtime string) (Runtime, error)

func (Runtime) Flip

func (r Runtime) Flip() Runtime

func (Runtime) String

func (r Runtime) String() string

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