hook

package
v0.24.1 Latest Latest
Warning

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

Go to latest
Published: Jun 24, 2024 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Overview

Package hook provides the hook handlers for the Vela API.

Usage:

import "github.com/go-vela/server/api/hook"

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateHook

func CreateHook(c *gin.Context)

CreateHook represents the API handler to create a webhook.

func DeleteHook

func DeleteHook(c *gin.Context)

DeleteHook represents the API handler to remove a webhook.

func GetHook

func GetHook(c *gin.Context)

GetHook represents the API handler to get a hook.

func ListHooks

func ListHooks(c *gin.Context)

ListHooks represents the API handler to get all hooks for a repository.

func RedeliverHook

func RedeliverHook(c *gin.Context)

RedeliverHook represents the API handler to redeliver a webhook from the SCM.

func UpdateHook

func UpdateHook(c *gin.Context)

UpdateHook represents the API handler to update a hook.

Types

This section is empty.

Jump to

Keyboard shortcuts

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