Documentation ¶
Overview ¶
Package githubhook implements handling and verification of github webhooks.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsExecutionFailed ¶
IsExecutionFailed asserts executionFailedError.
func IsInvalidConfig ¶
IsInvalidConfig asserts invalidConfigError.
Types ¶
type Deployment ¶
type DeploymentEvent ¶
type DeploymentEvent struct { Deployment Deployment Repository Repository `json:"repository"` }
type Hook ¶
type Hook struct { // ID specifies the ID of a github webhook request. ID string // Event contains unmarshaled webhook. DeploymentEvent DeploymentEvent // Signature specifies the signature of a github webhook request. Signature string // Payload contains the raw contents of the webhook request. Payload []byte }
Hook is an inbound github webhook.
type Repository ¶
Click to show internal directories.
Click to hide internal directories.