Versions in this module Expand all Collapse all v0 v0.0.1 Jun 26, 2024 Changes in this version + type GoHook struct + func NewGoHook(config *go_hook.HookConfig, f ReconcileFunc) *GoHook + func (h *GoHook) AddMetadata(meta *go_hook.HookMetadata) + func (h *GoHook) BackportHookConfig(cfg *config.HookConfig) + func (h *GoHook) Execute(_ string, bContext []binding_context.BindingContext, _ string, ...) (result *HookResult, err error) + func (h *GoHook) GetBasicHook() sh_hook.Hook + func (h *GoHook) GetConfig() *go_hook.HookConfig + func (h *GoHook) GetHookConfigDescription() string + func (h *GoHook) GetHookController() controller.HookController + func (h *GoHook) GetKind() HookKind + func (h *GoHook) GetName() string + func (h *GoHook) GetPath() string + func (h *GoHook) RateLimitWait(ctx context.Context) error + func (h *GoHook) Run(input *go_hook.HookInput) error + func (h *GoHook) WithHookController(hookController controller.HookController) + func (h *GoHook) WithTmpDir(tmpDir string) + type HookKind string + var HookKindGo HookKind = "go" + var HookKindShell HookKind = "shell" + type HookResult struct + BindingActions []go_hook.BindingAction + Metrics []metric_operation.MetricOperation + ObjectPatcherOperations []object_patch.Operation + Patches map[utils.ValuesPatchType]*utils.ValuesPatch + Usage *executor.CmdUsage + type ReconcileFunc func(input *go_hook.HookInput) error + type ShellHook struct + func NewShellHook(name, path string) *ShellHook + func (sh *ShellHook) BackportHookConfig(cfg *config.HookConfig) + func (sh *ShellHook) Execute(configVersion string, bContext []binding_context.BindingContext, ...) (result *HookResult, err error) + func (sh *ShellHook) GetConfig() ([]byte, error) + func (sh *ShellHook) GetHookConfigDescription() string + func (sh *ShellHook) GetHookController() controller.HookController + func (sh *ShellHook) GetKind() HookKind + func (sh *ShellHook) GetName() string + func (sh *ShellHook) GetPath() string + func (sh *ShellHook) WithHookController(hookController controller.HookController) + func (sh *ShellHook) WithTmpDir(tmpDir string)