package
0.4.0
Repository: https://github.com/maxatome/cds.git
Documentation: pkg.go.dev

# Functions

CreateHook in CDS db + repo manager webhook.
DeleteBranchBuilds deletes all builds related to given branch in given applications in pipeline_build and pipeline_history.
DeleteHook removes hook from database.
FindHook loads a hook from its attributes.
InsertHook add link between git repository and pipeline in database.
InsertReceivedHook insert raw data received from public handler in database.
LoadApplicationHooks will load all hooks related to given application.
LoadHook loads a single hook.
LoadHooks related to given repository.
LoadPipelineHooks will load all hooks related to given pipeline.
Recovery try to recovers hook in case of error.
UpdateHook update the given hook.

# Constants

HookLink format in stash/bitbucket.

# Structs

ReceivedHook is a temporary struct to manage received hook.