commands

package
v6.0.0-beta+incompatible Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 6, 2013 License: Apache-2.0 Imports: 8 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

View Source
var CommandDidPassRequirements bool

Functions

func NewContext

func NewContext(cmdName string, args []string) *cli.Context

func RunCommand

func RunCommand(cmd commands.Command, ctxt *cli.Context, reqFactory *testreq.FakeReqFactory)

Types

type FakeApiEndpointSetter

type FakeApiEndpointSetter struct {
	SetEndpoint string
}

func (*FakeApiEndpointSetter) SetApiEndpoint

func (setter *FakeApiEndpointSetter) SetApiEndpoint(endpoint string)

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
	StartedApp cf.Application
}

func (*FakeAppStarter) ApplicationStart

func (starter *FakeAppStarter) ApplicationStart(appToStart cf.Application) (startedApp cf.Application, err error)

type FakeAppStopper

type FakeAppStopper struct {
	AppToStop  cf.Application
	StoppedApp cf.Application
}

func (*FakeAppStopper) ApplicationStop

func (stopper *FakeAppStopper) ApplicationStop(app cf.Application) (updatedApp cf.Application, err error)

type FakeRouteCreator

type FakeRouteCreator struct {
	CreateRouteHostname string
	CreateRouteDomain   cf.Domain
	CreateRouteSpace    cf.Space
	ReservedRoute       cf.Route
}

func (*FakeRouteCreator) CreateRoute

func (cmd *FakeRouteCreator) CreateRoute(hostName string, domain cf.Domain, space cf.Space) (reservedRoute cf.Route, apiResponse net.ApiResponse)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL