Versions in this module Expand all Collapse all v0 v0.4.0 Jan 27, 2017 v0.3.0 Jan 12, 2017 Changes in this version + const HookLink + func CreateHook(tx database.QueryExecuter, projectKey string, rm *sdk.RepositoriesManager, ...) (*sdk.Hook, error) + func DeleteBranchBuilds(db *sql.DB, hooks []sdk.Hook, branch string) error + func DeleteHook(db database.QueryExecuter, id int64) error + func FindHook(db database.Querier, applicationID, pipelineID int64, ...) (sdk.Hook, error) + func InsertHook(db database.QueryExecuter, h *sdk.Hook) error + func InsertReceivedHook(db *sql.DB, link string, data string) error + func LoadApplicationHooks(db database.Querier, applicationID int64) ([]sdk.Hook, error) + func LoadHook(db *sql.DB, id int64) (sdk.Hook, error) + func LoadHooks(db *sql.DB, project string, repository string) ([]sdk.Hook, error) + func LoadPipelineHooks(db *sql.DB, pipelineID int64, applicationID int64) ([]sdk.Hook, error) + func Recovery(h ReceivedHook, err error) + func UpdateHook(db *sql.DB, h sdk.Hook) error + type ReceivedHook struct + Author string + Branch string + Data []byte + Hash string + Message string + ProjectKey string + Repository string + UID string + URL url.URL