Documentation ¶
Overview ¶
Package controller is responsible for handling requests from the Server.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Controller ¶
type Controller struct { Deployer I.Deployer SilentDeployer I.Deployer Log I.Logger PushController I.PushController StopController I.StopController StartController I.StartController Config config.Config EventManager I.EventManager ErrorFinder I.ErrorFinder }
Controller is used to determine the type of request and process it accordingly.
func (*Controller) PutRequestHandler ¶
func (c *Controller) PutRequestHandler(g *gin.Context)
func (*Controller) RunDeployment ¶
func (c *Controller) RunDeployment(deployment *I.Deployment, response *bytes.Buffer) I.DeployResponse
func (*Controller) RunDeploymentViaHttp ¶
func (c *Controller) RunDeploymentViaHttp(g *gin.Context)
RunDeploymentViaHttp checks the request content type and passes it to the Deployer.
type PutRequest ¶
Directories ¶
Path | Synopsis |
---|---|
Package deployer will deploy your application.
|
Package deployer will deploy your application. |
bluegreen
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. |
bluegreen/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. |
bluegreen/courier/executor
Package executor runs commands against the Cloud Foundry binary.
|
Package executor runs commands against the Cloud Foundry binary. |
prechecker
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.