Help us shape the future of Go! Take the 2026 Go Developer Survey

prechecker

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Oct 26, 2016 License: MIT Imports: 8 Imported by: 0

Documentation

Overview

Package prechecker checks that all the Cloud Foundry instances are running before a deploy.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Prechecker

type Prechecker struct {
	EventManager I.EventManager
}

Prechecker has an eventmanager used to manage event if prechecks fail.

func (Prechecker) AssertAllFoundationsUp

func (p Prechecker) AssertAllFoundationsUp(environment config.Environment) error

AssertAllFoundationsUp will send a request to each Cloud Foundry instance and check that the response status code is 200 OK.

Jump to

Keyboard shortcuts

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