//
pkg.gl
Category
github.com/goharbor/harbor/src
jobservice
hook
package
2.2.1+incompatible
Repository:
https://github.com/goharbor/harbor.git
Documentation:
pkg.go.dev
Versions
1
Dependencies
19
Dependents
2
Files
360 SLOC
#
Functions
NewAgent
NewAgent is constructor of basic agent.
NewClient
NewClient return the ptr of the new hook client.
#
Structs
Event
Event contains the hook URL and the data.
#
Interfaces
Agent
Agent is designed to handle the hook events with reasonable numbers of concurrent threads.
Client
Client for handling the hook events.