Documentation ¶
Index ¶
- Constants
- type ConnectionType
- type CopySource
- func (cmd *CopySource) Execute(c flags.FlagContext) error
- func (cmd *CopySource) MetaData() commandregistry.CommandMetadata
- func (cmd *CopySource) Requirements(requirementsFactory requirements.Factory, fc flags.FlagContext) ([]requirements.Requirement, error)
- func (cmd *CopySource) SetDependency(deps commandregistry.Dependency, pluginCall bool) commandregistry.Command
- type DeleteApp
- func (cmd *DeleteApp) Execute(c flags.FlagContext) error
- func (cmd *DeleteApp) MetaData() commandregistry.CommandMetadata
- func (cmd *DeleteApp) Requirements(requirementsFactory requirements.Factory, fc flags.FlagContext) ([]requirements.Requirement, error)
- func (cmd *DeleteApp) SetDependency(deps commandregistry.Dependency, pluginCall bool) commandregistry.Command
- type DisableSSH
- func (cmd *DisableSSH) Execute(fc flags.FlagContext) error
- func (cmd *DisableSSH) MetaData() commandregistry.CommandMetadata
- func (cmd *DisableSSH) Requirements(requirementsFactory requirements.Factory, fc flags.FlagContext) ([]requirements.Requirement, error)
- func (cmd *DisableSSH) SetDependency(deps commandregistry.Dependency, pluginCall bool) commandregistry.Command
- type Displayer
- type EnableSSH
- func (cmd *EnableSSH) Execute(fc flags.FlagContext) error
- func (cmd *EnableSSH) MetaData() commandregistry.CommandMetadata
- func (cmd *EnableSSH) Requirements(requirementsFactory requirements.Factory, fc flags.FlagContext) ([]requirements.Requirement, error)
- func (cmd *EnableSSH) SetDependency(deps commandregistry.Dependency, pluginCall bool) commandregistry.Command
- type Env
- func (cmd *Env) Execute(c flags.FlagContext) error
- func (cmd *Env) MetaData() commandregistry.CommandMetadata
- func (cmd *Env) Requirements(requirementsFactory requirements.Factory, fc flags.FlagContext) ([]requirements.Requirement, error)
- func (cmd *Env) SetDependency(deps commandregistry.Dependency, pluginCall bool) commandregistry.Command
- type Events
- func (cmd *Events) Execute(c flags.FlagContext) error
- func (cmd *Events) MetaData() commandregistry.CommandMetadata
- func (cmd *Events) Requirements(requirementsFactory requirements.Factory, c flags.FlagContext) ([]requirements.Requirement, error)
- func (cmd *Events) SetDependency(deps commandregistry.Dependency, pluginCall bool) commandregistry.Command
- type Files
- func (cmd *Files) Execute(c flags.FlagContext) error
- func (cmd *Files) MetaData() commandregistry.CommandMetadata
- func (cmd *Files) Requirements(requirementsFactory requirements.Factory, c flags.FlagContext) ([]requirements.Requirement, error)
- func (cmd *Files) SetDependency(deps commandregistry.Dependency, pluginCall bool) commandregistry.Command
- type GetHealthCheck
- func (cmd *GetHealthCheck) Execute(fc flags.FlagContext) error
- func (cmd *GetHealthCheck) MetaData() commandregistry.CommandMetadata
- func (cmd *GetHealthCheck) Requirements(requirementsFactory requirements.Factory, fc flags.FlagContext) ([]requirements.Requirement, error)
- func (cmd *GetHealthCheck) SetDependency(deps commandregistry.Dependency, pluginCall bool) commandregistry.Command
- type ListApps
- func (cmd *ListApps) Execute(c flags.FlagContext) error
- func (cmd *ListApps) MetaData() commandregistry.CommandMetadata
- func (cmd *ListApps) Requirements(requirementsFactory requirements.Factory, fc flags.FlagContext) ([]requirements.Requirement, error)
- func (cmd *ListApps) SetDependency(deps commandregistry.Dependency, pluginCall bool) commandregistry.Command
- type Logs
- func (cmd *Logs) Execute(c flags.FlagContext) error
- func (cmd *Logs) MetaData() commandregistry.CommandMetadata
- func (cmd *Logs) Requirements(requirementsFactory requirements.Factory, fc flags.FlagContext) ([]requirements.Requirement, error)
- func (cmd *Logs) SetDependency(deps commandregistry.Dependency, pluginCall bool) commandregistry.Command
- type Push
- func (cmd *Push) Execute(c flags.FlagContext) error
- func (cmd *Push) MetaData() commandregistry.CommandMetadata
- func (cmd *Push) Requirements(requirementsFactory requirements.Factory, fc flags.FlagContext) ([]requirements.Requirement, error)
- func (cmd *Push) SetDependency(deps commandregistry.Dependency, pluginCall bool) commandregistry.Command
- func (cmd Push) ValidateContextAndAppParams(appsFromManifest []models.AppParams, appFromContext models.AppParams) error
- type RenameApp
- func (cmd *RenameApp) Execute(c flags.FlagContext) error
- func (cmd *RenameApp) MetaData() commandregistry.CommandMetadata
- func (cmd *RenameApp) Requirements(requirementsFactory requirements.Factory, c flags.FlagContext) ([]requirements.Requirement, error)
- func (cmd *RenameApp) SetDependency(deps commandregistry.Dependency, pluginCall bool) commandregistry.Command
- type Restage
- func (cmd *Restage) Execute(c flags.FlagContext) error
- func (cmd *Restage) MetaData() commandregistry.CommandMetadata
- func (cmd *Restage) Requirements(requirementsFactory requirements.Factory, fc flags.FlagContext) ([]requirements.Requirement, error)
- func (cmd *Restage) SetDependency(deps commandregistry.Dependency, pluginCall bool) commandregistry.Command
- type Restart
- func (cmd *Restart) ApplicationRestart(app models.Application, orgName, spaceName string) error
- func (cmd *Restart) Execute(c flags.FlagContext) error
- func (cmd *Restart) MetaData() commandregistry.CommandMetadata
- func (cmd *Restart) Requirements(requirementsFactory requirements.Factory, fc flags.FlagContext) ([]requirements.Requirement, error)
- func (cmd *Restart) SetDependency(deps commandregistry.Dependency, pluginCall bool) commandregistry.Command
- type RestartAppInstance
- func (cmd *RestartAppInstance) Execute(fc flags.FlagContext) error
- func (cmd *RestartAppInstance) MetaData() commandregistry.CommandMetadata
- func (cmd *RestartAppInstance) Requirements(requirementsFactory requirements.Factory, fc flags.FlagContext) ([]requirements.Requirement, error)
- func (cmd *RestartAppInstance) SetDependency(deps commandregistry.Dependency, pluginCall bool) commandregistry.Command
- type Restarter
- type SSH
- func (cmd *SSH) Execute(fc flags.FlagContext) error
- func (cmd *SSH) MetaData() commandregistry.CommandMetadata
- func (cmd *SSH) Requirements(requirementsFactory requirements.Factory, fc flags.FlagContext) ([]requirements.Requirement, error)
- func (cmd *SSH) SetDependency(deps commandregistry.Dependency, pluginCall bool) commandregistry.Command
- type SSHEnabled
- func (cmd *SSHEnabled) Execute(fc flags.FlagContext) error
- func (cmd *SSHEnabled) MetaData() commandregistry.CommandMetadata
- func (cmd *SSHEnabled) Requirements(requirementsFactory requirements.Factory, fc flags.FlagContext) ([]requirements.Requirement, error)
- func (cmd *SSHEnabled) SetDependency(deps commandregistry.Dependency, pluginCall bool) commandregistry.Command
- type Scale
- func (cmd *Scale) Execute(c flags.FlagContext) error
- func (cmd *Scale) MetaData() commandregistry.CommandMetadata
- func (cmd *Scale) Requirements(requirementsFactory requirements.Factory, fc flags.FlagContext) ([]requirements.Requirement, error)
- func (cmd *Scale) SetDependency(deps commandregistry.Dependency, pluginCall bool) commandregistry.Command
- type SetEnv
- func (cmd *SetEnv) Execute(c flags.FlagContext) error
- func (cmd *SetEnv) MetaData() commandregistry.CommandMetadata
- func (cmd *SetEnv) Requirements(requirementsFactory requirements.Factory, fc flags.FlagContext) ([]requirements.Requirement, error)
- func (cmd *SetEnv) SetDependency(deps commandregistry.Dependency, pluginCall bool) commandregistry.Command
- type SetHealthCheck
- func (cmd *SetHealthCheck) Execute(fc flags.FlagContext) error
- func (cmd *SetHealthCheck) MetaData() commandregistry.CommandMetadata
- func (cmd *SetHealthCheck) Requirements(requirementsFactory requirements.Factory, fc flags.FlagContext) ([]requirements.Requirement, error)
- func (cmd *SetHealthCheck) SetDependency(deps commandregistry.Dependency, pluginCall bool) commandregistry.Command
- type ShowApp
- func (cmd *ShowApp) Execute(c flags.FlagContext) error
- func (cmd *ShowApp) MetaData() commandregistry.CommandMetadata
- func (cmd *ShowApp) Requirements(requirementsFactory requirements.Factory, fc flags.FlagContext) ([]requirements.Requirement, error)
- func (cmd *ShowApp) SetDependency(deps commandregistry.Dependency, pluginCall bool) commandregistry.Command
- func (cmd *ShowApp) ShowApp(app models.Application, orgName, spaceName string) error
- type StagingWatcher
- type Start
- func (cmd *Start) ApplicationStart(app models.Application, orgName, spaceName string) (models.Application, error)
- func (cmd *Start) Execute(c flags.FlagContext) error
- func (cmd *Start) MetaData() commandregistry.CommandMetadata
- func (cmd *Start) Requirements(requirementsFactory requirements.Factory, fc flags.FlagContext) ([]requirements.Requirement, error)
- func (cmd *Start) SetDependency(deps commandregistry.Dependency, pluginCall bool) commandregistry.Command
- func (cmd *Start) SetStartTimeoutInSeconds(timeout int)
- func (cmd *Start) TailStagingLogs(app models.Application, stopChan chan bool, ...)
- func (cmd *Start) WatchStaging(app models.Application, orgName, spaceName string, ...) (models.Application, error)
- type Starter
- type Stop
- func (cmd *Stop) ApplicationStop(app models.Application, orgName, spaceName string) (models.Application, error)
- func (cmd *Stop) Execute(c flags.FlagContext) error
- func (cmd *Stop) MetaData() commandregistry.CommandMetadata
- func (cmd *Stop) Requirements(requirementsFactory requirements.Factory, fc flags.FlagContext) ([]requirements.Requirement, error)
- func (cmd *Stop) SetDependency(deps commandregistry.Dependency, pluginCall bool) commandregistry.Command
- type Stopper
- type UnsetEnv
- func (cmd *UnsetEnv) Execute(c flags.FlagContext) error
- func (cmd *UnsetEnv) MetaData() commandregistry.CommandMetadata
- func (cmd *UnsetEnv) Requirements(requirementsFactory requirements.Factory, fc flags.FlagContext) ([]requirements.Requirement, error)
- func (cmd *UnsetEnv) SetDependency(deps commandregistry.Dependency, pluginCall bool) commandregistry.Command
Constants ¶
View Source
const ( DefaultStagingTimeout = 15 * time.Minute DefaultStartupTimeout = 5 * time.Minute DefaultPingerThrottle = 5 * time.Second )
View Source
const LogMessageTypeStaging = "STG"
View Source
const TCP = "tcp"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ConnectionType ¶
type ConnectionType int
const ( NoConnection ConnectionType = iota ConnectionWasEstablished ConnectionWasClosed StoppedTrying )
type CopySource ¶
type CopySource struct {
// contains filtered or unexported fields
}
func (*CopySource) Execute ¶
func (cmd *CopySource) Execute(c flags.FlagContext) error
func (*CopySource) MetaData ¶
func (cmd *CopySource) MetaData() commandregistry.CommandMetadata
func (*CopySource) Requirements ¶
func (cmd *CopySource) Requirements(requirementsFactory requirements.Factory, fc flags.FlagContext) ([]requirements.Requirement, error)
func (*CopySource) SetDependency ¶
func (cmd *CopySource) SetDependency(deps commandregistry.Dependency, pluginCall bool) commandregistry.Command
type DeleteApp ¶
type DeleteApp struct {
// contains filtered or unexported fields
}
func (*DeleteApp) MetaData ¶
func (cmd *DeleteApp) MetaData() commandregistry.CommandMetadata
func (*DeleteApp) Requirements ¶
func (cmd *DeleteApp) Requirements(requirementsFactory requirements.Factory, fc flags.FlagContext) ([]requirements.Requirement, error)
func (*DeleteApp) SetDependency ¶
func (cmd *DeleteApp) SetDependency(deps commandregistry.Dependency, pluginCall bool) commandregistry.Command
type DisableSSH ¶
type DisableSSH struct {
// contains filtered or unexported fields
}
func (*DisableSSH) Execute ¶
func (cmd *DisableSSH) Execute(fc flags.FlagContext) error
func (*DisableSSH) MetaData ¶
func (cmd *DisableSSH) MetaData() commandregistry.CommandMetadata
func (*DisableSSH) Requirements ¶
func (cmd *DisableSSH) Requirements(requirementsFactory requirements.Factory, fc flags.FlagContext) ([]requirements.Requirement, error)
func (*DisableSSH) SetDependency ¶
func (cmd *DisableSSH) SetDependency(deps commandregistry.Dependency, pluginCall bool) commandregistry.Command
type Displayer ¶
type Displayer interface {
ShowApp(app models.Application, orgName string, spaceName string) error
}
type EnableSSH ¶
type EnableSSH struct {
// contains filtered or unexported fields
}
func (*EnableSSH) MetaData ¶
func (cmd *EnableSSH) MetaData() commandregistry.CommandMetadata
func (*EnableSSH) Requirements ¶
func (cmd *EnableSSH) Requirements(requirementsFactory requirements.Factory, fc flags.FlagContext) ([]requirements.Requirement, error)
func (*EnableSSH) SetDependency ¶
func (cmd *EnableSSH) SetDependency(deps commandregistry.Dependency, pluginCall bool) commandregistry.Command
type Env ¶
type Env struct {
// contains filtered or unexported fields
}
func (*Env) MetaData ¶
func (cmd *Env) MetaData() commandregistry.CommandMetadata
func (*Env) Requirements ¶
func (cmd *Env) Requirements(requirementsFactory requirements.Factory, fc flags.FlagContext) ([]requirements.Requirement, error)
func (*Env) SetDependency ¶
func (cmd *Env) SetDependency(deps commandregistry.Dependency, pluginCall bool) commandregistry.Command
type Events ¶
type Events struct {
// contains filtered or unexported fields
}
func (*Events) MetaData ¶
func (cmd *Events) MetaData() commandregistry.CommandMetadata
func (*Events) Requirements ¶
func (cmd *Events) Requirements(requirementsFactory requirements.Factory, c flags.FlagContext) ([]requirements.Requirement, error)
func (*Events) SetDependency ¶
func (cmd *Events) SetDependency(deps commandregistry.Dependency, pluginCall bool) commandregistry.Command
type Files ¶
type Files struct {
// contains filtered or unexported fields
}
func (*Files) MetaData ¶
func (cmd *Files) MetaData() commandregistry.CommandMetadata
func (*Files) Requirements ¶
func (cmd *Files) Requirements(requirementsFactory requirements.Factory, c flags.FlagContext) ([]requirements.Requirement, error)
func (*Files) SetDependency ¶
func (cmd *Files) SetDependency(deps commandregistry.Dependency, pluginCall bool) commandregistry.Command
type GetHealthCheck ¶
type GetHealthCheck struct {
// contains filtered or unexported fields
}
func (*GetHealthCheck) Execute ¶
func (cmd *GetHealthCheck) Execute(fc flags.FlagContext) error
func (*GetHealthCheck) MetaData ¶
func (cmd *GetHealthCheck) MetaData() commandregistry.CommandMetadata
func (*GetHealthCheck) Requirements ¶
func (cmd *GetHealthCheck) Requirements(requirementsFactory requirements.Factory, fc flags.FlagContext) ([]requirements.Requirement, error)
func (*GetHealthCheck) SetDependency ¶
func (cmd *GetHealthCheck) SetDependency(deps commandregistry.Dependency, pluginCall bool) commandregistry.Command
type ListApps ¶
type ListApps struct {
// contains filtered or unexported fields
}
func (*ListApps) MetaData ¶
func (cmd *ListApps) MetaData() commandregistry.CommandMetadata
func (*ListApps) Requirements ¶
func (cmd *ListApps) Requirements(requirementsFactory requirements.Factory, fc flags.FlagContext) ([]requirements.Requirement, error)
func (*ListApps) SetDependency ¶
func (cmd *ListApps) SetDependency(deps commandregistry.Dependency, pluginCall bool) commandregistry.Command
type Logs ¶
type Logs struct {
// contains filtered or unexported fields
}
func (*Logs) MetaData ¶
func (cmd *Logs) MetaData() commandregistry.CommandMetadata
func (*Logs) Requirements ¶
func (cmd *Logs) Requirements(requirementsFactory requirements.Factory, fc flags.FlagContext) ([]requirements.Requirement, error)
func (*Logs) SetDependency ¶
func (cmd *Logs) SetDependency(deps commandregistry.Dependency, pluginCall bool) commandregistry.Command
type Push ¶
type Push struct {
// contains filtered or unexported fields
}
func (*Push) MetaData ¶
func (cmd *Push) MetaData() commandregistry.CommandMetadata
func (*Push) Requirements ¶
func (cmd *Push) Requirements(requirementsFactory requirements.Factory, fc flags.FlagContext) ([]requirements.Requirement, error)
func (*Push) SetDependency ¶
func (cmd *Push) SetDependency(deps commandregistry.Dependency, pluginCall bool) commandregistry.Command
type RenameApp ¶
type RenameApp struct {
// contains filtered or unexported fields
}
func (*RenameApp) MetaData ¶
func (cmd *RenameApp) MetaData() commandregistry.CommandMetadata
func (*RenameApp) Requirements ¶
func (cmd *RenameApp) Requirements(requirementsFactory requirements.Factory, c flags.FlagContext) ([]requirements.Requirement, error)
func (*RenameApp) SetDependency ¶
func (cmd *RenameApp) SetDependency(deps commandregistry.Dependency, pluginCall bool) commandregistry.Command
type Restage ¶
type Restage struct {
// contains filtered or unexported fields
}
func (*Restage) MetaData ¶
func (cmd *Restage) MetaData() commandregistry.CommandMetadata
func (*Restage) Requirements ¶
func (cmd *Restage) Requirements(requirementsFactory requirements.Factory, fc flags.FlagContext) ([]requirements.Requirement, error)
func (*Restage) SetDependency ¶
func (cmd *Restage) SetDependency(deps commandregistry.Dependency, pluginCall bool) commandregistry.Command
type Restart ¶
type Restart struct {
// contains filtered or unexported fields
}
func (*Restart) ApplicationRestart ¶
func (cmd *Restart) ApplicationRestart(app models.Application, orgName, spaceName string) error
func (*Restart) MetaData ¶
func (cmd *Restart) MetaData() commandregistry.CommandMetadata
func (*Restart) Requirements ¶
func (cmd *Restart) Requirements(requirementsFactory requirements.Factory, fc flags.FlagContext) ([]requirements.Requirement, error)
func (*Restart) SetDependency ¶
func (cmd *Restart) SetDependency(deps commandregistry.Dependency, pluginCall bool) commandregistry.Command
type RestartAppInstance ¶
type RestartAppInstance struct {
// contains filtered or unexported fields
}
func (*RestartAppInstance) Execute ¶
func (cmd *RestartAppInstance) Execute(fc flags.FlagContext) error
func (*RestartAppInstance) MetaData ¶
func (cmd *RestartAppInstance) MetaData() commandregistry.CommandMetadata
func (*RestartAppInstance) Requirements ¶
func (cmd *RestartAppInstance) Requirements(requirementsFactory requirements.Factory, fc flags.FlagContext) ([]requirements.Requirement, error)
func (*RestartAppInstance) SetDependency ¶
func (cmd *RestartAppInstance) SetDependency(deps commandregistry.Dependency, pluginCall bool) commandregistry.Command
type Restarter ¶
type Restarter interface { commandregistry.Command ApplicationRestart(app models.Application, orgName string, spaceName string) error }
type SSH ¶
type SSH struct {
// contains filtered or unexported fields
}
func (*SSH) MetaData ¶
func (cmd *SSH) MetaData() commandregistry.CommandMetadata
func (*SSH) Requirements ¶
func (cmd *SSH) Requirements(requirementsFactory requirements.Factory, fc flags.FlagContext) ([]requirements.Requirement, error)
func (*SSH) SetDependency ¶
func (cmd *SSH) SetDependency(deps commandregistry.Dependency, pluginCall bool) commandregistry.Command
type SSHEnabled ¶
type SSHEnabled struct {
// contains filtered or unexported fields
}
func (*SSHEnabled) Execute ¶
func (cmd *SSHEnabled) Execute(fc flags.FlagContext) error
func (*SSHEnabled) MetaData ¶
func (cmd *SSHEnabled) MetaData() commandregistry.CommandMetadata
func (*SSHEnabled) Requirements ¶
func (cmd *SSHEnabled) Requirements(requirementsFactory requirements.Factory, fc flags.FlagContext) ([]requirements.Requirement, error)
func (*SSHEnabled) SetDependency ¶
func (cmd *SSHEnabled) SetDependency(deps commandregistry.Dependency, pluginCall bool) commandregistry.Command
type Scale ¶
type Scale struct {
// contains filtered or unexported fields
}
func (*Scale) MetaData ¶
func (cmd *Scale) MetaData() commandregistry.CommandMetadata
func (*Scale) Requirements ¶
func (cmd *Scale) Requirements(requirementsFactory requirements.Factory, fc flags.FlagContext) ([]requirements.Requirement, error)
func (*Scale) SetDependency ¶
func (cmd *Scale) SetDependency(deps commandregistry.Dependency, pluginCall bool) commandregistry.Command
type SetEnv ¶
type SetEnv struct {
// contains filtered or unexported fields
}
func (*SetEnv) MetaData ¶
func (cmd *SetEnv) MetaData() commandregistry.CommandMetadata
func (*SetEnv) Requirements ¶
func (cmd *SetEnv) Requirements(requirementsFactory requirements.Factory, fc flags.FlagContext) ([]requirements.Requirement, error)
func (*SetEnv) SetDependency ¶
func (cmd *SetEnv) SetDependency(deps commandregistry.Dependency, pluginCall bool) commandregistry.Command
type SetHealthCheck ¶
type SetHealthCheck struct {
// contains filtered or unexported fields
}
func (*SetHealthCheck) Execute ¶
func (cmd *SetHealthCheck) Execute(fc flags.FlagContext) error
func (*SetHealthCheck) MetaData ¶
func (cmd *SetHealthCheck) MetaData() commandregistry.CommandMetadata
func (*SetHealthCheck) Requirements ¶
func (cmd *SetHealthCheck) Requirements(requirementsFactory requirements.Factory, fc flags.FlagContext) ([]requirements.Requirement, error)
func (*SetHealthCheck) SetDependency ¶
func (cmd *SetHealthCheck) SetDependency(deps commandregistry.Dependency, pluginCall bool) commandregistry.Command
type ShowApp ¶
type ShowApp struct {
// contains filtered or unexported fields
}
func (*ShowApp) MetaData ¶
func (cmd *ShowApp) MetaData() commandregistry.CommandMetadata
func (*ShowApp) Requirements ¶
func (cmd *ShowApp) Requirements(requirementsFactory requirements.Factory, fc flags.FlagContext) ([]requirements.Requirement, error)
func (*ShowApp) SetDependency ¶
func (cmd *ShowApp) SetDependency(deps commandregistry.Dependency, pluginCall bool) commandregistry.Command
type StagingWatcher ¶
type StagingWatcher interface {
WatchStaging(app models.Application, orgName string, spaceName string, startCommand func(app models.Application) (models.Application, error)) (updatedApp models.Application, err error)
}
type Start ¶
type Start struct { LogServerConnectionTimeout time.Duration StartupTimeout time.Duration StagingTimeout time.Duration PingerThrottle time.Duration // contains filtered or unexported fields }
func (*Start) ApplicationStart ¶
func (cmd *Start) ApplicationStart(app models.Application, orgName, spaceName string) (models.Application, error)
func (*Start) MetaData ¶
func (cmd *Start) MetaData() commandregistry.CommandMetadata
func (*Start) Requirements ¶
func (cmd *Start) Requirements(requirementsFactory requirements.Factory, fc flags.FlagContext) ([]requirements.Requirement, error)
func (*Start) SetDependency ¶
func (cmd *Start) SetDependency(deps commandregistry.Dependency, pluginCall bool) commandregistry.Command
func (*Start) SetStartTimeoutInSeconds ¶
func (*Start) TailStagingLogs ¶
func (*Start) WatchStaging ¶
func (cmd *Start) WatchStaging(app models.Application, orgName, spaceName string, start func(app models.Application) (models.Application, error)) (models.Application, error)
type Starter ¶
type Starter interface { commandregistry.Command SetStartTimeoutInSeconds(timeout int) ApplicationStart(app models.Application, orgName string, spaceName string) (updatedApp models.Application, err error) }
type Stop ¶
type Stop struct {
// contains filtered or unexported fields
}
func (*Stop) ApplicationStop ¶
func (cmd *Stop) ApplicationStop(app models.Application, orgName, spaceName string) (models.Application, error)
func (*Stop) MetaData ¶
func (cmd *Stop) MetaData() commandregistry.CommandMetadata
func (*Stop) Requirements ¶
func (cmd *Stop) Requirements(requirementsFactory requirements.Factory, fc flags.FlagContext) ([]requirements.Requirement, error)
func (*Stop) SetDependency ¶
func (cmd *Stop) SetDependency(deps commandregistry.Dependency, pluginCall bool) commandregistry.Command
type Stopper ¶
type Stopper interface { commandregistry.Command ApplicationStop(app models.Application, orgName string, spaceName string) (updatedApp models.Application, err error) }
type UnsetEnv ¶
type UnsetEnv struct {
// contains filtered or unexported fields
}
func (*UnsetEnv) MetaData ¶
func (cmd *UnsetEnv) MetaData() commandregistry.CommandMetadata
func (*UnsetEnv) Requirements ¶
func (cmd *UnsetEnv) Requirements(requirementsFactory requirements.Factory, fc flags.FlagContext) ([]requirements.Requirement, error)
func (*UnsetEnv) SetDependency ¶
func (cmd *UnsetEnv) SetDependency(deps commandregistry.Dependency, pluginCall bool) commandregistry.Command
Source Files ¶
Directories ¶
Path | Synopsis |
---|---|
This file was generated by counterfeiter This file was generated by counterfeiter This file was generated by counterfeiter This file was generated by counterfeiter This file was generated by counterfeiter
|
This file was generated by counterfeiter This file was generated by counterfeiter This file was generated by counterfeiter This file was generated by counterfeiter This file was generated by counterfeiter |
Click to show internal directories.
Click to hide internal directories.