deployer

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Sep 29, 2016 License: MIT Imports: 14 Imported by: 0

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 Deployer

type Deployer struct {
	Config       config.Config
	BlueGreener  I.BlueGreener
	Fetcher      I.Fetcher
	Prechecker   I.Prechecker
	EventManager I.EventManager
	Randomizer   I.Randomizer
	Log          *logging.Logger
	FileSystem   *afero.Afero
}

Deployer contains the bluegreener for deployments, environment variables, a fetcher for artifacts, a prechecker and event manager.

func (Deployer) Deploy

func (d Deployer) Deploy(req *http.Request, environment, org, space, appName, contentType string, out io.Writer) (err error, statusCode int)

Deploy takes the deployment information, checks the foundations, fetches the artifact and deploys the application.

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.
pusher
Package pusher handles pushing to individual Cloud Foundry instances.
Package pusher handles pushing to individual Cloud Foundry instances.
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.
pusher/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.

Jump to

Keyboard shortcuts

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