Documentation ¶
Overview ¶
Package deployer will deploy your application.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BasicAuthError ¶ added in v0.6.0
type BasicAuthError struct{}
func (BasicAuthError) Error ¶ added in v0.6.0
func (e BasicAuthError) Error() string
type Deployer ¶
type Deployer struct { Config config.Config BlueGreener I.BlueGreener Prechecker I.Prechecker EventManager I.EventManager Randomizer I.Randomizer ErrorFinder I.ErrorFinder Log I.Logger }
func (Deployer) Deploy ¶
func (d Deployer) Deploy(deploymentInfo *S.DeploymentInfo, env S.Environment, actionCreator I.ActionCreator, response io.ReadWriter) *I.DeployResponse
type EnvironmentNotFoundError ¶ added in v0.6.0
type EnvironmentNotFoundError struct {
Environment string
}
func (EnvironmentNotFoundError) Error ¶ added in v0.6.0
func (e EnvironmentNotFoundError) Error() string
type EventError ¶ added in v0.6.0
func (EventError) Error ¶ added in v0.6.0
func (e EventError) Error() string
type InvalidContentTypeError ¶ added in v0.6.0
type InvalidContentTypeError struct{}
func (InvalidContentTypeError) Error ¶ added in v0.6.0
func (e InvalidContentTypeError) Error() string
type ManifestError ¶ added in v0.6.0
type ManifestError struct {
Err error
}
func (ManifestError) Error ¶ added in v0.6.0
func (e ManifestError) Error() string
type SilentDeployer ¶
type SilentDeployer struct { }
func (SilentDeployer) Deploy ¶
func (d SilentDeployer) Deploy(deploymentInfo *S.DeploymentInfo, env S.Environment, actionCreator I.ActionCreator, response io.ReadWriter) *I.DeployResponse
Directories ¶
Path | Synopsis |
---|---|
Package bluegreen is responsible for concurrently pushing an application to multiple Cloud Foundry instances.
|
Package bluegreen is responsible for concurrently pushing an application to multiple 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. |
Package prechecker checks that all the Cloud Foundry instances are running before a deploy.
|
Package prechecker checks that all the Cloud Foundry instances are running before a deploy. |
Click to show internal directories.
Click to hide internal directories.