Documentation ¶
Overview ¶
Package githook adds support for git-based sources in pipeline specs. It does so by exposing an HTTP server that listens for webhook requests. This works with github's webhook API, and anything else API-compatible with their push events.
Index ¶
Constants ¶
View Source
const GitHookPort = 999
GitHookPort specifies the port the server will listen on
Variables ¶
This section is empty.
Functions ¶
func ExternalPort ¶ added in v1.6.7
func ExternalPort() int32
ExternalPort provides the port used to access the service via a load balancer
func NodePort ¶ added in v1.6.7
func NodePort() int32
NodePort provides the port used to access the service via a node
func RunGitHookServer ¶
RunGitHookServer starts the webhook server
func URLFromDomain ¶ added in v1.6.7
URLFromDomain provides the webhook URL given an input domain
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.