Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BlueGreener ¶
type BlueGreener interface {
Push(environment config.Environment, appPath string, deploymentInfo S.DeploymentInfo, out io.Writer) error
}
BlueGreener interface.
type Courier ¶
type Courier interface {
Login(api, username, password, org, space string, skipSSL bool) ([]byte, error)
Delete(appName string) ([]byte, error)
Push(appName, appLocation string) ([]byte, error)
Rename(oldName, newName string) ([]byte, error)
MapRoute(appName, domain string) ([]byte, error)
Logs(appName string) ([]byte, error)
Exists(appName string) bool
CleanUp() error
}
Courier interface.
type Deployer ¶
type Deployer interface {
Deploy(req *http.Request, environment, org, space, appName, appPath, contentType string, out io.Writer) (error, int)
}
Deployer interface.
type EventManager ¶
type EventManager interface {
AddHandler(handler Handler, eventType string) error
Emit(event S.Event) error
}
EventManager interface.
type Executor ¶
type Executor interface {
Execute(args ...string) ([]byte, error)
ExecuteInDirectory(directory string, args ...string) ([]byte, error)
CleanUp() error
}
Executor interface.
type Fetcher ¶
type Fetcher interface {
Fetch(url, manifest string) (string, error)
FetchFromZip(requestBody []byte) (string, error)
}
Fetcher interface.
type Prechecker ¶
type Prechecker interface {
AssertAllFoundationsUp(environment config.Environment) error
}
Prechecker interface.
type Pusher ¶
type Pusher interface {
Login(foundationURL string, deploymentInfo S.DeploymentInfo, out io.Writer) error
Push(appPath, domain string, deploymentInfo S.DeploymentInfo, out io.Writer) ([]byte, error)
Rollback(deploymentInfo S.DeploymentInfo, firstDeploy bool) error
FinishPush(deploymentInfo S.DeploymentInfo) error
CleanUp() error
Exists(appName string) bool
}
Pusher interface.
type PusherFactory ¶
PusherFactory interface.
type Randomizer ¶
Randomizer interface.
Click to show internal directories.
Click to hide internal directories.