MCPcopy
hub / github.com/garethgeorge/backrest / Handler

Interface Handler

internal/hook/types/registry.go:41–45  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

39}
40
41type Handler interface {
42 Name() string
43 Execute(ctx context.Context, hook *v1.Hook, vars interface{}, runner tasks.TaskRunner, event v1.Hook_Condition) error
44 ActionType() reflect.Type
45}

Callers 10

newOneoffRunHookTaskFunction · 0.65
PathAutocompleteMethod · 0.65
tarDirectoryFunction · 0.65
MigrateTarLogsInDirFunction · 0.65
initMethod · 0.65
newOneoffRunHookTaskFunction · 0.65
RenderTemplateFunction · 0.65
renderTemplateMethod · 0.65
RegisterHandlerMethod · 0.65

Implementers 7

telegramHandlerinternal/hook/types/telegram.go
gotifyHandlerinternal/hook/types/gotify.go
discordHandlerinternal/hook/types/discord.go
shoutrrrHandlerinternal/hook/types/shoutrrr.go
healthchecksHandlerinternal/hook/types/healthchecks.go
slackHandlerinternal/hook/types/slack.go
commandHandlerinternal/hook/types/command.go

Calls

no outgoing calls

Tested by

no test coverage detected