Documentation
¶
Index ¶
- Constants
- type Input
- type OnWorkflowRun
- 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) HandleHook(ctx core.TriggerHookContext) (map[string]any, error)
- func (w *OnWorkflowRun) HandleWebhook(ctx core.WebhookRequestContext) (int, *core.WebhookResponseBody, error)
- func (w *OnWorkflowRun) Hooks() []core.Hook
- 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 RunWorkflow
- 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) HandleHook(ctx core.ActionHookContext) error
- func (r *RunWorkflow) HandleWebhook(ctx core.WebhookRequestContext) (int, *core.WebhookResponseBody, error)
- func (r *RunWorkflow) Hooks() []core.Hook
- 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 WorkflowRunMetadata
Constants ¶
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 ¶
This section is empty.
Types ¶
type OnWorkflowRun ¶
type OnWorkflowRun struct{}
func (*OnWorkflowRun) Cleanup ¶
func (w *OnWorkflowRun) Cleanup(ctx core.TriggerContext) error
func (*OnWorkflowRun) Color ¶
func (w *OnWorkflowRun) Color() string
func (*OnWorkflowRun) Configuration ¶
func (w *OnWorkflowRun) Configuration() []configuration.Field
func (*OnWorkflowRun) Description ¶
func (w *OnWorkflowRun) Description() string
func (*OnWorkflowRun) Documentation ¶
func (w *OnWorkflowRun) Documentation() string
func (*OnWorkflowRun) ExampleData ¶
func (t *OnWorkflowRun) ExampleData() map[string]any
func (*OnWorkflowRun) HandleHook ¶
func (w *OnWorkflowRun) HandleHook(ctx core.TriggerHookContext) (map[string]any, error)
func (*OnWorkflowRun) HandleWebhook ¶
func (w *OnWorkflowRun) HandleWebhook(ctx core.WebhookRequestContext) (int, *core.WebhookResponseBody, error)
func (*OnWorkflowRun) Hooks ¶
func (w *OnWorkflowRun) Hooks() []core.Hook
func (*OnWorkflowRun) Icon ¶
func (w *OnWorkflowRun) Icon() string
func (*OnWorkflowRun) Label ¶
func (w *OnWorkflowRun) Label() string
func (*OnWorkflowRun) Name ¶
func (w *OnWorkflowRun) Name() string
func (*OnWorkflowRun) Setup ¶
func (w *OnWorkflowRun) Setup(ctx core.TriggerContext) error
type RunWorkflow ¶
type RunWorkflow struct{}
func (*RunWorkflow) Cancel ¶
func (r *RunWorkflow) Cancel(ctx core.ExecutionContext) error
func (*RunWorkflow) Cleanup ¶
func (r *RunWorkflow) Cleanup(ctx core.SetupContext) error
func (*RunWorkflow) Color ¶
func (r *RunWorkflow) Color() string
func (*RunWorkflow) Configuration ¶
func (r *RunWorkflow) Configuration() []configuration.Field
func (*RunWorkflow) Description ¶
func (r *RunWorkflow) Description() string
func (*RunWorkflow) Documentation ¶
func (r *RunWorkflow) Documentation() string
func (*RunWorkflow) ExampleOutput ¶
func (c *RunWorkflow) ExampleOutput() map[string]any
func (*RunWorkflow) Execute ¶
func (r *RunWorkflow) Execute(ctx core.ExecutionContext) error
func (*RunWorkflow) HandleHook ¶
func (r *RunWorkflow) HandleHook(ctx core.ActionHookContext) error
func (*RunWorkflow) HandleWebhook ¶
func (r *RunWorkflow) HandleWebhook(ctx core.WebhookRequestContext) (int, *core.WebhookResponseBody, error)
func (*RunWorkflow) Hooks ¶
func (r *RunWorkflow) Hooks() []core.Hook
func (*RunWorkflow) Icon ¶
func (r *RunWorkflow) Icon() string
func (*RunWorkflow) Label ¶
func (r *RunWorkflow) Label() string
func (*RunWorkflow) Name ¶
func (r *RunWorkflow) Name() string
func (*RunWorkflow) OutputChannels ¶
func (r *RunWorkflow) OutputChannels(configuration any) []core.OutputChannel
func (*RunWorkflow) ProcessQueueItem ¶
func (r *RunWorkflow) ProcessQueueItem(ctx core.ProcessQueueContext) (*uuid.UUID, error)
func (*RunWorkflow) Setup ¶
func (r *RunWorkflow) Setup(ctx core.SetupContext) error
type RunWorkflowExecutionMetadata ¶
type RunWorkflowExecutionMetadata struct {
WorkflowRun *WorkflowRunMetadata `json:"workflowRun" mapstructure:"workflowRun"`
}
type RunWorkflowSpec ¶
Click to show internal directories.
Click to hide internal directories.