pachyderm: Index | Files

package githook

import ""

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.


Package Files



const GitHookPort = 999

GitHookPort specifies the port the server will listen on

func ExternalPort Uses

func ExternalPort() int32

ExternalPort provides the port used to access the service via a load balancer

func NodePort Uses

func NodePort() int32

NodePort provides the port used to access the service via a node

func RunGitHookServer Uses

func RunGitHookServer(address string, etcdAddress string, etcdPrefix string) error

RunGitHookServer starts the webhook server

func URLFromDomain Uses

func URLFromDomain(domain string) string

URLFromDomain provides the webhook URL given an input domain

Package githook imports 15 packages (graph) and is imported by 5 packages. Updated 2019-08-13. Refresh now. Tools for package owners.