Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var AvailableHooks []HookType = []HookType{HookPreCreate, HookPostCreate, HookPostReceive, HookPostTerminate, HookPostFinish, HookPreFinish}
Functions ¶
This section is empty.
Types ¶
type GrpcHook ¶ added in v1.1.0
type GrpcHook struct {
Endpoint string
MaxRetries int
Backoff int
Client pb.HookServiceClient
}
func (*GrpcHook) InvokeHook ¶ added in v1.1.0
type HookError ¶
type HookError struct {
// contains filtered or unexported fields
}
func (HookError) StatusCode ¶
type HookHandler ¶
type HttpHook ¶
func (HttpHook) InvokeHook ¶
type PluginHook ¶
type PluginHook struct {
Path string
// contains filtered or unexported fields
}
func (PluginHook) InvokeHook ¶
func (*PluginHook) Setup ¶
func (h *PluginHook) Setup() error
type PluginHookHandler ¶
Click to show internal directories.
Click to hide internal directories.