webhook

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Mar 28, 2019 License: MIT Imports: 16 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 NewGenericWebhookCloudEvent added in v1.0.0

func NewGenericWebhookCloudEvent(s storage.Store) gin.HandlerFunc

NewGenericWebhookCloudEvent creates a go-restful handler for generic Gateway that will handle CloudEvents.

func NewGenericWebhookSimpleEvent added in v1.0.0

func NewGenericWebhookSimpleEvent(s storage.Store) gin.HandlerFunc

NewGenericWebhookSimpleEvent 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