Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Payload ¶
type Payload struct { Environment string `json:"environment"` Application string `json:"application"` Version string `json:"version"` Deployer string `json:"deployedBy"` Environmentclass string `json:"environmentClass"` }
Payload represents the JSON payload supported by the Vera API. All fields are required
func BuildVeraEvent ¶
func BuildVeraEvent(event *deployment.Event) Payload
BuildVeraEvent collects data from a deployment event and creates a valid payload for POSTing to the vera api.
Click to show internal directories.
Click to hide internal directories.