Documentation ¶ Index ¶ Variables func Run(params RunParams) type RunParams Constants ¶ This section is empty. Variables ¶ View Source var ( // RotateFlag defines wether we should rotate the secret or not. RotateFlag = flags.Bool() // VerifyFlag defines wether we should verify the hook or not. VerifyFlag = flags.Bool() ) View Source var Module = fx.Options( hooks.Module, fx.Invoke(Run), ) Module for fx. Functions ¶ func Run ¶ func Run(params RunParams) Run for hooks. Types ¶ type RunParams ¶ type RunParams struct { fx.In Lifecycle fx.Lifecycle OutputConfig *cmd.OutputConfig Map *marshaller.Map Config *config.Config Logger *zap.Logger Webhook *hooks.Webhook } RunParams for hooks. Source Files ¶ View all Source files feature.go module.go Click to show internal directories. Click to hide internal directories.