Documentation
¶
Overview ¶
Package bluegreen is responsible for concurrently pushing an application to multiple Cloud Foundry instances.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BlueGreen ¶
type BlueGreen struct {
PusherCreator I.PusherFactory
Log *logging.Logger
}
BlueGreen has a PusherCreator to creater pushers for blue green deployments.
func (BlueGreen) Push ¶
func (bg BlueGreen) Push(environment config.Environment, appPath string, deploymentInfo S.DeploymentInfo, out io.Writer) error
Push will login to all the Cloud Foundry instances provided in the Config and then push the application to all the instances concurrently. If the application fails to start in any of the instances it handles rolling back the application in every instance, unless this is the first deploy and disable rollback is enabled.
Directories
¶
| Path | Synopsis |
|---|---|
|
Package pusher handles pushing to individual Cloud Foundry instances.
|
Package pusher handles pushing to individual Cloud Foundry instances. |
|
courier
Package courier interfaces with the Executor to run specific Cloud Foundry CLI commands.
|
Package courier interfaces with the Executor to run specific Cloud Foundry CLI commands. |
|
courier/executor
Package executor runs commands against the Cloud Foundry binary.
|
Package executor runs commands against the Cloud Foundry binary. |
Click to show internal directories.
Click to hide internal directories.