commands

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DeaAppsCommand

type DeaAppsCommand struct {
	Organization string `short:"o" value-name:"ORG" description:"Organization to restrict the app migration to"`
	Space        string `short:"s" value-name:"SPACE" description:"Space in the targeted organization to limit results to"`
}

func (DeaAppsCommand) Execute

func (command DeaAppsCommand) Execute([]string) error

type DiegoAppsCommand

type DiegoAppsCommand struct {
	Organization string `short:"o" value-name:"ORG" description:"Organization to restrict the app migration to"`
	Space        string `short:"s" value-name:"SPACE" description:"Space in the targeted organization to limit results to"`
}

func (DiegoAppsCommand) Execute

func (command DiegoAppsCommand) Execute([]string) error

type DisableDiegoCommand

type DisableDiegoCommand struct {
	RequiredOptions DisableDiegoPositionalArgs `positional-args:"yes"`
}

func (DisableDiegoCommand) Execute

func (command DisableDiegoCommand) Execute([]string) error

type DisableDiegoPositionalArgs

type DisableDiegoPositionalArgs struct {
	AppName string `positional-arg-name:"APP_NAME" required:"true" description:"The app name"`
}

type EnableDiegoCommand

type EnableDiegoCommand struct {
	RequiredOptions EnableDiegoPositionalArgs `positional-args:"yes"`
}

func (EnableDiegoCommand) Execute

func (command EnableDiegoCommand) Execute([]string) error

type EnableDiegoPositionalArgs

type EnableDiegoPositionalArgs struct {
	AppName string `positional-arg-name:"APP_NAME" required:"true" description:"The app name"`
}

type Enabler

type Enabler struct {
	CLIConnection api.Connection

	EnableDiego     EnableDiegoCommand     `command:"enable-diego" description:"enable Diego support for an app"`
	DisableDiego    DisableDiegoCommand    `command:"disable-diego" description:"disable Diego support for an app"`
	HasDiegoEnabled HasDiegoEnabledCommand `command:"has-diego-enabled" description:"Check if Diego support is enabled for an app"`
	DiegoApps       DiegoAppsCommand       `command:"diego-apps" description:"Lists all apps running on the Diego runtime that are visible to the user"`
	DeaApps         DeaAppsCommand         `command:"dea-apps" description:"Lists all apps running on the DEA runtime that are visible to the user"`
	MigrateApps     MigrateAppsCommand     `command:"migrate-apps" description:"Migrate all apps to Diego/DEA"`
	UninstallPlugin UninstallHook          `command:"CLI-MESSAGE-UNINSTALL"`
}
var DiegoEnabler Enabler

type HasDiegoEnabledCommand

type HasDiegoEnabledCommand struct {
	RequiredOptions HasDiegoEnabledPositionalArgs `positional-args:"yes"`
}

func (HasDiegoEnabledCommand) Execute

func (command HasDiegoEnabledCommand) Execute([]string) error

type HasDiegoEnabledPositionalArgs

type HasDiegoEnabledPositionalArgs struct {
	AppName string `positional-arg-name:"APP_NAME" required:"true" description:"The app name"`
}

type MigrateAppsCommand

type MigrateAppsCommand struct {
	RequiredOptions MigrateAppsPositionalArgs `positional-args:"yes"`
	Organization    string                    `short:"o" value-name:"ORG" description:"Organization to restrict the app migration to"`
	Space           string                    `short:"s" value-name:"SPACE" description:"Space in the targeted organization to restrict the app migration to"`
	MaxInFlight     flaghelpers.ParallelFlag  `short:"p" value-name:"MAX_IN_FLIGHT" default:"1" description:"Maximum number of apps to migrate in parallel (maximum: 100)"`
}

func (MigrateAppsCommand) Execute

func (command MigrateAppsCommand) Execute([]string) error

type MigrateAppsPositionalArgs

type MigrateAppsPositionalArgs struct {
	Runtime string `positional-arg-name:"runtime" required:"true" description:"dea or diego"`
}

type UninstallHook

type UninstallHook struct{}

func (UninstallHook) Execute

func (command UninstallHook) Execute([]string) error

Directories

Path Synopsis
migratehelpersfakes
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