controller

package
v0.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 2, 2016 License: MIT Imports: 12 Imported by: 0

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          *logging.Logger
	Config       config.Config
	EventManager I.EventManager
	Randomizer   I.Randomizer
}

func (*Controller) Deploy

func (c *Controller) Deploy(g *gin.Context)

Deploy parses parameters from the request, builds a DeploymentInfo and passes it to Deployer.

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.
eventmanager
Package eventmanager emits events.
Package eventmanager emits events.
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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL