structs

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: 2 Imported by: 0

Documentation

Overview

Package structs contains structs that are reused in multiple locations.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DeployEventData

type DeployEventData struct {
	Writer         io.Writer
	DeploymentInfo *DeploymentInfo
	RequestBody    io.Reader
}

DeployEventData has a RequestBody and DeploymentInfo.

type DeploymentInfo

type DeploymentInfo struct {
	ArtifactURL string `json:"artifact_url"`
	Manifest    string `json:"manifest"`
	Username    string
	Password    string
	Environment string
	Org         string
	Space       string
	AppName     string
	UUID        string
	SkipSSL     bool
	Instances   uint16

	// Generic map used for users to provide their own deployment properties in JSON format.
	Data map[string]interface{} `json:"data"`
}

DeploymentInfo is a collection of properties necessary for a deployment.

type Event

type Event struct {
	Type string
	Data interface{}
}

Event has a type and event Data.

type PrecheckerEventData

type PrecheckerEventData struct {
	Environment config.Environment
	Description string
}

PrecheckerEventData has Enviroment variables and a description.

Jump to

Keyboard shortcuts

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