Documentation
¶
Index ¶
- Constants
- func NewClient(ctx core.IntegrationContext, ghAppID int64, installationID string) (*github.Client, error)
- type AddIssueAssignee
- func (c *AddIssueAssignee) Actions() []core.Action
- func (c *AddIssueAssignee) Cancel(ctx core.ExecutionContext) error
- func (c *AddIssueAssignee) Cleanup(ctx core.SetupContext) error
- func (c *AddIssueAssignee) Color() string
- func (c *AddIssueAssignee) Configuration() []configuration.Field
- func (c *AddIssueAssignee) Description() string
- func (c *AddIssueAssignee) Documentation() string
- func (c *AddIssueAssignee) ExampleOutput() map[string]any
- func (c *AddIssueAssignee) Execute(ctx core.ExecutionContext) error
- func (c *AddIssueAssignee) HandleAction(ctx core.ActionContext) error
- func (c *AddIssueAssignee) HandleWebhook(ctx core.WebhookRequestContext) (int, error)
- func (c *AddIssueAssignee) Icon() string
- func (c *AddIssueAssignee) Label() string
- func (c *AddIssueAssignee) Name() string
- func (c *AddIssueAssignee) OutputChannels(configuration any) []core.OutputChannel
- func (c *AddIssueAssignee) ProcessQueueItem(ctx core.ProcessQueueContext) (*uuid.UUID, error)
- func (c *AddIssueAssignee) Setup(ctx core.SetupContext) error
- type AddIssueAssigneeConfiguration
- type AddIssueLabel
- func (c *AddIssueLabel) Actions() []core.Action
- func (c *AddIssueLabel) Cancel(ctx core.ExecutionContext) error
- func (c *AddIssueLabel) Cleanup(ctx core.SetupContext) error
- func (c *AddIssueLabel) Color() string
- func (c *AddIssueLabel) Configuration() []configuration.Field
- func (c *AddIssueLabel) Description() string
- func (c *AddIssueLabel) Documentation() string
- func (c *AddIssueLabel) ExampleOutput() map[string]any
- func (c *AddIssueLabel) Execute(ctx core.ExecutionContext) error
- func (c *AddIssueLabel) HandleAction(ctx core.ActionContext) error
- func (c *AddIssueLabel) HandleWebhook(ctx core.WebhookRequestContext) (int, error)
- func (c *AddIssueLabel) Icon() string
- func (c *AddIssueLabel) Label() string
- func (c *AddIssueLabel) Name() string
- func (c *AddIssueLabel) OutputChannels(configuration any) []core.OutputChannel
- func (c *AddIssueLabel) ProcessQueueItem(ctx core.ProcessQueueContext) (*uuid.UUID, error)
- func (c *AddIssueLabel) Setup(ctx core.SetupContext) error
- type AddIssueLabelConfiguration
- type Configuration
- type CreateIssue
- func (c *CreateIssue) Actions() []core.Action
- func (c *CreateIssue) Cancel(ctx core.ExecutionContext) error
- func (c *CreateIssue) Cleanup(ctx core.SetupContext) error
- func (c *CreateIssue) Color() string
- func (c *CreateIssue) Configuration() []configuration.Field
- func (c *CreateIssue) Description() string
- func (c *CreateIssue) Documentation() string
- func (c *CreateIssue) ExampleOutput() map[string]any
- func (c *CreateIssue) Execute(ctx core.ExecutionContext) error
- func (c *CreateIssue) HandleAction(ctx core.ActionContext) error
- func (c *CreateIssue) HandleWebhook(ctx core.WebhookRequestContext) (int, error)
- func (c *CreateIssue) Icon() string
- func (c *CreateIssue) Label() string
- func (c *CreateIssue) Name() string
- func (c *CreateIssue) OutputChannels(configuration any) []core.OutputChannel
- func (c *CreateIssue) ProcessQueueItem(ctx core.ProcessQueueContext) (*uuid.UUID, error)
- func (c *CreateIssue) Setup(ctx core.SetupContext) error
- type CreateIssueComment
- func (c *CreateIssueComment) Actions() []core.Action
- func (c *CreateIssueComment) Cancel(ctx core.ExecutionContext) error
- func (c *CreateIssueComment) Cleanup(ctx core.SetupContext) error
- func (c *CreateIssueComment) Color() string
- func (c *CreateIssueComment) Configuration() []configuration.Field
- func (c *CreateIssueComment) Description() string
- func (c *CreateIssueComment) Documentation() string
- func (c *CreateIssueComment) ExampleOutput() map[string]any
- func (c *CreateIssueComment) Execute(ctx core.ExecutionContext) error
- func (c *CreateIssueComment) HandleAction(ctx core.ActionContext) error
- func (c *CreateIssueComment) HandleWebhook(ctx core.WebhookRequestContext) (int, error)
- func (c *CreateIssueComment) Icon() string
- func (c *CreateIssueComment) Label() string
- func (c *CreateIssueComment) Name() string
- func (c *CreateIssueComment) OutputChannels(configuration any) []core.OutputChannel
- func (c *CreateIssueComment) ProcessQueueItem(ctx core.ProcessQueueContext) (*uuid.UUID, error)
- func (c *CreateIssueComment) Setup(ctx core.SetupContext) error
- type CreateIssueCommentConfiguration
- type CreateIssueConfiguration
- type CreateRelease
- func (c *CreateRelease) Actions() []core.Action
- func (c *CreateRelease) Cancel(ctx core.ExecutionContext) error
- func (c *CreateRelease) Cleanup(ctx core.SetupContext) error
- func (c *CreateRelease) Color() string
- func (c *CreateRelease) Configuration() []configuration.Field
- func (c *CreateRelease) Description() string
- func (c *CreateRelease) Documentation() string
- func (c *CreateRelease) ExampleOutput() map[string]any
- func (c *CreateRelease) Execute(ctx core.ExecutionContext) error
- func (c *CreateRelease) HandleAction(ctx core.ActionContext) error
- func (c *CreateRelease) HandleWebhook(ctx core.WebhookRequestContext) (int, error)
- func (c *CreateRelease) Icon() string
- func (c *CreateRelease) Label() string
- func (c *CreateRelease) Name() string
- func (c *CreateRelease) OutputChannels(configuration any) []core.OutputChannel
- func (c *CreateRelease) ProcessQueueItem(ctx core.ProcessQueueContext) (*uuid.UUID, error)
- func (c *CreateRelease) Setup(ctx core.SetupContext) error
- type CreateReleaseConfiguration
- type CreateReview
- func (c *CreateReview) Actions() []core.Action
- 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) HandleAction(ctx core.ActionContext) error
- func (c *CreateReview) HandleWebhook(ctx core.WebhookRequestContext) (int, error)
- 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 DeleteRelease
- func (c *DeleteRelease) Actions() []core.Action
- func (c *DeleteRelease) Cancel(ctx core.ExecutionContext) error
- func (c *DeleteRelease) Cleanup(ctx core.SetupContext) error
- func (c *DeleteRelease) Color() string
- func (c *DeleteRelease) Configuration() []configuration.Field
- func (c *DeleteRelease) Description() string
- func (c *DeleteRelease) Documentation() string
- func (c *DeleteRelease) ExampleOutput() map[string]any
- func (c *DeleteRelease) Execute(ctx core.ExecutionContext) error
- func (c *DeleteRelease) HandleAction(ctx core.ActionContext) error
- func (c *DeleteRelease) HandleWebhook(ctx core.WebhookRequestContext) (int, error)
- func (c *DeleteRelease) Icon() string
- func (c *DeleteRelease) Label() string
- func (c *DeleteRelease) Name() string
- func (c *DeleteRelease) OutputChannels(configuration any) []core.OutputChannel
- func (c *DeleteRelease) ProcessQueueItem(ctx core.ProcessQueueContext) (*uuid.UUID, error)
- func (c *DeleteRelease) Setup(ctx core.SetupContext) error
- type DeleteReleaseConfiguration
- type GetIssue
- func (c *GetIssue) Actions() []core.Action
- func (c *GetIssue) Cancel(ctx core.ExecutionContext) error
- func (c *GetIssue) Cleanup(ctx core.SetupContext) error
- func (c *GetIssue) Color() string
- func (c *GetIssue) Configuration() []configuration.Field
- func (c *GetIssue) Description() string
- func (c *GetIssue) Documentation() string
- func (c *GetIssue) ExampleOutput() map[string]any
- func (c *GetIssue) Execute(ctx core.ExecutionContext) error
- func (c *GetIssue) HandleAction(ctx core.ActionContext) error
- func (c *GetIssue) HandleWebhook(ctx core.WebhookRequestContext) (int, error)
- func (c *GetIssue) Icon() string
- func (c *GetIssue) Label() string
- func (c *GetIssue) Name() string
- func (c *GetIssue) OutputChannels(configuration any) []core.OutputChannel
- func (c *GetIssue) ProcessQueueItem(ctx core.ProcessQueueContext) (*uuid.UUID, error)
- func (c *GetIssue) Setup(ctx core.SetupContext) error
- type GetIssueConfiguration
- type GetRelease
- func (c *GetRelease) Actions() []core.Action
- func (c *GetRelease) Cancel(ctx core.ExecutionContext) error
- func (c *GetRelease) Cleanup(ctx core.SetupContext) error
- func (c *GetRelease) Color() string
- func (c *GetRelease) Configuration() []configuration.Field
- func (c *GetRelease) Description() string
- func (c *GetRelease) Documentation() string
- func (c *GetRelease) ExampleOutput() map[string]any
- func (c *GetRelease) Execute(ctx core.ExecutionContext) error
- func (c *GetRelease) HandleAction(ctx core.ActionContext) error
- func (c *GetRelease) HandleWebhook(ctx core.WebhookRequestContext) (int, error)
- func (c *GetRelease) Icon() string
- func (c *GetRelease) Label() string
- func (c *GetRelease) Name() string
- func (c *GetRelease) OutputChannels(configuration any) []core.OutputChannel
- func (c *GetRelease) ProcessQueueItem(ctx core.ProcessQueueContext) (*uuid.UUID, error)
- func (c *GetRelease) Setup(ctx core.SetupContext) error
- type GetReleaseConfiguration
- type GetWorkflowUsage
- func (g *GetWorkflowUsage) Actions() []core.Action
- func (g *GetWorkflowUsage) Cancel(ctx core.ExecutionContext) error
- func (g *GetWorkflowUsage) Cleanup(ctx core.SetupContext) error
- func (g *GetWorkflowUsage) Color() string
- func (g *GetWorkflowUsage) Configuration() []configuration.Field
- func (g *GetWorkflowUsage) Description() string
- func (g *GetWorkflowUsage) Documentation() string
- func (g *GetWorkflowUsage) ExampleOutput() map[string]any
- func (g *GetWorkflowUsage) Execute(ctx core.ExecutionContext) error
- func (g *GetWorkflowUsage) HandleAction(ctx core.ActionContext) error
- func (g *GetWorkflowUsage) HandleWebhook(ctx core.WebhookRequestContext) (int, error)
- func (g *GetWorkflowUsage) Icon() string
- func (g *GetWorkflowUsage) Label() string
- func (g *GetWorkflowUsage) Name() string
- func (g *GetWorkflowUsage) OutputChannels(configuration any) []core.OutputChannel
- func (g *GetWorkflowUsage) ProcessQueueItem(ctx core.ProcessQueueContext) (*uuid.UUID, error)
- func (g *GetWorkflowUsage) Setup(ctx core.SetupContext) error
- type GetWorkflowUsageConfiguration
- type GetWorkflowUsageMetadata
- type GitHub
- func (g *GitHub) Actions() []core.Action
- func (g *GitHub) Cleanup(ctx core.IntegrationCleanupContext) error
- func (g *GitHub) Components() []core.Component
- func (g *GitHub) Configuration() []configuration.Field
- func (g *GitHub) Description() string
- func (g *GitHub) HandleAction(ctx core.IntegrationActionContext) error
- func (g *GitHub) HandleRequest(ctx core.HTTPRequestContext)
- func (g *GitHub) Icon() string
- func (g *GitHub) Instructions() string
- func (g *GitHub) Label() string
- func (g *GitHub) ListResources(resourceType string, ctx core.ListResourcesContext) ([]core.IntegrationResource, error)
- func (g *GitHub) Name() string
- func (g *GitHub) Sync(ctx core.SyncContext) error
- func (g *GitHub) Triggers() []core.Trigger
- type GitHubAppData
- type GitHubAppMetadata
- type GitHubWebhookHandler
- func (h *GitHubWebhookHandler) Cleanup(ctx core.WebhookHandlerContext) error
- func (h *GitHubWebhookHandler) CompareConfig(a, b any) (bool, error)
- func (h *GitHubWebhookHandler) Merge(current, requested any) (any, bool, error)
- func (h *GitHubWebhookHandler) Setup(ctx core.WebhookHandlerContext) (any, error)
- type Input
- type Metadata
- type NodeMetadata
- type OnBranchCreated
- func (t *OnBranchCreated) Actions() []core.Action
- func (t *OnBranchCreated) Cleanup(ctx core.TriggerContext) error
- func (t *OnBranchCreated) Color() string
- func (t *OnBranchCreated) Configuration() []configuration.Field
- func (t *OnBranchCreated) Description() string
- func (t *OnBranchCreated) Documentation() string
- func (t *OnBranchCreated) ExampleData() map[string]any
- func (t *OnBranchCreated) HandleAction(ctx core.TriggerActionContext) (map[string]any, error)
- func (t *OnBranchCreated) HandleWebhook(ctx core.WebhookRequestContext) (int, error)
- func (t *OnBranchCreated) Icon() string
- func (t *OnBranchCreated) Label() string
- func (t *OnBranchCreated) Name() string
- func (t *OnBranchCreated) Setup(ctx core.TriggerContext) error
- type OnBranchCreatedConfiguration
- type OnIssue
- func (i *OnIssue) Actions() []core.Action
- func (i *OnIssue) Cleanup(ctx core.TriggerContext) error
- func (i *OnIssue) Color() string
- func (i *OnIssue) Configuration() []configuration.Field
- func (i *OnIssue) Description() string
- func (i *OnIssue) Documentation() string
- func (t *OnIssue) ExampleData() map[string]any
- func (i *OnIssue) HandleAction(ctx core.TriggerActionContext) (map[string]any, error)
- func (i *OnIssue) HandleWebhook(ctx core.WebhookRequestContext) (int, error)
- func (i *OnIssue) Icon() string
- func (i *OnIssue) Label() string
- func (i *OnIssue) Name() string
- func (i *OnIssue) Setup(ctx core.TriggerContext) error
- type OnIssueComment
- func (i *OnIssueComment) Actions() []core.Action
- func (i *OnIssueComment) Cleanup(ctx core.TriggerContext) error
- func (i *OnIssueComment) Color() string
- func (i *OnIssueComment) Configuration() []configuration.Field
- func (i *OnIssueComment) Description() string
- func (i *OnIssueComment) Documentation() string
- func (t *OnIssueComment) ExampleData() map[string]any
- func (i *OnIssueComment) HandleAction(ctx core.TriggerActionContext) (map[string]any, error)
- func (i *OnIssueComment) HandleWebhook(ctx core.WebhookRequestContext) (int, error)
- func (i *OnIssueComment) Icon() string
- func (i *OnIssueComment) Label() string
- func (i *OnIssueComment) Name() string
- func (i *OnIssueComment) Setup(ctx core.TriggerContext) error
- type OnIssueCommentConfiguration
- type OnIssueConfiguration
- type OnPRComment
- func (p *OnPRComment) Actions() []core.Action
- 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) HandleAction(ctx core.TriggerActionContext) (map[string]any, error)
- func (p *OnPRComment) HandleWebhook(ctx core.WebhookRequestContext) (int, error)
- func (p *OnPRComment) Icon() string
- func (p *OnPRComment) Label() string
- func (p *OnPRComment) Name() string
- func (p *OnPRComment) Setup(ctx core.TriggerContext) error
- type OnPRCommentConfiguration
- type OnPullRequest
- func (p *OnPullRequest) Actions() []core.Action
- 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) HandleAction(ctx core.TriggerActionContext) (map[string]any, error)
- func (p *OnPullRequest) HandleWebhook(ctx core.WebhookRequestContext) (int, error)
- 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
- type OnPush
- func (p *OnPush) Actions() []core.Action
- func (p *OnPush) Cleanup(ctx core.TriggerContext) error
- func (p *OnPush) Color() string
- func (p *OnPush) Configuration() []configuration.Field
- func (p *OnPush) Description() string
- func (p *OnPush) Documentation() string
- func (t *OnPush) ExampleData() map[string]any
- func (p *OnPush) HandleAction(ctx core.TriggerActionContext) (map[string]any, error)
- func (p *OnPush) HandleWebhook(ctx core.WebhookRequestContext) (int, error)
- func (p *OnPush) Icon() string
- func (p *OnPush) Label() string
- func (p *OnPush) Name() string
- func (p *OnPush) Setup(ctx core.TriggerContext) error
- type OnPushConfiguration
- type OnRelease
- func (r *OnRelease) Actions() []core.Action
- func (r *OnRelease) Cleanup(ctx core.TriggerContext) error
- func (r *OnRelease) Color() string
- func (r *OnRelease) Configuration() []configuration.Field
- func (r *OnRelease) Description() string
- func (r *OnRelease) Documentation() string
- func (t *OnRelease) ExampleData() map[string]any
- func (r *OnRelease) HandleAction(ctx core.TriggerActionContext) (map[string]any, error)
- func (r *OnRelease) HandleWebhook(ctx core.WebhookRequestContext) (int, error)
- func (r *OnRelease) Icon() string
- func (r *OnRelease) Label() string
- func (r *OnRelease) Name() string
- func (r *OnRelease) Setup(ctx core.TriggerContext) error
- type OnReleaseConfiguration
- type OnTagCreated
- func (t *OnTagCreated) Actions() []core.Action
- func (t *OnTagCreated) Cleanup(ctx core.TriggerContext) error
- func (t *OnTagCreated) Color() string
- func (t *OnTagCreated) Configuration() []configuration.Field
- func (t *OnTagCreated) Description() string
- func (t *OnTagCreated) Documentation() string
- func (t *OnTagCreated) ExampleData() map[string]any
- func (t *OnTagCreated) HandleAction(ctx core.TriggerActionContext) (map[string]any, error)
- func (t *OnTagCreated) HandleWebhook(ctx core.WebhookRequestContext) (int, error)
- func (t *OnTagCreated) Icon() string
- func (t *OnTagCreated) Label() string
- func (t *OnTagCreated) Name() string
- func (t *OnTagCreated) Setup(ctx core.TriggerContext) error
- type OnTagCreatedConfiguration
- type OnWorkflowRun
- func (w *OnWorkflowRun) Actions() []core.Action
- func (w *OnWorkflowRun) Cleanup(ctx core.TriggerContext) error
- func (w *OnWorkflowRun) Color() string
- func (w *OnWorkflowRun) Configuration() []configuration.Field
- func (w *OnWorkflowRun) Description() string
- func (w *OnWorkflowRun) Documentation() string
- func (t *OnWorkflowRun) ExampleData() map[string]any
- func (w *OnWorkflowRun) HandleAction(ctx core.TriggerActionContext) (map[string]any, error)
- func (w *OnWorkflowRun) HandleWebhook(ctx core.WebhookRequestContext) (int, error)
- func (w *OnWorkflowRun) Icon() string
- func (w *OnWorkflowRun) Label() string
- func (w *OnWorkflowRun) Name() string
- func (w *OnWorkflowRun) Setup(ctx core.TriggerContext) error
- type OnWorkflowRunConfiguration
- type PublishCommitStatus
- func (c *PublishCommitStatus) Actions() []core.Action
- func (c *PublishCommitStatus) Cancel(ctx core.ExecutionContext) error
- func (c *PublishCommitStatus) Cleanup(ctx core.SetupContext) error
- func (c *PublishCommitStatus) Color() string
- func (c *PublishCommitStatus) Configuration() []configuration.Field
- func (c *PublishCommitStatus) Description() string
- func (c *PublishCommitStatus) Documentation() string
- func (c *PublishCommitStatus) ExampleOutput() map[string]any
- func (c *PublishCommitStatus) Execute(ctx core.ExecutionContext) error
- func (c *PublishCommitStatus) HandleAction(ctx core.ActionContext) error
- func (c *PublishCommitStatus) HandleWebhook(ctx core.WebhookRequestContext) (int, error)
- func (c *PublishCommitStatus) Icon() string
- func (c *PublishCommitStatus) Label() string
- func (c *PublishCommitStatus) Name() string
- func (c *PublishCommitStatus) OutputChannels(configuration any) []core.OutputChannel
- func (c *PublishCommitStatus) ProcessQueueItem(ctx core.ProcessQueueContext) (*uuid.UUID, error)
- func (c *PublishCommitStatus) Setup(ctx core.SetupContext) error
- type PublishCommitStatusConfiguration
- type RemoveIssueAssignee
- func (c *RemoveIssueAssignee) Actions() []core.Action
- func (c *RemoveIssueAssignee) Cancel(ctx core.ExecutionContext) error
- func (c *RemoveIssueAssignee) Cleanup(ctx core.SetupContext) error
- func (c *RemoveIssueAssignee) Color() string
- func (c *RemoveIssueAssignee) Configuration() []configuration.Field
- func (c *RemoveIssueAssignee) Description() string
- func (c *RemoveIssueAssignee) Documentation() string
- func (c *RemoveIssueAssignee) ExampleOutput() map[string]any
- func (c *RemoveIssueAssignee) Execute(ctx core.ExecutionContext) error
- func (c *RemoveIssueAssignee) HandleAction(ctx core.ActionContext) error
- func (c *RemoveIssueAssignee) HandleWebhook(ctx core.WebhookRequestContext) (int, error)
- func (c *RemoveIssueAssignee) Icon() string
- func (c *RemoveIssueAssignee) Label() string
- func (c *RemoveIssueAssignee) Name() string
- func (c *RemoveIssueAssignee) OutputChannels(configuration any) []core.OutputChannel
- func (c *RemoveIssueAssignee) ProcessQueueItem(ctx core.ProcessQueueContext) (*uuid.UUID, error)
- func (c *RemoveIssueAssignee) Setup(ctx core.SetupContext) error
- type RemoveIssueAssigneeConfiguration
- type RemoveIssueLabel
- func (c *RemoveIssueLabel) Actions() []core.Action
- func (c *RemoveIssueLabel) Cancel(ctx core.ExecutionContext) error
- func (c *RemoveIssueLabel) Cleanup(ctx core.SetupContext) error
- func (c *RemoveIssueLabel) Color() string
- func (c *RemoveIssueLabel) Configuration() []configuration.Field
- func (c *RemoveIssueLabel) Description() string
- func (c *RemoveIssueLabel) Documentation() string
- func (c *RemoveIssueLabel) ExampleOutput() map[string]any
- func (c *RemoveIssueLabel) Execute(ctx core.ExecutionContext) error
- func (c *RemoveIssueLabel) HandleAction(ctx core.ActionContext) error
- func (c *RemoveIssueLabel) HandleWebhook(ctx core.WebhookRequestContext) (int, error)
- func (c *RemoveIssueLabel) Icon() string
- func (c *RemoveIssueLabel) Label() string
- func (c *RemoveIssueLabel) Name() string
- func (c *RemoveIssueLabel) OutputChannels(configuration any) []core.OutputChannel
- func (c *RemoveIssueLabel) ProcessQueueItem(ctx core.ProcessQueueContext) (*uuid.UUID, error)
- func (c *RemoveIssueLabel) Setup(ctx core.SetupContext) error
- type RemoveIssueLabelConfiguration
- type Repository
- type RepositoryMetadata
- type RunWorkflow
- func (r *RunWorkflow) Actions() []core.Action
- func (r *RunWorkflow) Cancel(ctx core.ExecutionContext) error
- func (r *RunWorkflow) Cleanup(ctx core.SetupContext) error
- func (r *RunWorkflow) Color() string
- func (r *RunWorkflow) Configuration() []configuration.Field
- func (r *RunWorkflow) Description() string
- func (r *RunWorkflow) Documentation() string
- func (c *RunWorkflow) ExampleOutput() map[string]any
- func (r *RunWorkflow) Execute(ctx core.ExecutionContext) error
- func (r *RunWorkflow) HandleAction(ctx core.ActionContext) error
- func (r *RunWorkflow) HandleWebhook(ctx core.WebhookRequestContext) (int, error)
- func (r *RunWorkflow) Icon() string
- func (r *RunWorkflow) Label() string
- func (r *RunWorkflow) Name() string
- func (r *RunWorkflow) OutputChannels(configuration any) []core.OutputChannel
- func (r *RunWorkflow) ProcessQueueItem(ctx core.ProcessQueueContext) (*uuid.UUID, error)
- func (r *RunWorkflow) Setup(ctx core.SetupContext) error
- type RunWorkflowExecutionMetadata
- type RunWorkflowSpec
- type UpdateIssue
- func (c *UpdateIssue) Actions() []core.Action
- func (c *UpdateIssue) Cancel(ctx core.ExecutionContext) error
- func (c *UpdateIssue) Cleanup(ctx core.SetupContext) error
- func (c *UpdateIssue) Color() string
- func (c *UpdateIssue) Configuration() []configuration.Field
- func (c *UpdateIssue) Description() string
- func (c *UpdateIssue) Documentation() string
- func (c *UpdateIssue) ExampleOutput() map[string]any
- func (c *UpdateIssue) Execute(ctx core.ExecutionContext) error
- func (c *UpdateIssue) HandleAction(ctx core.ActionContext) error
- func (c *UpdateIssue) HandleWebhook(ctx core.WebhookRequestContext) (int, error)
- func (c *UpdateIssue) Icon() string
- func (c *UpdateIssue) Label() string
- func (c *UpdateIssue) Name() string
- func (c *UpdateIssue) OutputChannels(configuration any) []core.OutputChannel
- func (c *UpdateIssue) ProcessQueueItem(ctx core.ProcessQueueContext) (*uuid.UUID, error)
- func (c *UpdateIssue) Setup(ctx core.SetupContext) error
- type UpdateIssueConfiguration
- type UpdateRelease
- func (c *UpdateRelease) Actions() []core.Action
- func (c *UpdateRelease) Cancel(ctx core.ExecutionContext) error
- func (c *UpdateRelease) Cleanup(ctx core.SetupContext) error
- func (c *UpdateRelease) Color() string
- func (c *UpdateRelease) Configuration() []configuration.Field
- func (c *UpdateRelease) Description() string
- func (c *UpdateRelease) Documentation() string
- func (c *UpdateRelease) ExampleOutput() map[string]any
- func (c *UpdateRelease) Execute(ctx core.ExecutionContext) error
- func (c *UpdateRelease) HandleAction(ctx core.ActionContext) error
- func (c *UpdateRelease) HandleWebhook(ctx core.WebhookRequestContext) (int, error)
- func (c *UpdateRelease) Icon() string
- func (c *UpdateRelease) Label() string
- func (c *UpdateRelease) Name() string
- func (c *UpdateRelease) OutputChannels(configuration any) []core.OutputChannel
- func (c *UpdateRelease) ProcessQueueItem(ctx core.ProcessQueueContext) (*uuid.UUID, error)
- func (c *UpdateRelease) Setup(ctx core.SetupContext) error
- type UpdateReleaseConfiguration
- type Webhook
- type WebhookConfiguration
- type WorkflowRunMetadata
- type WorkflowUsageResult
Constants ¶
View Source
const ( GitHubAppPEM = "pem" GitHubAppClientSecret = "clientSecret" GitHubAppWebhookSecret = "webhookSecret" )
View Source
const ( WorkflowPayloadType = "github.workflow.finished" WorkflowPassedOutputChannel = "passed" WorkflowFailedOutputChannel = "failed" WorkflowRunStatusCompleted = "completed" WorkflowRunConclusionSuccess = "success" WorkflowPollInterval = 5 * time.Minute )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type AddIssueAssignee ¶ added in v0.9.0
type AddIssueAssignee struct{}
func (*AddIssueAssignee) Actions ¶ added in v0.9.0
func (c *AddIssueAssignee) Actions() []core.Action
func (*AddIssueAssignee) Cancel ¶ added in v0.9.0
func (c *AddIssueAssignee) Cancel(ctx core.ExecutionContext) error
func (*AddIssueAssignee) Cleanup ¶ added in v0.9.0
func (c *AddIssueAssignee) Cleanup(ctx core.SetupContext) error
func (*AddIssueAssignee) Color ¶ added in v0.9.0
func (c *AddIssueAssignee) Color() string
func (*AddIssueAssignee) Configuration ¶ added in v0.9.0
func (c *AddIssueAssignee) Configuration() []configuration.Field
func (*AddIssueAssignee) Description ¶ added in v0.9.0
func (c *AddIssueAssignee) Description() string
func (*AddIssueAssignee) Documentation ¶ added in v0.9.0
func (c *AddIssueAssignee) Documentation() string
func (*AddIssueAssignee) ExampleOutput ¶ added in v0.9.0
func (c *AddIssueAssignee) ExampleOutput() map[string]any
func (*AddIssueAssignee) Execute ¶ added in v0.9.0
func (c *AddIssueAssignee) Execute(ctx core.ExecutionContext) error
func (*AddIssueAssignee) HandleAction ¶ added in v0.9.0
func (c *AddIssueAssignee) HandleAction(ctx core.ActionContext) error
func (*AddIssueAssignee) HandleWebhook ¶ added in v0.9.0
func (c *AddIssueAssignee) HandleWebhook(ctx core.WebhookRequestContext) (int, error)
func (*AddIssueAssignee) Icon ¶ added in v0.9.0
func (c *AddIssueAssignee) Icon() string
func (*AddIssueAssignee) Label ¶ added in v0.9.0
func (c *AddIssueAssignee) Label() string
func (*AddIssueAssignee) Name ¶ added in v0.9.0
func (c *AddIssueAssignee) Name() string
func (*AddIssueAssignee) OutputChannels ¶ added in v0.9.0
func (c *AddIssueAssignee) OutputChannels(configuration any) []core.OutputChannel
func (*AddIssueAssignee) ProcessQueueItem ¶ added in v0.9.0
func (c *AddIssueAssignee) ProcessQueueItem(ctx core.ProcessQueueContext) (*uuid.UUID, error)
func (*AddIssueAssignee) Setup ¶ added in v0.9.0
func (c *AddIssueAssignee) Setup(ctx core.SetupContext) error
type AddIssueAssigneeConfiguration ¶ added in v0.9.0
type AddIssueLabel ¶ added in v0.9.0
type AddIssueLabel struct{}
func (*AddIssueLabel) Actions ¶ added in v0.9.0
func (c *AddIssueLabel) Actions() []core.Action
func (*AddIssueLabel) Cancel ¶ added in v0.9.0
func (c *AddIssueLabel) Cancel(ctx core.ExecutionContext) error
func (*AddIssueLabel) Cleanup ¶ added in v0.9.0
func (c *AddIssueLabel) Cleanup(ctx core.SetupContext) error
func (*AddIssueLabel) Color ¶ added in v0.9.0
func (c *AddIssueLabel) Color() string
func (*AddIssueLabel) Configuration ¶ added in v0.9.0
func (c *AddIssueLabel) Configuration() []configuration.Field
func (*AddIssueLabel) Description ¶ added in v0.9.0
func (c *AddIssueLabel) Description() string
func (*AddIssueLabel) Documentation ¶ added in v0.9.0
func (c *AddIssueLabel) Documentation() string
func (*AddIssueLabel) ExampleOutput ¶ added in v0.9.0
func (c *AddIssueLabel) ExampleOutput() map[string]any
func (*AddIssueLabel) Execute ¶ added in v0.9.0
func (c *AddIssueLabel) Execute(ctx core.ExecutionContext) error
func (*AddIssueLabel) HandleAction ¶ added in v0.9.0
func (c *AddIssueLabel) HandleAction(ctx core.ActionContext) error
func (*AddIssueLabel) HandleWebhook ¶ added in v0.9.0
func (c *AddIssueLabel) HandleWebhook(ctx core.WebhookRequestContext) (int, error)
func (*AddIssueLabel) Icon ¶ added in v0.9.0
func (c *AddIssueLabel) Icon() string
func (*AddIssueLabel) Label ¶ added in v0.9.0
func (c *AddIssueLabel) Label() string
func (*AddIssueLabel) Name ¶ added in v0.9.0
func (c *AddIssueLabel) Name() string
func (*AddIssueLabel) OutputChannels ¶ added in v0.9.0
func (c *AddIssueLabel) OutputChannels(configuration any) []core.OutputChannel
func (*AddIssueLabel) ProcessQueueItem ¶ added in v0.9.0
func (c *AddIssueLabel) ProcessQueueItem(ctx core.ProcessQueueContext) (*uuid.UUID, error)
func (*AddIssueLabel) Setup ¶ added in v0.9.0
func (c *AddIssueLabel) Setup(ctx core.SetupContext) error
type AddIssueLabelConfiguration ¶ added in v0.9.0
type Configuration ¶ added in v0.5.0
type Configuration struct {
Organization string `json:"organization"`
}
type CreateIssue ¶ added in v0.5.0
type CreateIssue struct{}
func (*CreateIssue) Actions ¶ added in v0.5.0
func (c *CreateIssue) Actions() []core.Action
func (*CreateIssue) Cancel ¶ added in v0.5.0
func (c *CreateIssue) Cancel(ctx core.ExecutionContext) error
func (*CreateIssue) Cleanup ¶ added in v0.7.0
func (c *CreateIssue) Cleanup(ctx core.SetupContext) error
func (*CreateIssue) Color ¶ added in v0.5.0
func (c *CreateIssue) Color() string
func (*CreateIssue) Configuration ¶ added in v0.5.0
func (c *CreateIssue) Configuration() []configuration.Field
func (*CreateIssue) Description ¶ added in v0.5.0
func (c *CreateIssue) Description() string
func (*CreateIssue) Documentation ¶ added in v0.5.0
func (c *CreateIssue) Documentation() string
func (*CreateIssue) ExampleOutput ¶ added in v0.5.0
func (c *CreateIssue) ExampleOutput() map[string]any
func (*CreateIssue) Execute ¶ added in v0.5.0
func (c *CreateIssue) Execute(ctx core.ExecutionContext) error
func (*CreateIssue) HandleAction ¶ added in v0.5.0
func (c *CreateIssue) HandleAction(ctx core.ActionContext) error
func (*CreateIssue) HandleWebhook ¶ added in v0.5.0
func (c *CreateIssue) HandleWebhook(ctx core.WebhookRequestContext) (int, error)
func (*CreateIssue) Icon ¶ added in v0.5.0
func (c *CreateIssue) Icon() string
func (*CreateIssue) Label ¶ added in v0.5.0
func (c *CreateIssue) Label() string
func (*CreateIssue) Name ¶ added in v0.5.0
func (c *CreateIssue) Name() string
func (*CreateIssue) OutputChannels ¶ added in v0.5.0
func (c *CreateIssue) OutputChannels(configuration any) []core.OutputChannel
func (*CreateIssue) ProcessQueueItem ¶ added in v0.5.0
func (c *CreateIssue) ProcessQueueItem(ctx core.ProcessQueueContext) (*uuid.UUID, error)
func (*CreateIssue) Setup ¶ added in v0.5.0
func (c *CreateIssue) Setup(ctx core.SetupContext) error
type CreateIssueComment ¶ added in v0.8.0
type CreateIssueComment struct{}
func (*CreateIssueComment) Actions ¶ added in v0.8.0
func (c *CreateIssueComment) Actions() []core.Action
func (*CreateIssueComment) Cancel ¶ added in v0.8.0
func (c *CreateIssueComment) Cancel(ctx core.ExecutionContext) error
func (*CreateIssueComment) Cleanup ¶ added in v0.8.0
func (c *CreateIssueComment) Cleanup(ctx core.SetupContext) error
func (*CreateIssueComment) Color ¶ added in v0.8.0
func (c *CreateIssueComment) Color() string
func (*CreateIssueComment) Configuration ¶ added in v0.8.0
func (c *CreateIssueComment) Configuration() []configuration.Field
func (*CreateIssueComment) Description ¶ added in v0.8.0
func (c *CreateIssueComment) Description() string
func (*CreateIssueComment) Documentation ¶ added in v0.8.0
func (c *CreateIssueComment) Documentation() string
func (*CreateIssueComment) ExampleOutput ¶ added in v0.8.0
func (c *CreateIssueComment) ExampleOutput() map[string]any
func (*CreateIssueComment) Execute ¶ added in v0.8.0
func (c *CreateIssueComment) Execute(ctx core.ExecutionContext) error
func (*CreateIssueComment) HandleAction ¶ added in v0.8.0
func (c *CreateIssueComment) HandleAction(ctx core.ActionContext) error
func (*CreateIssueComment) HandleWebhook ¶ added in v0.8.0
func (c *CreateIssueComment) HandleWebhook(ctx core.WebhookRequestContext) (int, error)
func (*CreateIssueComment) Icon ¶ added in v0.8.0
func (c *CreateIssueComment) Icon() string
func (*CreateIssueComment) Label ¶ added in v0.8.0
func (c *CreateIssueComment) Label() string
func (*CreateIssueComment) Name ¶ added in v0.8.0
func (c *CreateIssueComment) Name() string
func (*CreateIssueComment) OutputChannels ¶ added in v0.8.0
func (c *CreateIssueComment) OutputChannels(configuration any) []core.OutputChannel
func (*CreateIssueComment) ProcessQueueItem ¶ added in v0.8.0
func (c *CreateIssueComment) ProcessQueueItem(ctx core.ProcessQueueContext) (*uuid.UUID, error)
func (*CreateIssueComment) Setup ¶ added in v0.8.0
func (c *CreateIssueComment) Setup(ctx core.SetupContext) error
type CreateIssueCommentConfiguration ¶ added in v0.8.0
type CreateIssueConfiguration ¶ added in v0.5.0
type CreateRelease ¶ added in v0.5.0
type CreateRelease struct{}
func (*CreateRelease) Actions ¶ added in v0.5.0
func (c *CreateRelease) Actions() []core.Action
func (*CreateRelease) Cancel ¶ added in v0.5.0
func (c *CreateRelease) Cancel(ctx core.ExecutionContext) error
func (*CreateRelease) Cleanup ¶ added in v0.7.0
func (c *CreateRelease) Cleanup(ctx core.SetupContext) error
func (*CreateRelease) Color ¶ added in v0.5.0
func (c *CreateRelease) Color() string
func (*CreateRelease) Configuration ¶ added in v0.5.0
func (c *CreateRelease) Configuration() []configuration.Field
func (*CreateRelease) Description ¶ added in v0.5.0
func (c *CreateRelease) Description() string
func (*CreateRelease) Documentation ¶ added in v0.5.0
func (c *CreateRelease) Documentation() string
func (*CreateRelease) ExampleOutput ¶ added in v0.5.0
func (c *CreateRelease) ExampleOutput() map[string]any
func (*CreateRelease) Execute ¶ added in v0.5.0
func (c *CreateRelease) Execute(ctx core.ExecutionContext) error
func (*CreateRelease) HandleAction ¶ added in v0.5.0
func (c *CreateRelease) HandleAction(ctx core.ActionContext) error
func (*CreateRelease) HandleWebhook ¶ added in v0.5.0
func (c *CreateRelease) HandleWebhook(ctx core.WebhookRequestContext) (int, error)
func (*CreateRelease) Icon ¶ added in v0.5.0
func (c *CreateRelease) Icon() string
func (*CreateRelease) Label ¶ added in v0.5.0
func (c *CreateRelease) Label() string
func (*CreateRelease) Name ¶ added in v0.5.0
func (c *CreateRelease) Name() string
func (*CreateRelease) OutputChannels ¶ added in v0.5.0
func (c *CreateRelease) OutputChannels(configuration any) []core.OutputChannel
func (*CreateRelease) ProcessQueueItem ¶ added in v0.5.0
func (c *CreateRelease) ProcessQueueItem(ctx core.ProcessQueueContext) (*uuid.UUID, error)
func (*CreateRelease) Setup ¶ added in v0.5.0
func (c *CreateRelease) Setup(ctx core.SetupContext) error
type CreateReleaseConfiguration ¶ added in v0.5.0
type CreateReleaseConfiguration struct {
Repository string `mapstructure:"repository"`
VersionStrategy string `mapstructure:"versionStrategy"`
TagName string `mapstructure:"tagName"`
Name string `mapstructure:"name"`
Draft bool `mapstructure:"draft"`
Prerelease bool `mapstructure:"prerelease"`
GenerateReleaseNotes bool `mapstructure:"generateReleaseNotes"`
Body string `mapstructure:"body"`
}
type CreateReview ¶ added in v0.8.0
type CreateReview struct{}
func (*CreateReview) Actions ¶ added in v0.8.0
func (c *CreateReview) Actions() []core.Action
func (*CreateReview) Cancel ¶ added in v0.8.0
func (c *CreateReview) Cancel(ctx core.ExecutionContext) error
func (*CreateReview) Cleanup ¶ added in v0.8.0
func (c *CreateReview) Cleanup(ctx core.SetupContext) error
func (*CreateReview) Color ¶ added in v0.8.0
func (c *CreateReview) Color() string
func (*CreateReview) Configuration ¶ added in v0.8.0
func (c *CreateReview) Configuration() []configuration.Field
func (*CreateReview) Description ¶ added in v0.8.0
func (c *CreateReview) Description() string
func (*CreateReview) Documentation ¶ added in v0.8.0
func (c *CreateReview) Documentation() string
func (*CreateReview) ExampleOutput ¶ added in v0.8.0
func (c *CreateReview) ExampleOutput() map[string]any
func (*CreateReview) Execute ¶ added in v0.8.0
func (c *CreateReview) Execute(ctx core.ExecutionContext) error
func (*CreateReview) HandleAction ¶ added in v0.8.0
func (c *CreateReview) HandleAction(ctx core.ActionContext) error
func (*CreateReview) HandleWebhook ¶ added in v0.8.0
func (c *CreateReview) HandleWebhook(ctx core.WebhookRequestContext) (int, error)
func (*CreateReview) Icon ¶ added in v0.8.0
func (c *CreateReview) Icon() string
func (*CreateReview) Label ¶ added in v0.8.0
func (c *CreateReview) Label() string
func (*CreateReview) Name ¶ added in v0.8.0
func (c *CreateReview) Name() string
func (*CreateReview) OutputChannels ¶ added in v0.8.0
func (c *CreateReview) OutputChannels(configuration any) []core.OutputChannel
func (*CreateReview) ProcessQueueItem ¶ added in v0.8.0
func (c *CreateReview) ProcessQueueItem(ctx core.ProcessQueueContext) (*uuid.UUID, error)
func (*CreateReview) Setup ¶ added in v0.8.0
func (c *CreateReview) Setup(ctx core.SetupContext) error
type CreateReviewConfiguration ¶ added in v0.8.0
type DeleteRelease ¶ added in v0.5.0
type DeleteRelease struct{}
func (*DeleteRelease) Actions ¶ added in v0.5.0
func (c *DeleteRelease) Actions() []core.Action
func (*DeleteRelease) Cancel ¶ added in v0.5.0
func (c *DeleteRelease) Cancel(ctx core.ExecutionContext) error
func (*DeleteRelease) Cleanup ¶ added in v0.7.0
func (c *DeleteRelease) Cleanup(ctx core.SetupContext) error
func (*DeleteRelease) Color ¶ added in v0.5.0
func (c *DeleteRelease) Color() string
func (*DeleteRelease) Configuration ¶ added in v0.5.0
func (c *DeleteRelease) Configuration() []configuration.Field
func (*DeleteRelease) Description ¶ added in v0.5.0
func (c *DeleteRelease) Description() string
func (*DeleteRelease) Documentation ¶ added in v0.5.0
func (c *DeleteRelease) Documentation() string
func (*DeleteRelease) ExampleOutput ¶ added in v0.5.0
func (c *DeleteRelease) ExampleOutput() map[string]any
func (*DeleteRelease) Execute ¶ added in v0.5.0
func (c *DeleteRelease) Execute(ctx core.ExecutionContext) error
func (*DeleteRelease) HandleAction ¶ added in v0.5.0
func (c *DeleteRelease) HandleAction(ctx core.ActionContext) error
func (*DeleteRelease) HandleWebhook ¶ added in v0.5.0
func (c *DeleteRelease) HandleWebhook(ctx core.WebhookRequestContext) (int, error)
func (*DeleteRelease) Icon ¶ added in v0.5.0
func (c *DeleteRelease) Icon() string
func (*DeleteRelease) Label ¶ added in v0.5.0
func (c *DeleteRelease) Label() string
func (*DeleteRelease) Name ¶ added in v0.5.0
func (c *DeleteRelease) Name() string
func (*DeleteRelease) OutputChannels ¶ added in v0.5.0
func (c *DeleteRelease) OutputChannels(configuration any) []core.OutputChannel
func (*DeleteRelease) ProcessQueueItem ¶ added in v0.5.0
func (c *DeleteRelease) ProcessQueueItem(ctx core.ProcessQueueContext) (*uuid.UUID, error)
func (*DeleteRelease) Setup ¶ added in v0.5.0
func (c *DeleteRelease) Setup(ctx core.SetupContext) error
type DeleteReleaseConfiguration ¶ added in v0.5.0
type GetIssue ¶ added in v0.5.0
type GetIssue struct{}
func (*GetIssue) Cancel ¶ added in v0.5.0
func (c *GetIssue) Cancel(ctx core.ExecutionContext) error
func (*GetIssue) Configuration ¶ added in v0.5.0
func (c *GetIssue) Configuration() []configuration.Field
func (*GetIssue) Description ¶ added in v0.5.0
func (*GetIssue) Documentation ¶ added in v0.5.0
func (*GetIssue) ExampleOutput ¶ added in v0.5.0
func (*GetIssue) Execute ¶ added in v0.5.0
func (c *GetIssue) Execute(ctx core.ExecutionContext) error
func (*GetIssue) HandleAction ¶ added in v0.5.0
func (c *GetIssue) HandleAction(ctx core.ActionContext) error
func (*GetIssue) HandleWebhook ¶ added in v0.5.0
func (c *GetIssue) HandleWebhook(ctx core.WebhookRequestContext) (int, error)
func (*GetIssue) OutputChannels ¶ added in v0.5.0
func (c *GetIssue) OutputChannels(configuration any) []core.OutputChannel
func (*GetIssue) ProcessQueueItem ¶ added in v0.5.0
type GetIssueConfiguration ¶ added in v0.5.0
type GetRelease ¶ added in v0.7.0
type GetRelease struct{}
func (*GetRelease) Actions ¶ added in v0.7.0
func (c *GetRelease) Actions() []core.Action
func (*GetRelease) Cancel ¶ added in v0.7.0
func (c *GetRelease) Cancel(ctx core.ExecutionContext) error
func (*GetRelease) Cleanup ¶ added in v0.7.0
func (c *GetRelease) Cleanup(ctx core.SetupContext) error
func (*GetRelease) Color ¶ added in v0.7.0
func (c *GetRelease) Color() string
func (*GetRelease) Configuration ¶ added in v0.7.0
func (c *GetRelease) Configuration() []configuration.Field
func (*GetRelease) Description ¶ added in v0.7.0
func (c *GetRelease) Description() string
func (*GetRelease) Documentation ¶ added in v0.7.0
func (c *GetRelease) Documentation() string
func (*GetRelease) ExampleOutput ¶ added in v0.7.0
func (c *GetRelease) ExampleOutput() map[string]any
func (*GetRelease) Execute ¶ added in v0.7.0
func (c *GetRelease) Execute(ctx core.ExecutionContext) error
func (*GetRelease) HandleAction ¶ added in v0.7.0
func (c *GetRelease) HandleAction(ctx core.ActionContext) error
func (*GetRelease) HandleWebhook ¶ added in v0.7.0
func (c *GetRelease) HandleWebhook(ctx core.WebhookRequestContext) (int, error)
func (*GetRelease) Icon ¶ added in v0.7.0
func (c *GetRelease) Icon() string
func (*GetRelease) Label ¶ added in v0.7.0
func (c *GetRelease) Label() string
func (*GetRelease) Name ¶ added in v0.7.0
func (c *GetRelease) Name() string
func (*GetRelease) OutputChannels ¶ added in v0.7.0
func (c *GetRelease) OutputChannels(configuration any) []core.OutputChannel
func (*GetRelease) ProcessQueueItem ¶ added in v0.7.0
func (c *GetRelease) ProcessQueueItem(ctx core.ProcessQueueContext) (*uuid.UUID, error)
func (*GetRelease) Setup ¶ added in v0.7.0
func (c *GetRelease) Setup(ctx core.SetupContext) error
type GetReleaseConfiguration ¶ added in v0.7.0
type GetWorkflowUsage ¶ added in v0.9.0
type GetWorkflowUsage struct{}
func (*GetWorkflowUsage) Actions ¶ added in v0.9.0
func (g *GetWorkflowUsage) Actions() []core.Action
func (*GetWorkflowUsage) Cancel ¶ added in v0.9.0
func (g *GetWorkflowUsage) Cancel(ctx core.ExecutionContext) error
func (*GetWorkflowUsage) Cleanup ¶ added in v0.9.0
func (g *GetWorkflowUsage) Cleanup(ctx core.SetupContext) error
func (*GetWorkflowUsage) Color ¶ added in v0.9.0
func (g *GetWorkflowUsage) Color() string
func (*GetWorkflowUsage) Configuration ¶ added in v0.9.0
func (g *GetWorkflowUsage) Configuration() []configuration.Field
func (*GetWorkflowUsage) Description ¶ added in v0.9.0
func (g *GetWorkflowUsage) Description() string
func (*GetWorkflowUsage) Documentation ¶ added in v0.9.0
func (g *GetWorkflowUsage) Documentation() string
func (*GetWorkflowUsage) ExampleOutput ¶ added in v0.9.0
func (g *GetWorkflowUsage) ExampleOutput() map[string]any
func (*GetWorkflowUsage) Execute ¶ added in v0.9.0
func (g *GetWorkflowUsage) Execute(ctx core.ExecutionContext) error
func (*GetWorkflowUsage) HandleAction ¶ added in v0.9.0
func (g *GetWorkflowUsage) HandleAction(ctx core.ActionContext) error
func (*GetWorkflowUsage) HandleWebhook ¶ added in v0.9.0
func (g *GetWorkflowUsage) HandleWebhook(ctx core.WebhookRequestContext) (int, error)
func (*GetWorkflowUsage) Icon ¶ added in v0.9.0
func (g *GetWorkflowUsage) Icon() string
func (*GetWorkflowUsage) Label ¶ added in v0.9.0
func (g *GetWorkflowUsage) Label() string
func (*GetWorkflowUsage) Name ¶ added in v0.9.0
func (g *GetWorkflowUsage) Name() string
func (*GetWorkflowUsage) OutputChannels ¶ added in v0.9.0
func (g *GetWorkflowUsage) OutputChannels(configuration any) []core.OutputChannel
func (*GetWorkflowUsage) ProcessQueueItem ¶ added in v0.9.0
func (g *GetWorkflowUsage) ProcessQueueItem(ctx core.ProcessQueueContext) (*uuid.UUID, error)
func (*GetWorkflowUsage) Setup ¶ added in v0.9.0
func (g *GetWorkflowUsage) Setup(ctx core.SetupContext) error
type GetWorkflowUsageConfiguration ¶ added in v0.9.0
type GetWorkflowUsageConfiguration struct {
Repositories []string `mapstructure:"repositories"`
}
type GetWorkflowUsageMetadata ¶ added in v0.9.0
type GetWorkflowUsageMetadata struct {
Repositories []RepositoryMetadata `json:"repositories" mapstructure:"repositories"`
}
type GitHub ¶ added in v0.5.0
type GitHub struct {
}
func (*GitHub) Cleanup ¶ added in v0.6.0
func (g *GitHub) Cleanup(ctx core.IntegrationCleanupContext) error
func (*GitHub) Components ¶ added in v0.5.0
func (*GitHub) Configuration ¶ added in v0.5.0
func (g *GitHub) Configuration() []configuration.Field
func (*GitHub) Description ¶ added in v0.5.0
func (*GitHub) HandleAction ¶ added in v0.6.0
func (g *GitHub) HandleAction(ctx core.IntegrationActionContext) error
func (*GitHub) HandleRequest ¶ added in v0.5.0
func (g *GitHub) HandleRequest(ctx core.HTTPRequestContext)
func (*GitHub) Instructions ¶ added in v0.5.0
func (*GitHub) ListResources ¶ added in v0.5.0
func (g *GitHub) ListResources(resourceType string, ctx core.ListResourcesContext) ([]core.IntegrationResource, error)
type GitHubAppData ¶ added in v0.5.0
type GitHubAppData struct {
ID int64 `mapstructure:"id" json:"id"`
Slug string `mapstructure:"slug" json:"slug"`
ClientID string `mapstructure:"client_id" json:"client_id"`
ClientSecret string `mapstructure:"client_secret" json:"client_secret"`
WebhookSecret string `mapstructure:"webhook_secret" json:"webhook_secret"`
PEM string `mapstructure:"pem" json:"pem"`
}
* This is the response GitHub sends back after the GitHub app is created. * NOTE: this contains sensitive data, so we should not save this as part * of the installation metadata.
type GitHubAppMetadata ¶ added in v0.5.0
type GitHubWebhookHandler ¶ added in v0.7.0
type GitHubWebhookHandler struct{}
func (*GitHubWebhookHandler) Cleanup ¶ added in v0.7.0
func (h *GitHubWebhookHandler) Cleanup(ctx core.WebhookHandlerContext) error
func (*GitHubWebhookHandler) CompareConfig ¶ added in v0.7.0
func (h *GitHubWebhookHandler) CompareConfig(a, b any) (bool, error)
func (*GitHubWebhookHandler) Merge ¶ added in v0.8.0
func (h *GitHubWebhookHandler) Merge(current, requested any) (any, bool, error)
func (*GitHubWebhookHandler) Setup ¶ added in v0.7.0
func (h *GitHubWebhookHandler) Setup(ctx core.WebhookHandlerContext) (any, error)
type Metadata ¶ added in v0.5.0
type Metadata struct {
InstallationID string `mapstructure:"installationId" json:"installationId"`
State string `mapstructure:"state" json:"state"`
Owner string `mapstructure:"owner" json:"owner"`
Repositories []Repository `mapstructure:"repositories" json:"repositories"`
GitHubApp GitHubAppMetadata `mapstructure:"githubApp" json:"githubApp"`
}
type NodeMetadata ¶ added in v0.5.0
type NodeMetadata struct {
Repository *Repository `json:"repository"`
}
type OnBranchCreated ¶ added in v0.5.0
type OnBranchCreated struct{}
func (*OnBranchCreated) Actions ¶ added in v0.5.0
func (t *OnBranchCreated) Actions() []core.Action
func (*OnBranchCreated) Cleanup ¶ added in v0.7.0
func (t *OnBranchCreated) Cleanup(ctx core.TriggerContext) error
func (*OnBranchCreated) Color ¶ added in v0.5.0
func (t *OnBranchCreated) Color() string
func (*OnBranchCreated) Configuration ¶ added in v0.5.0
func (t *OnBranchCreated) Configuration() []configuration.Field
func (*OnBranchCreated) Description ¶ added in v0.5.0
func (t *OnBranchCreated) Description() string
func (*OnBranchCreated) Documentation ¶ added in v0.5.0
func (t *OnBranchCreated) Documentation() string
func (*OnBranchCreated) ExampleData ¶ added in v0.5.0
func (t *OnBranchCreated) ExampleData() map[string]any
func (*OnBranchCreated) HandleAction ¶ added in v0.5.0
func (t *OnBranchCreated) HandleAction(ctx core.TriggerActionContext) (map[string]any, error)
func (*OnBranchCreated) HandleWebhook ¶ added in v0.5.0
func (t *OnBranchCreated) HandleWebhook(ctx core.WebhookRequestContext) (int, error)
func (*OnBranchCreated) Icon ¶ added in v0.5.0
func (t *OnBranchCreated) Icon() string
func (*OnBranchCreated) Label ¶ added in v0.5.0
func (t *OnBranchCreated) Label() string
func (*OnBranchCreated) Name ¶ added in v0.5.0
func (t *OnBranchCreated) Name() string
func (*OnBranchCreated) Setup ¶ added in v0.5.0
func (t *OnBranchCreated) Setup(ctx core.TriggerContext) error
type OnBranchCreatedConfiguration ¶ added in v0.5.0
type OnBranchCreatedConfiguration struct {
Repository string `json:"repository"`
Branches []configuration.Predicate `json:"branches"`
}
type OnIssue ¶ added in v0.5.0
type OnIssue struct{}
func (*OnIssue) Configuration ¶ added in v0.5.0
func (i *OnIssue) Configuration() []configuration.Field
func (*OnIssue) Description ¶ added in v0.5.0
func (*OnIssue) Documentation ¶ added in v0.5.0
func (*OnIssue) ExampleData ¶ added in v0.5.0
func (*OnIssue) HandleAction ¶ added in v0.5.0
func (*OnIssue) HandleWebhook ¶ added in v0.5.0
func (i *OnIssue) HandleWebhook(ctx core.WebhookRequestContext) (int, error)
type OnIssueComment ¶ added in v0.5.0
type OnIssueComment struct{}
func (*OnIssueComment) Actions ¶ added in v0.5.0
func (i *OnIssueComment) Actions() []core.Action
func (*OnIssueComment) Cleanup ¶ added in v0.7.0
func (i *OnIssueComment) Cleanup(ctx core.TriggerContext) error
func (*OnIssueComment) Color ¶ added in v0.5.0
func (i *OnIssueComment) Color() string
func (*OnIssueComment) Configuration ¶ added in v0.5.0
func (i *OnIssueComment) Configuration() []configuration.Field
func (*OnIssueComment) Description ¶ added in v0.5.0
func (i *OnIssueComment) Description() string
func (*OnIssueComment) Documentation ¶ added in v0.5.0
func (i *OnIssueComment) Documentation() string
func (*OnIssueComment) ExampleData ¶ added in v0.5.0
func (t *OnIssueComment) ExampleData() map[string]any
func (*OnIssueComment) HandleAction ¶ added in v0.5.0
func (i *OnIssueComment) HandleAction(ctx core.TriggerActionContext) (map[string]any, error)
func (*OnIssueComment) HandleWebhook ¶ added in v0.5.0
func (i *OnIssueComment) HandleWebhook(ctx core.WebhookRequestContext) (int, error)
func (*OnIssueComment) Icon ¶ added in v0.5.0
func (i *OnIssueComment) Icon() string
func (*OnIssueComment) Label ¶ added in v0.5.0
func (i *OnIssueComment) Label() string
func (*OnIssueComment) Name ¶ added in v0.5.0
func (i *OnIssueComment) Name() string
func (*OnIssueComment) Setup ¶ added in v0.5.0
func (i *OnIssueComment) Setup(ctx core.TriggerContext) error
type OnIssueCommentConfiguration ¶ added in v0.5.0
type OnIssueConfiguration ¶ added in v0.5.0
type OnPRComment ¶ added in v0.5.0
type OnPRComment struct{}
func (*OnPRComment) Actions ¶ added in v0.5.0
func (p *OnPRComment) Actions() []core.Action
func (*OnPRComment) Cleanup ¶ added in v0.7.0
func (p *OnPRComment) Cleanup(ctx core.TriggerContext) error
func (*OnPRComment) Color ¶ added in v0.5.0
func (p *OnPRComment) Color() string
func (*OnPRComment) Configuration ¶ added in v0.5.0
func (p *OnPRComment) Configuration() []configuration.Field
func (*OnPRComment) Description ¶ added in v0.5.0
func (p *OnPRComment) Description() string
func (*OnPRComment) Documentation ¶ added in v0.5.0
func (p *OnPRComment) Documentation() string
func (*OnPRComment) ExampleData ¶ added in v0.5.0
func (t *OnPRComment) ExampleData() map[string]any
func (*OnPRComment) HandleAction ¶ added in v0.5.0
func (p *OnPRComment) HandleAction(ctx core.TriggerActionContext) (map[string]any, error)
func (*OnPRComment) HandleWebhook ¶ added in v0.5.0
func (p *OnPRComment) HandleWebhook(ctx core.WebhookRequestContext) (int, error)
func (*OnPRComment) Icon ¶ added in v0.5.0
func (p *OnPRComment) Icon() string
func (*OnPRComment) Label ¶ added in v0.5.0
func (p *OnPRComment) Label() string
func (*OnPRComment) Name ¶ added in v0.5.0
func (p *OnPRComment) Name() string
func (*OnPRComment) Setup ¶ added in v0.5.0
func (p *OnPRComment) Setup(ctx core.TriggerContext) error
type OnPRCommentConfiguration ¶ added in v0.5.0
type OnPullRequest ¶ added in v0.5.0
type OnPullRequest struct{}
func (*OnPullRequest) Actions ¶ added in v0.5.0
func (p *OnPullRequest) Actions() []core.Action
func (*OnPullRequest) Cleanup ¶ added in v0.7.0
func (p *OnPullRequest) Cleanup(ctx core.TriggerContext) error
func (*OnPullRequest) Color ¶ added in v0.5.0
func (p *OnPullRequest) Color() string
func (*OnPullRequest) Configuration ¶ added in v0.5.0
func (p *OnPullRequest) Configuration() []configuration.Field
func (*OnPullRequest) Description ¶ added in v0.5.0
func (p *OnPullRequest) Description() string
func (*OnPullRequest) Documentation ¶ added in v0.5.0
func (p *OnPullRequest) Documentation() string
func (*OnPullRequest) ExampleData ¶ added in v0.5.0
func (t *OnPullRequest) ExampleData() map[string]any
func (*OnPullRequest) HandleAction ¶ added in v0.5.0
func (p *OnPullRequest) HandleAction(ctx core.TriggerActionContext) (map[string]any, error)
func (*OnPullRequest) HandleWebhook ¶ added in v0.5.0
func (p *OnPullRequest) HandleWebhook(ctx core.WebhookRequestContext) (int, error)
func (*OnPullRequest) Icon ¶ added in v0.5.0
func (p *OnPullRequest) Icon() string
func (*OnPullRequest) Label ¶ added in v0.5.0
func (p *OnPullRequest) Label() string
func (*OnPullRequest) Name ¶ added in v0.5.0
func (p *OnPullRequest) Name() string
func (*OnPullRequest) Setup ¶ added in v0.5.0
func (p *OnPullRequest) Setup(ctx core.TriggerContext) error
type OnPullRequestConfiguration ¶ added in v0.5.0
type OnPush ¶ added in v0.5.0
type OnPush struct{}
func (*OnPush) Configuration ¶ added in v0.5.0
func (p *OnPush) Configuration() []configuration.Field
func (*OnPush) Description ¶ added in v0.5.0
func (*OnPush) Documentation ¶ added in v0.5.0
func (*OnPush) ExampleData ¶ added in v0.5.0
func (*OnPush) HandleAction ¶ added in v0.5.0
func (*OnPush) HandleWebhook ¶ added in v0.5.0
func (p *OnPush) HandleWebhook(ctx core.WebhookRequestContext) (int, error)
type OnPushConfiguration ¶ added in v0.5.0
type OnPushConfiguration struct {
Repository string `json:"repository" mapstructure:"repository"`
Refs []configuration.Predicate `json:"refs" mapstructure:"refs"`
}
type OnRelease ¶ added in v0.5.0
type OnRelease struct{}
func (*OnRelease) Cleanup ¶ added in v0.7.0
func (r *OnRelease) Cleanup(ctx core.TriggerContext) error
func (*OnRelease) Configuration ¶ added in v0.5.0
func (r *OnRelease) Configuration() []configuration.Field
func (*OnRelease) Description ¶ added in v0.5.0
func (*OnRelease) Documentation ¶ added in v0.5.0
func (*OnRelease) ExampleData ¶ added in v0.5.0
func (*OnRelease) HandleAction ¶ added in v0.5.0
func (*OnRelease) HandleWebhook ¶ added in v0.5.0
func (r *OnRelease) HandleWebhook(ctx core.WebhookRequestContext) (int, error)
type OnReleaseConfiguration ¶ added in v0.5.0
type OnTagCreated ¶ added in v0.5.0
type OnTagCreated struct{}
func (*OnTagCreated) Actions ¶ added in v0.5.0
func (t *OnTagCreated) Actions() []core.Action
func (*OnTagCreated) Cleanup ¶ added in v0.7.0
func (t *OnTagCreated) Cleanup(ctx core.TriggerContext) error
func (*OnTagCreated) Color ¶ added in v0.5.0
func (t *OnTagCreated) Color() string
func (*OnTagCreated) Configuration ¶ added in v0.5.0
func (t *OnTagCreated) Configuration() []configuration.Field
func (*OnTagCreated) Description ¶ added in v0.5.0
func (t *OnTagCreated) Description() string
func (*OnTagCreated) Documentation ¶ added in v0.5.0
func (t *OnTagCreated) Documentation() string
func (*OnTagCreated) ExampleData ¶ added in v0.5.0
func (t *OnTagCreated) ExampleData() map[string]any
func (*OnTagCreated) HandleAction ¶ added in v0.5.0
func (t *OnTagCreated) HandleAction(ctx core.TriggerActionContext) (map[string]any, error)
func (*OnTagCreated) HandleWebhook ¶ added in v0.5.0
func (t *OnTagCreated) HandleWebhook(ctx core.WebhookRequestContext) (int, error)
func (*OnTagCreated) Icon ¶ added in v0.5.0
func (t *OnTagCreated) Icon() string
func (*OnTagCreated) Label ¶ added in v0.5.0
func (t *OnTagCreated) Label() string
func (*OnTagCreated) Name ¶ added in v0.5.0
func (t *OnTagCreated) Name() string
func (*OnTagCreated) Setup ¶ added in v0.5.0
func (t *OnTagCreated) Setup(ctx core.TriggerContext) error
type OnTagCreatedConfiguration ¶ added in v0.5.0
type OnTagCreatedConfiguration struct {
Repository string `json:"repository"`
Tags []configuration.Predicate `json:"tags"`
}
type OnWorkflowRun ¶ added in v0.5.0
type OnWorkflowRun struct{}
func (*OnWorkflowRun) Actions ¶ added in v0.5.0
func (w *OnWorkflowRun) Actions() []core.Action
func (*OnWorkflowRun) Cleanup ¶ added in v0.7.0
func (w *OnWorkflowRun) Cleanup(ctx core.TriggerContext) error
func (*OnWorkflowRun) Color ¶ added in v0.5.0
func (w *OnWorkflowRun) Color() string
func (*OnWorkflowRun) Configuration ¶ added in v0.5.0
func (w *OnWorkflowRun) Configuration() []configuration.Field
func (*OnWorkflowRun) Description ¶ added in v0.5.0
func (w *OnWorkflowRun) Description() string
func (*OnWorkflowRun) Documentation ¶ added in v0.5.0
func (w *OnWorkflowRun) Documentation() string
func (*OnWorkflowRun) ExampleData ¶ added in v0.5.0
func (t *OnWorkflowRun) ExampleData() map[string]any
func (*OnWorkflowRun) HandleAction ¶ added in v0.5.0
func (w *OnWorkflowRun) HandleAction(ctx core.TriggerActionContext) (map[string]any, error)
func (*OnWorkflowRun) HandleWebhook ¶ added in v0.5.0
func (w *OnWorkflowRun) HandleWebhook(ctx core.WebhookRequestContext) (int, error)
func (*OnWorkflowRun) Icon ¶ added in v0.5.0
func (w *OnWorkflowRun) Icon() string
func (*OnWorkflowRun) Label ¶ added in v0.5.0
func (w *OnWorkflowRun) Label() string
func (*OnWorkflowRun) Name ¶ added in v0.5.0
func (w *OnWorkflowRun) Name() string
func (*OnWorkflowRun) Setup ¶ added in v0.5.0
func (w *OnWorkflowRun) Setup(ctx core.TriggerContext) error
type OnWorkflowRunConfiguration ¶ added in v0.5.0
type PublishCommitStatus ¶ added in v0.5.0
type PublishCommitStatus struct{}
func (*PublishCommitStatus) Actions ¶ added in v0.5.0
func (c *PublishCommitStatus) Actions() []core.Action
func (*PublishCommitStatus) Cancel ¶ added in v0.5.0
func (c *PublishCommitStatus) Cancel(ctx core.ExecutionContext) error
func (*PublishCommitStatus) Cleanup ¶ added in v0.7.0
func (c *PublishCommitStatus) Cleanup(ctx core.SetupContext) error
func (*PublishCommitStatus) Color ¶ added in v0.5.0
func (c *PublishCommitStatus) Color() string
func (*PublishCommitStatus) Configuration ¶ added in v0.5.0
func (c *PublishCommitStatus) Configuration() []configuration.Field
func (*PublishCommitStatus) Description ¶ added in v0.5.0
func (c *PublishCommitStatus) Description() string
func (*PublishCommitStatus) Documentation ¶ added in v0.5.0
func (c *PublishCommitStatus) Documentation() string
func (*PublishCommitStatus) ExampleOutput ¶ added in v0.5.0
func (c *PublishCommitStatus) ExampleOutput() map[string]any
func (*PublishCommitStatus) Execute ¶ added in v0.5.0
func (c *PublishCommitStatus) Execute(ctx core.ExecutionContext) error
func (*PublishCommitStatus) HandleAction ¶ added in v0.5.0
func (c *PublishCommitStatus) HandleAction(ctx core.ActionContext) error
func (*PublishCommitStatus) HandleWebhook ¶ added in v0.5.0
func (c *PublishCommitStatus) HandleWebhook(ctx core.WebhookRequestContext) (int, error)
func (*PublishCommitStatus) Icon ¶ added in v0.5.0
func (c *PublishCommitStatus) Icon() string
func (*PublishCommitStatus) Label ¶ added in v0.5.0
func (c *PublishCommitStatus) Label() string
func (*PublishCommitStatus) Name ¶ added in v0.5.0
func (c *PublishCommitStatus) Name() string
func (*PublishCommitStatus) OutputChannels ¶ added in v0.5.0
func (c *PublishCommitStatus) OutputChannels(configuration any) []core.OutputChannel
func (*PublishCommitStatus) ProcessQueueItem ¶ added in v0.5.0
func (c *PublishCommitStatus) ProcessQueueItem(ctx core.ProcessQueueContext) (*uuid.UUID, error)
func (*PublishCommitStatus) Setup ¶ added in v0.5.0
func (c *PublishCommitStatus) Setup(ctx core.SetupContext) error
type PublishCommitStatusConfiguration ¶ added in v0.5.0
type RemoveIssueAssignee ¶ added in v0.9.0
type RemoveIssueAssignee struct{}
func (*RemoveIssueAssignee) Actions ¶ added in v0.9.0
func (c *RemoveIssueAssignee) Actions() []core.Action
func (*RemoveIssueAssignee) Cancel ¶ added in v0.9.0
func (c *RemoveIssueAssignee) Cancel(ctx core.ExecutionContext) error
func (*RemoveIssueAssignee) Cleanup ¶ added in v0.9.0
func (c *RemoveIssueAssignee) Cleanup(ctx core.SetupContext) error
func (*RemoveIssueAssignee) Color ¶ added in v0.9.0
func (c *RemoveIssueAssignee) Color() string
func (*RemoveIssueAssignee) Configuration ¶ added in v0.9.0
func (c *RemoveIssueAssignee) Configuration() []configuration.Field
func (*RemoveIssueAssignee) Description ¶ added in v0.9.0
func (c *RemoveIssueAssignee) Description() string
func (*RemoveIssueAssignee) Documentation ¶ added in v0.9.0
func (c *RemoveIssueAssignee) Documentation() string
func (*RemoveIssueAssignee) ExampleOutput ¶ added in v0.9.0
func (c *RemoveIssueAssignee) ExampleOutput() map[string]any
func (*RemoveIssueAssignee) Execute ¶ added in v0.9.0
func (c *RemoveIssueAssignee) Execute(ctx core.ExecutionContext) error
func (*RemoveIssueAssignee) HandleAction ¶ added in v0.9.0
func (c *RemoveIssueAssignee) HandleAction(ctx core.ActionContext) error
func (*RemoveIssueAssignee) HandleWebhook ¶ added in v0.9.0
func (c *RemoveIssueAssignee) HandleWebhook(ctx core.WebhookRequestContext) (int, error)
func (*RemoveIssueAssignee) Icon ¶ added in v0.9.0
func (c *RemoveIssueAssignee) Icon() string
func (*RemoveIssueAssignee) Label ¶ added in v0.9.0
func (c *RemoveIssueAssignee) Label() string
func (*RemoveIssueAssignee) Name ¶ added in v0.9.0
func (c *RemoveIssueAssignee) Name() string
func (*RemoveIssueAssignee) OutputChannels ¶ added in v0.9.0
func (c *RemoveIssueAssignee) OutputChannels(configuration any) []core.OutputChannel
func (*RemoveIssueAssignee) ProcessQueueItem ¶ added in v0.9.0
func (c *RemoveIssueAssignee) ProcessQueueItem(ctx core.ProcessQueueContext) (*uuid.UUID, error)
func (*RemoveIssueAssignee) Setup ¶ added in v0.9.0
func (c *RemoveIssueAssignee) Setup(ctx core.SetupContext) error
type RemoveIssueAssigneeConfiguration ¶ added in v0.9.0
type RemoveIssueAssigneeConfiguration struct {
Repository string `json:"repository" mapstructure:"repository"`
IssueNumber string `json:"issueNumber" mapstructure:"issueNumber"`
Assignees []string `json:"assignees" mapstructure:"assignees"`
FailIfNotFound bool `json:"failIfNotFound" mapstructure:"failIfNotFound"`
}
type RemoveIssueLabel ¶ added in v0.9.0
type RemoveIssueLabel struct{}
func (*RemoveIssueLabel) Actions ¶ added in v0.9.0
func (c *RemoveIssueLabel) Actions() []core.Action
func (*RemoveIssueLabel) Cancel ¶ added in v0.9.0
func (c *RemoveIssueLabel) Cancel(ctx core.ExecutionContext) error
func (*RemoveIssueLabel) Cleanup ¶ added in v0.9.0
func (c *RemoveIssueLabel) Cleanup(ctx core.SetupContext) error
func (*RemoveIssueLabel) Color ¶ added in v0.9.0
func (c *RemoveIssueLabel) Color() string
func (*RemoveIssueLabel) Configuration ¶ added in v0.9.0
func (c *RemoveIssueLabel) Configuration() []configuration.Field
func (*RemoveIssueLabel) Description ¶ added in v0.9.0
func (c *RemoveIssueLabel) Description() string
func (*RemoveIssueLabel) Documentation ¶ added in v0.9.0
func (c *RemoveIssueLabel) Documentation() string
func (*RemoveIssueLabel) ExampleOutput ¶ added in v0.9.0
func (c *RemoveIssueLabel) ExampleOutput() map[string]any
func (*RemoveIssueLabel) Execute ¶ added in v0.9.0
func (c *RemoveIssueLabel) Execute(ctx core.ExecutionContext) error
func (*RemoveIssueLabel) HandleAction ¶ added in v0.9.0
func (c *RemoveIssueLabel) HandleAction(ctx core.ActionContext) error
func (*RemoveIssueLabel) HandleWebhook ¶ added in v0.9.0
func (c *RemoveIssueLabel) HandleWebhook(ctx core.WebhookRequestContext) (int, error)
func (*RemoveIssueLabel) Icon ¶ added in v0.9.0
func (c *RemoveIssueLabel) Icon() string
func (*RemoveIssueLabel) Label ¶ added in v0.9.0
func (c *RemoveIssueLabel) Label() string
func (*RemoveIssueLabel) Name ¶ added in v0.9.0
func (c *RemoveIssueLabel) Name() string
func (*RemoveIssueLabel) OutputChannels ¶ added in v0.9.0
func (c *RemoveIssueLabel) OutputChannels(configuration any) []core.OutputChannel
func (*RemoveIssueLabel) ProcessQueueItem ¶ added in v0.9.0
func (c *RemoveIssueLabel) ProcessQueueItem(ctx core.ProcessQueueContext) (*uuid.UUID, error)
func (*RemoveIssueLabel) Setup ¶ added in v0.9.0
func (c *RemoveIssueLabel) Setup(ctx core.SetupContext) error
type RemoveIssueLabelConfiguration ¶ added in v0.9.0
type RemoveIssueLabelConfiguration struct {
Repository string `json:"repository" mapstructure:"repository"`
IssueNumber string `json:"issueNumber" mapstructure:"issueNumber"`
Labels []string `json:"labels" mapstructure:"labels"`
FailIfNotFound bool `json:"failIfNotFound" mapstructure:"failIfNotFound"`
}
type Repository ¶
type RepositoryMetadata ¶ added in v0.9.0
type RunWorkflow ¶ added in v0.5.0
type RunWorkflow struct{}
func (*RunWorkflow) Actions ¶ added in v0.5.0
func (r *RunWorkflow) Actions() []core.Action
func (*RunWorkflow) Cancel ¶ added in v0.5.0
func (r *RunWorkflow) Cancel(ctx core.ExecutionContext) error
func (*RunWorkflow) Cleanup ¶ added in v0.7.0
func (r *RunWorkflow) Cleanup(ctx core.SetupContext) error
func (*RunWorkflow) Color ¶ added in v0.5.0
func (r *RunWorkflow) Color() string
func (*RunWorkflow) Configuration ¶ added in v0.5.0
func (r *RunWorkflow) Configuration() []configuration.Field
func (*RunWorkflow) Description ¶ added in v0.5.0
func (r *RunWorkflow) Description() string
func (*RunWorkflow) Documentation ¶ added in v0.5.0
func (r *RunWorkflow) Documentation() string
func (*RunWorkflow) ExampleOutput ¶ added in v0.5.0
func (c *RunWorkflow) ExampleOutput() map[string]any
func (*RunWorkflow) Execute ¶ added in v0.5.0
func (r *RunWorkflow) Execute(ctx core.ExecutionContext) error
func (*RunWorkflow) HandleAction ¶ added in v0.5.0
func (r *RunWorkflow) HandleAction(ctx core.ActionContext) error
func (*RunWorkflow) HandleWebhook ¶ added in v0.5.0
func (r *RunWorkflow) HandleWebhook(ctx core.WebhookRequestContext) (int, error)
func (*RunWorkflow) Icon ¶ added in v0.5.0
func (r *RunWorkflow) Icon() string
func (*RunWorkflow) Label ¶ added in v0.5.0
func (r *RunWorkflow) Label() string
func (*RunWorkflow) Name ¶ added in v0.5.0
func (r *RunWorkflow) Name() string
func (*RunWorkflow) OutputChannels ¶ added in v0.5.0
func (r *RunWorkflow) OutputChannels(configuration any) []core.OutputChannel
func (*RunWorkflow) ProcessQueueItem ¶ added in v0.5.0
func (r *RunWorkflow) ProcessQueueItem(ctx core.ProcessQueueContext) (*uuid.UUID, error)
func (*RunWorkflow) Setup ¶ added in v0.5.0
func (r *RunWorkflow) Setup(ctx core.SetupContext) error
type RunWorkflowExecutionMetadata ¶ added in v0.5.0
type RunWorkflowExecutionMetadata struct {
WorkflowRun *WorkflowRunMetadata `json:"workflowRun" mapstructure:"workflowRun"`
}
type RunWorkflowSpec ¶ added in v0.5.0
type UpdateIssue ¶ added in v0.5.0
type UpdateIssue struct{}
func (*UpdateIssue) Actions ¶ added in v0.5.0
func (c *UpdateIssue) Actions() []core.Action
func (*UpdateIssue) Cancel ¶ added in v0.5.0
func (c *UpdateIssue) Cancel(ctx core.ExecutionContext) error
func (*UpdateIssue) Cleanup ¶ added in v0.7.0
func (c *UpdateIssue) Cleanup(ctx core.SetupContext) error
func (*UpdateIssue) Color ¶ added in v0.5.0
func (c *UpdateIssue) Color() string
func (*UpdateIssue) Configuration ¶ added in v0.5.0
func (c *UpdateIssue) Configuration() []configuration.Field
func (*UpdateIssue) Description ¶ added in v0.5.0
func (c *UpdateIssue) Description() string
func (*UpdateIssue) Documentation ¶ added in v0.5.0
func (c *UpdateIssue) Documentation() string
func (*UpdateIssue) ExampleOutput ¶ added in v0.5.0
func (c *UpdateIssue) ExampleOutput() map[string]any
func (*UpdateIssue) Execute ¶ added in v0.5.0
func (c *UpdateIssue) Execute(ctx core.ExecutionContext) error
func (*UpdateIssue) HandleAction ¶ added in v0.5.0
func (c *UpdateIssue) HandleAction(ctx core.ActionContext) error
func (*UpdateIssue) HandleWebhook ¶ added in v0.5.0
func (c *UpdateIssue) HandleWebhook(ctx core.WebhookRequestContext) (int, error)
func (*UpdateIssue) Icon ¶ added in v0.5.0
func (c *UpdateIssue) Icon() string
func (*UpdateIssue) Label ¶ added in v0.5.0
func (c *UpdateIssue) Label() string
func (*UpdateIssue) Name ¶ added in v0.5.0
func (c *UpdateIssue) Name() string
func (*UpdateIssue) OutputChannels ¶ added in v0.5.0
func (c *UpdateIssue) OutputChannels(configuration any) []core.OutputChannel
func (*UpdateIssue) ProcessQueueItem ¶ added in v0.5.0
func (c *UpdateIssue) ProcessQueueItem(ctx core.ProcessQueueContext) (*uuid.UUID, error)
func (*UpdateIssue) Setup ¶ added in v0.5.0
func (c *UpdateIssue) Setup(ctx core.SetupContext) error
type UpdateIssueConfiguration ¶ added in v0.5.0
type UpdateIssueConfiguration struct {
Repository string `json:"repository" mapstructure:"repository"`
IssueNumber int `json:"issueNumber" mapstructure:"issueNumber"`
Title string `json:"title" mapstructure:"title"`
Body string `json:"body" mapstructure:"body"`
State string `json:"state" mapstructure:"state"`
Assignees []string `json:"assignees" mapstructure:"assignees"`
Labels []string `json:"labels" mapstructure:"labels"`
}
type UpdateRelease ¶ added in v0.5.0
type UpdateRelease struct{}
func (*UpdateRelease) Actions ¶ added in v0.5.0
func (c *UpdateRelease) Actions() []core.Action
func (*UpdateRelease) Cancel ¶ added in v0.5.0
func (c *UpdateRelease) Cancel(ctx core.ExecutionContext) error
func (*UpdateRelease) Cleanup ¶ added in v0.7.0
func (c *UpdateRelease) Cleanup(ctx core.SetupContext) error
func (*UpdateRelease) Color ¶ added in v0.5.0
func (c *UpdateRelease) Color() string
func (*UpdateRelease) Configuration ¶ added in v0.5.0
func (c *UpdateRelease) Configuration() []configuration.Field
func (*UpdateRelease) Description ¶ added in v0.5.0
func (c *UpdateRelease) Description() string
func (*UpdateRelease) Documentation ¶ added in v0.5.0
func (c *UpdateRelease) Documentation() string
func (*UpdateRelease) ExampleOutput ¶ added in v0.5.0
func (c *UpdateRelease) ExampleOutput() map[string]any
func (*UpdateRelease) Execute ¶ added in v0.5.0
func (c *UpdateRelease) Execute(ctx core.ExecutionContext) error
func (*UpdateRelease) HandleAction ¶ added in v0.5.0
func (c *UpdateRelease) HandleAction(ctx core.ActionContext) error
func (*UpdateRelease) HandleWebhook ¶ added in v0.5.0
func (c *UpdateRelease) HandleWebhook(ctx core.WebhookRequestContext) (int, error)
func (*UpdateRelease) Icon ¶ added in v0.5.0
func (c *UpdateRelease) Icon() string
func (*UpdateRelease) Label ¶ added in v0.5.0
func (c *UpdateRelease) Label() string
func (*UpdateRelease) Name ¶ added in v0.5.0
func (c *UpdateRelease) Name() string
func (*UpdateRelease) OutputChannels ¶ added in v0.5.0
func (c *UpdateRelease) OutputChannels(configuration any) []core.OutputChannel
func (*UpdateRelease) ProcessQueueItem ¶ added in v0.5.0
func (c *UpdateRelease) ProcessQueueItem(ctx core.ProcessQueueContext) (*uuid.UUID, error)
func (*UpdateRelease) Setup ¶ added in v0.5.0
func (c *UpdateRelease) Setup(ctx core.SetupContext) error
type UpdateReleaseConfiguration ¶ added in v0.5.0
type UpdateReleaseConfiguration struct {
Repository string `mapstructure:"repository"`
ReleaseStrategy string `mapstructure:"releaseStrategy"`
TagName string `mapstructure:"tagName"`
Name string `mapstructure:"name"`
Body string `mapstructure:"body"`
Draft bool `mapstructure:"draft"`
Prerelease bool `mapstructure:"prerelease"`
GenerateReleaseNotes bool `mapstructure:"generateReleaseNotes"`
}
type WebhookConfiguration ¶
type WorkflowRunMetadata ¶ added in v0.5.0
type WorkflowUsageResult ¶ added in v0.9.0
type WorkflowUsageResult struct {
MinutesUsed float64 `json:"minutes_used" mapstructure:"minutes_used"`
MinutesUsedBreakdown gh.MinutesUsedBreakdown `json:"minutes_used_breakdown" mapstructure:"minutes_used_breakdown"`
IncludedMinutes float64 `json:"included_minutes" mapstructure:"included_minutes"`
TotalPaidMinutesUsed float64 `json:"total_paid_minutes_used" mapstructure:"total_paid_minutes_used"`
Repositories []string `json:"repositories,omitempty" mapstructure:"repositories,omitempty"`
}
Source Files
¶
- add_issue_assignee.go
- add_issue_label.go
- client.go
- common.go
- create_issue.go
- create_issue_comment.go
- create_release.go
- create_review.go
- delete_release.go
- example.go
- get_issue.go
- get_release.go
- get_workflow_usage.go
- github.go
- list_resources.go
- on_branch_created.go
- on_issue.go
- on_issue_comment.go
- on_pr_comment.go
- on_pull_request.go
- on_push.go
- on_release.go
- on_tag_created.go
- on_workflow_run.go
- publish_commit_status.go
- remove_issue_assignee.go
- remove_issue_label.go
- run_workflow.go
- update_issue.go
- update_release.go
- webhook_handler.go
Click to show internal directories.
Click to hide internal directories.