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
    	Log      I.Logger
    }

      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.

        Source Files

        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.