Documentation
¶
Index ¶
- type ListCheckRunsForRef
- func (c *ListCheckRunsForRef) Cancel(ctx core.ExecutionContext) error
- func (c *ListCheckRunsForRef) Cleanup(ctx core.SetupContext) error
- func (c *ListCheckRunsForRef) Color() string
- func (c *ListCheckRunsForRef) Configuration() []configuration.Field
- func (c *ListCheckRunsForRef) Description() string
- func (c *ListCheckRunsForRef) Documentation() string
- func (c *ListCheckRunsForRef) ExampleOutput() map[string]any
- func (c *ListCheckRunsForRef) Execute(ctx core.ExecutionContext) error
- func (c *ListCheckRunsForRef) HandleHook(ctx core.ActionHookContext) error
- func (c *ListCheckRunsForRef) HandleWebhook(ctx core.WebhookRequestContext) (int, *core.WebhookResponseBody, error)
- func (c *ListCheckRunsForRef) Hooks() []core.Hook
- func (c *ListCheckRunsForRef) Icon() string
- func (c *ListCheckRunsForRef) Label() string
- func (c *ListCheckRunsForRef) Name() string
- func (c *ListCheckRunsForRef) OutputChannels(configuration any) []core.OutputChannel
- func (c *ListCheckRunsForRef) ProcessQueueItem(ctx core.ProcessQueueContext) (*uuid.UUID, error)
- func (c *ListCheckRunsForRef) Setup(ctx core.SetupContext) error
- type ListCheckRunsForRefConfiguration
- type OnCheckRun
- func (t *OnCheckRun) Cleanup(ctx core.TriggerContext) error
- func (t *OnCheckRun) Color() string
- func (t *OnCheckRun) Configuration() []configuration.Field
- func (t *OnCheckRun) Description() string
- func (t *OnCheckRun) Documentation() string
- func (t *OnCheckRun) ExampleData() map[string]any
- func (t *OnCheckRun) HandleHook(ctx core.TriggerHookContext) (map[string]any, error)
- func (t *OnCheckRun) HandleWebhook(ctx core.WebhookRequestContext) (int, *core.WebhookResponseBody, error)
- func (t *OnCheckRun) Hooks() []core.Hook
- func (t *OnCheckRun) Icon() string
- func (t *OnCheckRun) Label() string
- func (t *OnCheckRun) Name() string
- func (t *OnCheckRun) Setup(ctx core.TriggerContext) error
- type OnCheckRunConfiguration
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ListCheckRunsForRef ¶
type ListCheckRunsForRef struct{}
func (*ListCheckRunsForRef) Cancel ¶
func (c *ListCheckRunsForRef) Cancel(ctx core.ExecutionContext) error
func (*ListCheckRunsForRef) Cleanup ¶
func (c *ListCheckRunsForRef) Cleanup(ctx core.SetupContext) error
func (*ListCheckRunsForRef) Color ¶
func (c *ListCheckRunsForRef) Color() string
func (*ListCheckRunsForRef) Configuration ¶
func (c *ListCheckRunsForRef) Configuration() []configuration.Field
func (*ListCheckRunsForRef) Description ¶
func (c *ListCheckRunsForRef) Description() string
func (*ListCheckRunsForRef) Documentation ¶
func (c *ListCheckRunsForRef) Documentation() string
func (*ListCheckRunsForRef) ExampleOutput ¶
func (c *ListCheckRunsForRef) ExampleOutput() map[string]any
func (*ListCheckRunsForRef) Execute ¶
func (c *ListCheckRunsForRef) Execute(ctx core.ExecutionContext) error
func (*ListCheckRunsForRef) HandleHook ¶
func (c *ListCheckRunsForRef) HandleHook(ctx core.ActionHookContext) error
func (*ListCheckRunsForRef) HandleWebhook ¶
func (c *ListCheckRunsForRef) HandleWebhook(ctx core.WebhookRequestContext) (int, *core.WebhookResponseBody, error)
func (*ListCheckRunsForRef) Hooks ¶
func (c *ListCheckRunsForRef) Hooks() []core.Hook
func (*ListCheckRunsForRef) Icon ¶
func (c *ListCheckRunsForRef) Icon() string
func (*ListCheckRunsForRef) Label ¶
func (c *ListCheckRunsForRef) Label() string
func (*ListCheckRunsForRef) Name ¶
func (c *ListCheckRunsForRef) Name() string
func (*ListCheckRunsForRef) OutputChannels ¶
func (c *ListCheckRunsForRef) OutputChannels(configuration any) []core.OutputChannel
func (*ListCheckRunsForRef) ProcessQueueItem ¶
func (c *ListCheckRunsForRef) ProcessQueueItem(ctx core.ProcessQueueContext) (*uuid.UUID, error)
func (*ListCheckRunsForRef) Setup ¶
func (c *ListCheckRunsForRef) Setup(ctx core.SetupContext) error
type ListCheckRunsForRefConfiguration ¶
type ListCheckRunsForRefConfiguration struct {
Repository string `json:"repository" mapstructure:"repository"`
Ref string `json:"ref" mapstructure:"ref"`
CheckName string `json:"checkName" mapstructure:"checkName"`
Status string `json:"status" mapstructure:"status"`
Filter string `json:"filter" mapstructure:"filter"`
}
type OnCheckRun ¶
type OnCheckRun struct{}
func (*OnCheckRun) Cleanup ¶
func (t *OnCheckRun) Cleanup(ctx core.TriggerContext) error
func (*OnCheckRun) Color ¶
func (t *OnCheckRun) Color() string
func (*OnCheckRun) Configuration ¶
func (t *OnCheckRun) Configuration() []configuration.Field
func (*OnCheckRun) Description ¶
func (t *OnCheckRun) Description() string
func (*OnCheckRun) Documentation ¶
func (t *OnCheckRun) Documentation() string
func (*OnCheckRun) ExampleData ¶
func (t *OnCheckRun) ExampleData() map[string]any
func (*OnCheckRun) HandleHook ¶
func (t *OnCheckRun) HandleHook(ctx core.TriggerHookContext) (map[string]any, error)
func (*OnCheckRun) HandleWebhook ¶
func (t *OnCheckRun) HandleWebhook(ctx core.WebhookRequestContext) (int, *core.WebhookResponseBody, error)
func (*OnCheckRun) Hooks ¶
func (t *OnCheckRun) Hooks() []core.Hook
func (*OnCheckRun) Icon ¶
func (t *OnCheckRun) Icon() string
func (*OnCheckRun) Label ¶
func (t *OnCheckRun) Label() string
func (*OnCheckRun) Name ¶
func (t *OnCheckRun) Name() string
func (*OnCheckRun) Setup ¶
func (t *OnCheckRun) Setup(ctx core.TriggerContext) error
type OnCheckRunConfiguration ¶
type OnCheckRunConfiguration struct {
Repository string `json:"repository" mapstructure:"repository"`
Statuses []string `json:"statuses" mapstructure:"statuses"`
Conclusions []string `json:"conclusions" mapstructure:"conclusions"`
Names []configuration.Predicate `json:"names" mapstructure:"names"`
Branches []configuration.Predicate `json:"branches" mapstructure:"branches"`
PullRequestsOnly bool `json:"pullRequestsOnly" mapstructure:"pullRequestsOnly"`
}
Click to show internal directories.
Click to hide internal directories.