Documentation
¶
Index ¶
- type Params
- type WebhookSignalLifecycleHook
- func (h *WebhookSignalLifecycleHook) AfterPhase(ctx context.Context, event signal.SignalPhaseEvent, ...) error
- func (h *WebhookSignalLifecycleHook) BeforePhase(ctx context.Context, event signal.SignalPhaseEvent) (signal.BeforePhaseDecision, error)
- func (h *WebhookSignalLifecycleHook) Name() string
- func (h *WebhookSignalLifecycleHook) Supports(event signal.SignalPhaseEvent) bool
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type WebhookSignalLifecycleHook ¶
type WebhookSignalLifecycleHook struct {
// contains filtered or unexported fields
}
func NewWebhookSignalLifecycleHook ¶
func NewWebhookSignalLifecycleHook(params Params) *WebhookSignalLifecycleHook
func (*WebhookSignalLifecycleHook) AfterPhase ¶
func (h *WebhookSignalLifecycleHook) AfterPhase(ctx context.Context, event signal.SignalPhaseEvent, outcome signal.SignalPhaseOutcome) error
func (*WebhookSignalLifecycleHook) BeforePhase ¶
func (h *WebhookSignalLifecycleHook) BeforePhase(ctx context.Context, event signal.SignalPhaseEvent) (signal.BeforePhaseDecision, error)
func (*WebhookSignalLifecycleHook) Name ¶
func (h *WebhookSignalLifecycleHook) Name() string
func (*WebhookSignalLifecycleHook) Supports ¶
func (h *WebhookSignalLifecycleHook) Supports(event signal.SignalPhaseEvent) bool
Supports limits this hook to the public lifecycle primitives: execute-workflow (workflow lifecycle), execute-workflow-step (step lifecycle), and the approval handshake signals (request / response) which are projected as workflow_step.approval.v1 events. Inner-signal events (plan/apply, component-deploy, etc.) are deliberately ignored — consumers should reason in terms of workflow + step + approval.
Click to show internal directories.
Click to hide internal directories.