webhook

package
v1.0.0-beta.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 13, 2019 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetFileContents

func GetFileContents(proj *brigade.Project, ref, path string) ([]byte, error)

GetFileContents returns the contents for a particular file in the project.

func NewDockerPushHook

func NewDockerPushHook(s storage.Store) gin.HandlerFunc

NewDockerPushHook creates a new Docker Push handler for webhooks.

func NewGenericWebhook added in v0.20.0

func NewGenericWebhook(s storage.Store) gin.HandlerFunc

NewGenericWebhook creates a go-restful handler for generic Gateway.

func SHA1HMAC

func SHA1HMAC(salt, message []byte) string

SHA1HMAC computes the GitHub SHA1 HMAC.

Types

This section is empty.

Jump to

Keyboard shortcuts

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