Documentation ¶
Index ¶
- func New(l log.Logger) (sdk.FanOut, error)
- type Integration
- func (i *Integration) Attach(_ context.Context, req *sdk.AttachmentRequest) (*sdk.AttachmentResponse, error)
- func (i *Integration) Execute(ctx context.Context, req *sdk.ExecutionRequest) error
- func (i *Integration) Register(ctx context.Context, req *sdk.RegistrationRequest) (*sdk.RegistrationResponse, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Integration ¶
type Integration struct { *sdk.FanOutIntegration // contains filtered or unexported fields }
Integration implements a generic webhook integration
func (*Integration) Attach ¶
func (i *Integration) Attach(_ context.Context, req *sdk.AttachmentRequest) (*sdk.AttachmentResponse, error)
Attach is executed when attaching the webhook integration to a workflow
Click to show internal directories.
Click to hide internal directories.