Documentation ¶
Index ¶
- type DeaAppsCommand
- type DiegoAppsCommand
- type DisableDiegoCommand
- type DisableDiegoPositionalArgs
- type EnableDiegoCommand
- type EnableDiegoPositionalArgs
- type Enabler
- type HasDiegoEnabledCommand
- type HasDiegoEnabledPositionalArgs
- type MigrateAppsCommand
- type MigrateAppsPositionalArgs
- type UninstallHook
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
Source Files ¶
Directories ¶
Path | Synopsis |
---|---|
migratehelpersfakes
This file was generated by counterfeiter
|
This file was generated by counterfeiter |
Click to show internal directories.
Click to hide internal directories.