Documentation
¶
Index ¶
- Constants
- type AddReaction
- func (c *AddReaction) Cancel(ctx core.ExecutionContext) error
- func (c *AddReaction) Cleanup(ctx core.SetupContext) error
- func (c *AddReaction) Color() string
- func (c *AddReaction) Configuration() []configuration.Field
- func (c *AddReaction) Description() string
- func (c *AddReaction) Documentation() string
- func (c *AddReaction) ExampleOutput() map[string]any
- func (c *AddReaction) Execute(ctx core.ExecutionContext) error
- func (c *AddReaction) HandleHook(ctx core.ActionHookContext) error
- func (c *AddReaction) HandleWebhook(ctx core.WebhookRequestContext) (int, *core.WebhookResponseBody, error)
- func (c *AddReaction) Hooks() []core.Hook
- func (c *AddReaction) Icon() string
- func (c *AddReaction) Label() string
- func (c *AddReaction) Name() string
- func (c *AddReaction) OutputChannels(configuration any) []core.OutputChannel
- func (c *AddReaction) ProcessQueueItem(ctx core.ProcessQueueContext) (*uuid.UUID, error)
- func (c *AddReaction) Setup(ctx core.SetupContext) error
- type AddReactionConfiguration
- type CreateReview
- func (c *CreateReview) Cancel(ctx core.ExecutionContext) error
- func (c *CreateReview) Cleanup(ctx core.SetupContext) error
- func (c *CreateReview) Color() string
- func (c *CreateReview) Configuration() []configuration.Field
- func (c *CreateReview) Description() string
- func (c *CreateReview) Documentation() string
- func (c *CreateReview) ExampleOutput() map[string]any
- func (c *CreateReview) Execute(ctx core.ExecutionContext) error
- func (c *CreateReview) HandleHook(ctx core.ActionHookContext) error
- func (c *CreateReview) HandleWebhook(ctx core.WebhookRequestContext) (int, *core.WebhookResponseBody, error)
- func (c *CreateReview) Hooks() []core.Hook
- func (c *CreateReview) Icon() string
- func (c *CreateReview) Label() string
- func (c *CreateReview) Name() string
- func (c *CreateReview) OutputChannels(configuration any) []core.OutputChannel
- func (c *CreateReview) ProcessQueueItem(ctx core.ProcessQueueContext) (*uuid.UUID, error)
- func (c *CreateReview) Setup(ctx core.SetupContext) error
- type CreateReviewConfiguration
- type OnPRComment
- func (p *OnPRComment) Cleanup(ctx core.TriggerContext) error
- func (p *OnPRComment) Color() string
- func (p *OnPRComment) Configuration() []configuration.Field
- func (p *OnPRComment) Description() string
- func (p *OnPRComment) Documentation() string
- func (t *OnPRComment) ExampleData() map[string]any
- func (p *OnPRComment) HandleHook(ctx core.TriggerHookContext) (map[string]any, error)
- func (p *OnPRComment) HandleWebhook(ctx core.WebhookRequestContext) (int, *core.WebhookResponseBody, error)
- func (p *OnPRComment) Hooks() []core.Hook
- func (p *OnPRComment) Icon() string
- func (p *OnPRComment) Label() string
- func (p *OnPRComment) Name() string
- func (p *OnPRComment) Setup(ctx core.TriggerContext) error
- type OnPRReviewComment
- func (p *OnPRReviewComment) Cleanup(ctx core.TriggerContext) error
- func (p *OnPRReviewComment) Color() string
- func (p *OnPRReviewComment) Configuration() []configuration.Field
- func (p *OnPRReviewComment) Description() string
- func (p *OnPRReviewComment) Documentation() string
- func (t *OnPRReviewComment) ExampleData() map[string]any
- func (p *OnPRReviewComment) HandleHook(ctx core.TriggerHookContext) (map[string]any, error)
- func (p *OnPRReviewComment) HandleWebhook(ctx core.WebhookRequestContext) (int, *core.WebhookResponseBody, error)
- func (p *OnPRReviewComment) Hooks() []core.Hook
- func (p *OnPRReviewComment) Icon() string
- func (p *OnPRReviewComment) Label() string
- func (p *OnPRReviewComment) Name() string
- func (p *OnPRReviewComment) Setup(ctx core.TriggerContext) error
- type OnPullRequest
- func (p *OnPullRequest) Cleanup(ctx core.TriggerContext) error
- func (p *OnPullRequest) Color() string
- func (p *OnPullRequest) Configuration() []configuration.Field
- func (p *OnPullRequest) Description() string
- func (p *OnPullRequest) Documentation() string
- func (t *OnPullRequest) ExampleData() map[string]any
- func (p *OnPullRequest) HandleHook(ctx core.TriggerHookContext) (map[string]any, error)
- func (p *OnPullRequest) HandleWebhook(ctx core.WebhookRequestContext) (int, *core.WebhookResponseBody, error)
- func (p *OnPullRequest) Hooks() []core.Hook
- func (p *OnPullRequest) Icon() string
- func (p *OnPullRequest) Label() string
- func (p *OnPullRequest) Name() string
- func (p *OnPullRequest) Setup(ctx core.TriggerContext) error
- type OnPullRequestConfiguration
Constants ¶
View Source
const ( ReactionTargetIssueComment = "issueComment" ReactionTargetReviewComment = "reviewComment" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AddReaction ¶
type AddReaction struct{}
func (*AddReaction) Cancel ¶
func (c *AddReaction) Cancel(ctx core.ExecutionContext) error
func (*AddReaction) Cleanup ¶
func (c *AddReaction) Cleanup(ctx core.SetupContext) error
func (*AddReaction) Color ¶
func (c *AddReaction) Color() string
func (*AddReaction) Configuration ¶
func (c *AddReaction) Configuration() []configuration.Field
func (*AddReaction) Description ¶
func (c *AddReaction) Description() string
func (*AddReaction) Documentation ¶
func (c *AddReaction) Documentation() string
func (*AddReaction) ExampleOutput ¶
func (c *AddReaction) ExampleOutput() map[string]any
func (*AddReaction) Execute ¶
func (c *AddReaction) Execute(ctx core.ExecutionContext) error
func (*AddReaction) HandleHook ¶
func (c *AddReaction) HandleHook(ctx core.ActionHookContext) error
func (*AddReaction) HandleWebhook ¶
func (c *AddReaction) HandleWebhook(ctx core.WebhookRequestContext) (int, *core.WebhookResponseBody, error)
func (*AddReaction) Hooks ¶
func (c *AddReaction) Hooks() []core.Hook
func (*AddReaction) Icon ¶
func (c *AddReaction) Icon() string
func (*AddReaction) Label ¶
func (c *AddReaction) Label() string
func (*AddReaction) Name ¶
func (c *AddReaction) Name() string
func (*AddReaction) OutputChannels ¶
func (c *AddReaction) OutputChannels(configuration any) []core.OutputChannel
func (*AddReaction) ProcessQueueItem ¶
func (c *AddReaction) ProcessQueueItem(ctx core.ProcessQueueContext) (*uuid.UUID, error)
func (*AddReaction) Setup ¶
func (c *AddReaction) Setup(ctx core.SetupContext) error
type CreateReview ¶
type CreateReview struct{}
func (*CreateReview) Cancel ¶
func (c *CreateReview) Cancel(ctx core.ExecutionContext) error
func (*CreateReview) Cleanup ¶
func (c *CreateReview) Cleanup(ctx core.SetupContext) error
func (*CreateReview) Color ¶
func (c *CreateReview) Color() string
func (*CreateReview) Configuration ¶
func (c *CreateReview) Configuration() []configuration.Field
func (*CreateReview) Description ¶
func (c *CreateReview) Description() string
func (*CreateReview) Documentation ¶
func (c *CreateReview) Documentation() string
func (*CreateReview) ExampleOutput ¶
func (c *CreateReview) ExampleOutput() map[string]any
func (*CreateReview) Execute ¶
func (c *CreateReview) Execute(ctx core.ExecutionContext) error
func (*CreateReview) HandleHook ¶
func (c *CreateReview) HandleHook(ctx core.ActionHookContext) error
func (*CreateReview) HandleWebhook ¶
func (c *CreateReview) HandleWebhook(ctx core.WebhookRequestContext) (int, *core.WebhookResponseBody, error)
func (*CreateReview) Hooks ¶
func (c *CreateReview) Hooks() []core.Hook
func (*CreateReview) Icon ¶
func (c *CreateReview) Icon() string
func (*CreateReview) Label ¶
func (c *CreateReview) Label() string
func (*CreateReview) Name ¶
func (c *CreateReview) Name() string
func (*CreateReview) OutputChannels ¶
func (c *CreateReview) OutputChannels(configuration any) []core.OutputChannel
func (*CreateReview) ProcessQueueItem ¶
func (c *CreateReview) ProcessQueueItem(ctx core.ProcessQueueContext) (*uuid.UUID, error)
func (*CreateReview) Setup ¶
func (c *CreateReview) Setup(ctx core.SetupContext) error
type OnPRComment ¶
type OnPRComment struct{}
func (*OnPRComment) Cleanup ¶
func (p *OnPRComment) Cleanup(ctx core.TriggerContext) error
func (*OnPRComment) Color ¶
func (p *OnPRComment) Color() string
func (*OnPRComment) Configuration ¶
func (p *OnPRComment) Configuration() []configuration.Field
func (*OnPRComment) Description ¶
func (p *OnPRComment) Description() string
func (*OnPRComment) Documentation ¶
func (p *OnPRComment) Documentation() string
func (*OnPRComment) ExampleData ¶
func (t *OnPRComment) ExampleData() map[string]any
func (*OnPRComment) HandleHook ¶
func (p *OnPRComment) HandleHook(ctx core.TriggerHookContext) (map[string]any, error)
func (*OnPRComment) HandleWebhook ¶
func (p *OnPRComment) HandleWebhook(ctx core.WebhookRequestContext) (int, *core.WebhookResponseBody, error)
func (*OnPRComment) Hooks ¶
func (p *OnPRComment) Hooks() []core.Hook
func (*OnPRComment) Icon ¶
func (p *OnPRComment) Icon() string
func (*OnPRComment) Label ¶
func (p *OnPRComment) Label() string
func (*OnPRComment) Name ¶
func (p *OnPRComment) Name() string
func (*OnPRComment) Setup ¶
func (p *OnPRComment) Setup(ctx core.TriggerContext) error
type OnPRReviewComment ¶
type OnPRReviewComment struct{}
func (*OnPRReviewComment) Cleanup ¶
func (p *OnPRReviewComment) Cleanup(ctx core.TriggerContext) error
func (*OnPRReviewComment) Color ¶
func (p *OnPRReviewComment) Color() string
func (*OnPRReviewComment) Configuration ¶
func (p *OnPRReviewComment) Configuration() []configuration.Field
func (*OnPRReviewComment) Description ¶
func (p *OnPRReviewComment) Description() string
func (*OnPRReviewComment) Documentation ¶
func (p *OnPRReviewComment) Documentation() string
func (*OnPRReviewComment) ExampleData ¶
func (t *OnPRReviewComment) ExampleData() map[string]any
func (*OnPRReviewComment) HandleHook ¶
func (p *OnPRReviewComment) HandleHook(ctx core.TriggerHookContext) (map[string]any, error)
func (*OnPRReviewComment) HandleWebhook ¶
func (p *OnPRReviewComment) HandleWebhook(ctx core.WebhookRequestContext) (int, *core.WebhookResponseBody, error)
func (*OnPRReviewComment) Hooks ¶
func (p *OnPRReviewComment) Hooks() []core.Hook
func (*OnPRReviewComment) Icon ¶
func (p *OnPRReviewComment) Icon() string
func (*OnPRReviewComment) Label ¶
func (p *OnPRReviewComment) Label() string
func (*OnPRReviewComment) Name ¶
func (p *OnPRReviewComment) Name() string
func (*OnPRReviewComment) Setup ¶
func (p *OnPRReviewComment) Setup(ctx core.TriggerContext) error
type OnPullRequest ¶
type OnPullRequest struct{}
func (*OnPullRequest) Cleanup ¶
func (p *OnPullRequest) Cleanup(ctx core.TriggerContext) error
func (*OnPullRequest) Color ¶
func (p *OnPullRequest) Color() string
func (*OnPullRequest) Configuration ¶
func (p *OnPullRequest) Configuration() []configuration.Field
func (*OnPullRequest) Description ¶
func (p *OnPullRequest) Description() string
func (*OnPullRequest) Documentation ¶
func (p *OnPullRequest) Documentation() string
func (*OnPullRequest) ExampleData ¶
func (t *OnPullRequest) ExampleData() map[string]any
func (*OnPullRequest) HandleHook ¶
func (p *OnPullRequest) HandleHook(ctx core.TriggerHookContext) (map[string]any, error)
func (*OnPullRequest) HandleWebhook ¶
func (p *OnPullRequest) HandleWebhook(ctx core.WebhookRequestContext) (int, *core.WebhookResponseBody, error)
func (*OnPullRequest) Hooks ¶
func (p *OnPullRequest) Hooks() []core.Hook
func (*OnPullRequest) Icon ¶
func (p *OnPullRequest) Icon() string
func (*OnPullRequest) Label ¶
func (p *OnPullRequest) Label() string
func (*OnPullRequest) Name ¶
func (p *OnPullRequest) Name() string
func (*OnPullRequest) Setup ¶
func (p *OnPullRequest) Setup(ctx core.TriggerContext) error
Click to show internal directories.
Click to hide internal directories.