Documentation ¶
Index ¶
- Variables
- func NewContext(cmdName string, args []string) *cli.Context
- func RunCommand(cmd commands.Command, ctxt *cli.Context, reqFactory *testreq.FakeReqFactory)
- type FakeApiEndpointSetter
- type FakeAppBinder
- type FakeAppDisplayer
- type FakeAppRestarter
- type FakeAppStarter
- func (starter *FakeAppStarter) ApplicationStart(appToStart cf.Application) (startedApp cf.Application, err error)
- func (starter *FakeAppStarter) ApplicationStartWithBuildpack(app cf.Application, buildpackUrl string) (startedApp cf.Application, err error)
- func (starter *FakeAppStarter) SetStartTimeoutSeconds(timeout int)
- type FakeAppStopper
- type FakeRouteCreator
Constants ¶
This section is empty.
Variables ¶
View Source
var CommandDidPassRequirements bool
Functions ¶
func RunCommand ¶
Types ¶
type FakeApiEndpointSetter ¶
type FakeApiEndpointSetter struct {
SetEndpoint string
}
func (*FakeApiEndpointSetter) SetApiEndpoint ¶
func (setter *FakeApiEndpointSetter) SetApiEndpoint(endpoint string)
type FakeAppBinder ¶
type FakeAppBinder struct { AppsToBind cf.ApplicationSet InstancesToBindTo cf.ServiceInstanceSet }
func (*FakeAppBinder) BindApplication ¶
func (binder *FakeAppBinder) BindApplication(app cf.Application, service cf.ServiceInstance) (apiResponse net.ApiResponse)
type FakeAppDisplayer ¶
type FakeAppDisplayer struct {
AppToDisplay cf.Application
}
func (*FakeAppDisplayer) ShowApp ¶
func (displayer *FakeAppDisplayer) ShowApp(app cf.Application)
type FakeAppRestarter ¶
type FakeAppRestarter struct {
AppToRestart cf.Application
}
func (*FakeAppRestarter) ApplicationRestart ¶
func (restarter *FakeAppRestarter) ApplicationRestart(appToRestart cf.Application)
type FakeAppStarter ¶
type FakeAppStarter struct { AppToStart cf.Application Timeout int }
func (*FakeAppStarter) ApplicationStart ¶
func (starter *FakeAppStarter) ApplicationStart(appToStart cf.Application) (startedApp cf.Application, err error)
func (*FakeAppStarter) ApplicationStartWithBuildpack ¶
func (starter *FakeAppStarter) ApplicationStartWithBuildpack(app cf.Application, buildpackUrl string) (startedApp cf.Application, err error)
func (*FakeAppStarter) SetStartTimeoutSeconds ¶
func (starter *FakeAppStarter) SetStartTimeoutSeconds(timeout int)
type FakeAppStopper ¶
type FakeAppStopper struct {
AppToStop cf.Application
}
func (*FakeAppStopper) ApplicationStop ¶
func (stopper *FakeAppStopper) ApplicationStop(app cf.Application) (updatedApp cf.Application, err error)
type FakeRouteCreator ¶
type FakeRouteCreator struct { CreateRouteHostname string CreateRouteDomainFields cf.DomainFields CreateRouteSpaceFields cf.SpaceFields ReservedRoute cf.Route }
func (*FakeRouteCreator) CreateRoute ¶
func (cmd *FakeRouteCreator) CreateRoute(hostName string, domain cf.DomainFields, space cf.SpaceFields) (reservedRoute cf.Route, apiResponse net.ApiResponse)
Click to show internal directories.
Click to hide internal directories.