Documentation
¶
Overview ¶
Package pusher handles pushing to individual Cloud Foundry instances.
Index ¶
- type Pusher
- func (p Pusher) CleanUp() error
- func (p Pusher) Exists(appName string) bool
- func (p Pusher) FinishPush(deploymentInfo S.DeploymentInfo) error
- func (p Pusher) Login(foundationURL string, deploymentInfo S.DeploymentInfo, out io.Writer) error
- func (p Pusher) Push(appPath, domain string, deploymentInfo S.DeploymentInfo, out io.Writer) ([]byte, error)
- func (p Pusher) Rollback(deploymentInfo S.DeploymentInfo) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Pusher ¶
Pusher has a courier used to push applications to Cloud Foundry.
func (Pusher) FinishPush ¶
func (p Pusher) FinishPush(deploymentInfo S.DeploymentInfo) error
FinishPush will delete the venerable instance of your application.
func (Pusher) Push ¶
func (p Pusher) Push(appPath, domain string, deploymentInfo S.DeploymentInfo, out io.Writer) ([]byte, error)
Push pushes a single application to a Clound Foundry instance using blue green deployment. Blue green is done by renaming the current application to appName-venerable. Pushes the new application to the existing appName route with an included load balanced domain if provided.
Returns Cloud Foundry logs if there is an error.
Directories
¶
| Path | Synopsis |
|---|---|
|
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. |
|
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.