Documentation
¶
Index ¶
- func Any(msg string, steps []*ProgressBarStep, wcc ...decor.WC) decor.Decorator
- func OnComplete(msg string, steps []*ProgressBarStep, wcc ...decor.WC) decor.Decorator
- type ExportAll
- type ExportApp
- type ExportAppResult
- type ExportIncremental
- type ExportOrg
- type ExportSpace
- type ImportAll
- type ImportApp
- type ImportIncremental
- type ImportOrg
- type ImportSpace
- type ProgressBarStep
- type Result
- type Sequence
- type StepFunc
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func OnComplete ¶
Types ¶
type ExportApp ¶
type ExportApp struct { ExportSpace Sequence Sequence AppName string `help:"the app to export" short:"a" env:"CF_APP_NAME"` }
func (*ExportApp) SetAppName ¶
type ExportAppResult ¶
type ExportAppResult struct {
// contains filtered or unexported fields
}
func (ExportAppResult) GetApp ¶
func (r ExportAppResult) GetApp() cfclient.App
func (ExportAppResult) GetOrg ¶
func (r ExportAppResult) GetOrg() cfclient.Org
func (ExportAppResult) GetSpace ¶
func (r ExportAppResult) GetSpace() cfclient.Space
type ExportIncremental ¶
type ExportIncremental struct { }
type ExportOrg ¶
type ExportOrg struct {
Org string `help:"the org to export" short:"o" env:"CF_ORG"`
}
type ExportSpace ¶
type ImportApp ¶
type ImportApp struct { ImportSpace Sequence Sequence AppName string `help:"the app to import" short:"a" env:"CF_APP_NAME"` AppCount int // contains filtered or unexported fields }
func (*ImportApp) SetAppName ¶
func (*ImportApp) SetOrgName ¶
func (*ImportApp) SetSpaceName ¶
type ImportIncremental ¶
type ImportIncremental struct { }
type ImportOrg ¶
type ImportOrg struct {
Org string `help:"the org to import" short:"o" env:"CF_ORG"`
}
type ImportSpace ¶
type ProgressBarStep ¶
type ProgressBarStep struct {
// contains filtered or unexported fields
}
func StepWithProgressBar ¶
func StepWithProgressBar(step StepFunc, display string) *ProgressBarStep
func (ProgressBarStep) String ¶
func (p ProgressBarStep) String() string
type Result ¶
type Result interface { GetOrg() cfclient.Org GetSpace() cfclient.Space GetApp() cfclient.App }
type Sequence ¶
func NewExportAppSequence ¶
func NewImportAppSequence ¶
func RunSequence ¶
func RunSequence(msg string, completeMessage string, steps ...*ProgressBarStep) Sequence
Click to show internal directories.
Click to hide internal directories.