Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HookCategory ¶
type HookCategory string
const ( HookGit HookCategory = "git" HookBuild HookCategory = "build" HookTest HookCategory = "test" HookLint HookCategory = "lint" HookDocker HookCategory = "docker" HookK8s HookCategory = "k8s" HookAWS HookCategory = "aws" HookSSH HookCategory = "ssh" HookHTTP HookCategory = "http" HookFile HookCategory = "file" HookProcess HookCategory = "process" HookNetwork HookCategory = "network" HookPackage HookCategory = "package" HookMonitor HookCategory = "monitor" HookDeploy HookCategory = "deploy" HookDebug HookCategory = "debug" HookSecurity HookCategory = "security" HookData HookCategory = "data" )
type ShellHookRegistry ¶
type ShellHookRegistry struct {
// contains filtered or unexported fields
}
func NewShellHookRegistry ¶
func NewShellHookRegistry() *ShellHookRegistry
func (*ShellHookRegistry) Count ¶
func (r *ShellHookRegistry) Count() int
func (*ShellHookRegistry) Get ¶
func (r *ShellHookRegistry) Get(command string) *ShellHook
func (*ShellHookRegistry) GetByCategory ¶
func (r *ShellHookRegistry) GetByCategory(cat HookCategory) []*ShellHook
func (*ShellHookRegistry) List ¶
func (r *ShellHookRegistry) List() []*ShellHook
Click to show internal directories.
Click to hide internal directories.