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 ¶
Controller is used to determine the type of request and process it accordingly.
func (*Controller) Deploy ¶
func (c *Controller) Deploy(g *gin.Context)
Deploy checks the request content type and passes it to the Deployer.
func (*Controller) NotSilentDeploy ¶
func (c *Controller) NotSilentDeploy(req *http.Request, environment, org, space, appName, contentType string, reqChannel chan DeployResponse, response *bytes.Buffer)
func (*Controller) SilentDeploy ¶
func (c *Controller) SilentDeploy(req *http.Request, org, space, appName string, reqChannel chan DeployResponse)
type DeployResponse ¶
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/pusher
Package pusher handles pushing to individual Cloud Foundry instances.
|
Package pusher handles pushing to individual Cloud Foundry instances. |
|
bluegreen/pusher/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/pusher/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.