Documentation
¶
Index ¶
- type CreateRelease
- 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) HandleHook(ctx core.ActionHookContext) error
- func (c *CreateRelease) HandleWebhook(ctx core.WebhookRequestContext) (int, *core.WebhookResponseBody, error)
- func (c *CreateRelease) Hooks() []core.Hook
- 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 DeleteRelease
- 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) HandleHook(ctx core.ActionHookContext) error
- func (c *DeleteRelease) HandleWebhook(ctx core.WebhookRequestContext) (int, *core.WebhookResponseBody, error)
- func (c *DeleteRelease) Hooks() []core.Hook
- 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 GetRelease
- 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) HandleHook(ctx core.ActionHookContext) error
- func (c *GetRelease) HandleWebhook(ctx core.WebhookRequestContext) (int, *core.WebhookResponseBody, error)
- func (c *GetRelease) Hooks() []core.Hook
- 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 OnBranchCreated
- 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) HandleHook(ctx core.TriggerHookContext) (map[string]any, error)
- func (t *OnBranchCreated) HandleWebhook(ctx core.WebhookRequestContext) (int, *core.WebhookResponseBody, error)
- func (t *OnBranchCreated) Hooks() []core.Hook
- 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 OnPush
- 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) HandleHook(ctx core.TriggerHookContext) (map[string]any, error)
- func (p *OnPush) HandleWebhook(ctx core.WebhookRequestContext) (int, *core.WebhookResponseBody, error)
- func (p *OnPush) Hooks() []core.Hook
- 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) 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) HandleHook(ctx core.TriggerHookContext) (map[string]any, error)
- func (r *OnRelease) HandleWebhook(ctx core.WebhookRequestContext) (int, *core.WebhookResponseBody, error)
- func (r *OnRelease) Hooks() []core.Hook
- 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) 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) HandleHook(ctx core.TriggerHookContext) (map[string]any, error)
- func (t *OnTagCreated) HandleWebhook(ctx core.WebhookRequestContext) (int, *core.WebhookResponseBody, error)
- func (t *OnTagCreated) Hooks() []core.Hook
- 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 UpdateRelease
- 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) HandleHook(ctx core.ActionHookContext) error
- func (c *UpdateRelease) HandleWebhook(ctx core.WebhookRequestContext) (int, *core.WebhookResponseBody, error)
- func (c *UpdateRelease) Hooks() []core.Hook
- 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
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CreateRelease ¶
type CreateRelease struct{}
func (*CreateRelease) Cancel ¶
func (c *CreateRelease) Cancel(ctx core.ExecutionContext) error
func (*CreateRelease) Cleanup ¶
func (c *CreateRelease) Cleanup(ctx core.SetupContext) error
func (*CreateRelease) Color ¶
func (c *CreateRelease) Color() string
func (*CreateRelease) Configuration ¶
func (c *CreateRelease) Configuration() []configuration.Field
func (*CreateRelease) Description ¶
func (c *CreateRelease) Description() string
func (*CreateRelease) Documentation ¶
func (c *CreateRelease) Documentation() string
func (*CreateRelease) ExampleOutput ¶
func (c *CreateRelease) ExampleOutput() map[string]any
func (*CreateRelease) Execute ¶
func (c *CreateRelease) Execute(ctx core.ExecutionContext) error
func (*CreateRelease) HandleHook ¶
func (c *CreateRelease) HandleHook(ctx core.ActionHookContext) error
func (*CreateRelease) HandleWebhook ¶
func (c *CreateRelease) HandleWebhook(ctx core.WebhookRequestContext) (int, *core.WebhookResponseBody, error)
func (*CreateRelease) Hooks ¶
func (c *CreateRelease) Hooks() []core.Hook
func (*CreateRelease) Icon ¶
func (c *CreateRelease) Icon() string
func (*CreateRelease) Label ¶
func (c *CreateRelease) Label() string
func (*CreateRelease) Name ¶
func (c *CreateRelease) Name() string
func (*CreateRelease) OutputChannels ¶
func (c *CreateRelease) OutputChannels(configuration any) []core.OutputChannel
func (*CreateRelease) ProcessQueueItem ¶
func (c *CreateRelease) ProcessQueueItem(ctx core.ProcessQueueContext) (*uuid.UUID, error)
func (*CreateRelease) Setup ¶
func (c *CreateRelease) Setup(ctx core.SetupContext) error
type CreateReleaseConfiguration ¶
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 DeleteRelease ¶
type DeleteRelease struct{}
func (*DeleteRelease) Cancel ¶
func (c *DeleteRelease) Cancel(ctx core.ExecutionContext) error
func (*DeleteRelease) Cleanup ¶
func (c *DeleteRelease) Cleanup(ctx core.SetupContext) error
func (*DeleteRelease) Color ¶
func (c *DeleteRelease) Color() string
func (*DeleteRelease) Configuration ¶
func (c *DeleteRelease) Configuration() []configuration.Field
func (*DeleteRelease) Description ¶
func (c *DeleteRelease) Description() string
func (*DeleteRelease) Documentation ¶
func (c *DeleteRelease) Documentation() string
func (*DeleteRelease) ExampleOutput ¶
func (c *DeleteRelease) ExampleOutput() map[string]any
func (*DeleteRelease) Execute ¶
func (c *DeleteRelease) Execute(ctx core.ExecutionContext) error
func (*DeleteRelease) HandleHook ¶
func (c *DeleteRelease) HandleHook(ctx core.ActionHookContext) error
func (*DeleteRelease) HandleWebhook ¶
func (c *DeleteRelease) HandleWebhook(ctx core.WebhookRequestContext) (int, *core.WebhookResponseBody, error)
func (*DeleteRelease) Hooks ¶
func (c *DeleteRelease) Hooks() []core.Hook
func (*DeleteRelease) Icon ¶
func (c *DeleteRelease) Icon() string
func (*DeleteRelease) Label ¶
func (c *DeleteRelease) Label() string
func (*DeleteRelease) Name ¶
func (c *DeleteRelease) Name() string
func (*DeleteRelease) OutputChannels ¶
func (c *DeleteRelease) OutputChannels(configuration any) []core.OutputChannel
func (*DeleteRelease) ProcessQueueItem ¶
func (c *DeleteRelease) ProcessQueueItem(ctx core.ProcessQueueContext) (*uuid.UUID, error)
func (*DeleteRelease) Setup ¶
func (c *DeleteRelease) Setup(ctx core.SetupContext) error
type GetRelease ¶
type GetRelease struct{}
func (*GetRelease) Cancel ¶
func (c *GetRelease) Cancel(ctx core.ExecutionContext) error
func (*GetRelease) Cleanup ¶
func (c *GetRelease) Cleanup(ctx core.SetupContext) error
func (*GetRelease) Color ¶
func (c *GetRelease) Color() string
func (*GetRelease) Configuration ¶
func (c *GetRelease) Configuration() []configuration.Field
func (*GetRelease) Description ¶
func (c *GetRelease) Description() string
func (*GetRelease) Documentation ¶
func (c *GetRelease) Documentation() string
func (*GetRelease) ExampleOutput ¶
func (c *GetRelease) ExampleOutput() map[string]any
func (*GetRelease) Execute ¶
func (c *GetRelease) Execute(ctx core.ExecutionContext) error
func (*GetRelease) HandleHook ¶
func (c *GetRelease) HandleHook(ctx core.ActionHookContext) error
func (*GetRelease) HandleWebhook ¶
func (c *GetRelease) HandleWebhook(ctx core.WebhookRequestContext) (int, *core.WebhookResponseBody, error)
func (*GetRelease) Hooks ¶
func (c *GetRelease) Hooks() []core.Hook
func (*GetRelease) Icon ¶
func (c *GetRelease) Icon() string
func (*GetRelease) Label ¶
func (c *GetRelease) Label() string
func (*GetRelease) Name ¶
func (c *GetRelease) Name() string
func (*GetRelease) OutputChannels ¶
func (c *GetRelease) OutputChannels(configuration any) []core.OutputChannel
func (*GetRelease) ProcessQueueItem ¶
func (c *GetRelease) ProcessQueueItem(ctx core.ProcessQueueContext) (*uuid.UUID, error)
func (*GetRelease) Setup ¶
func (c *GetRelease) Setup(ctx core.SetupContext) error
type GetReleaseConfiguration ¶
type OnBranchCreated ¶
type OnBranchCreated struct{}
func (*OnBranchCreated) Cleanup ¶
func (t *OnBranchCreated) Cleanup(ctx core.TriggerContext) error
func (*OnBranchCreated) Color ¶
func (t *OnBranchCreated) Color() string
func (*OnBranchCreated) Configuration ¶
func (t *OnBranchCreated) Configuration() []configuration.Field
func (*OnBranchCreated) Description ¶
func (t *OnBranchCreated) Description() string
func (*OnBranchCreated) Documentation ¶
func (t *OnBranchCreated) Documentation() string
func (*OnBranchCreated) ExampleData ¶
func (t *OnBranchCreated) ExampleData() map[string]any
func (*OnBranchCreated) HandleHook ¶
func (t *OnBranchCreated) HandleHook(ctx core.TriggerHookContext) (map[string]any, error)
func (*OnBranchCreated) HandleWebhook ¶
func (t *OnBranchCreated) HandleWebhook(ctx core.WebhookRequestContext) (int, *core.WebhookResponseBody, error)
func (*OnBranchCreated) Hooks ¶
func (t *OnBranchCreated) Hooks() []core.Hook
func (*OnBranchCreated) Icon ¶
func (t *OnBranchCreated) Icon() string
func (*OnBranchCreated) Label ¶
func (t *OnBranchCreated) Label() string
func (*OnBranchCreated) Name ¶
func (t *OnBranchCreated) Name() string
func (*OnBranchCreated) Setup ¶
func (t *OnBranchCreated) Setup(ctx core.TriggerContext) error
type OnBranchCreatedConfiguration ¶
type OnBranchCreatedConfiguration struct {
Repository string `json:"repository"`
Branches []configuration.Predicate `json:"branches"`
}
type OnPush ¶
type OnPush struct{}
func (*OnPush) Configuration ¶
func (p *OnPush) Configuration() []configuration.Field
func (*OnPush) Description ¶
func (*OnPush) Documentation ¶
func (*OnPush) ExampleData ¶
func (*OnPush) HandleHook ¶
func (*OnPush) HandleWebhook ¶
func (p *OnPush) HandleWebhook(ctx core.WebhookRequestContext) (int, *core.WebhookResponseBody, error)
type OnPushConfiguration ¶
type OnPushConfiguration struct {
Repository string `json:"repository" mapstructure:"repository"`
Refs []configuration.Predicate `json:"refs" mapstructure:"refs"`
}
type OnRelease ¶
type OnRelease struct{}
func (*OnRelease) Configuration ¶
func (r *OnRelease) Configuration() []configuration.Field
func (*OnRelease) Description ¶
func (*OnRelease) Documentation ¶
func (*OnRelease) ExampleData ¶
func (*OnRelease) HandleHook ¶
func (*OnRelease) HandleWebhook ¶
func (r *OnRelease) HandleWebhook(ctx core.WebhookRequestContext) (int, *core.WebhookResponseBody, error)
type OnReleaseConfiguration ¶
type OnTagCreated ¶
type OnTagCreated struct{}
func (*OnTagCreated) Cleanup ¶
func (t *OnTagCreated) Cleanup(ctx core.TriggerContext) error
func (*OnTagCreated) Color ¶
func (t *OnTagCreated) Color() string
func (*OnTagCreated) Configuration ¶
func (t *OnTagCreated) Configuration() []configuration.Field
func (*OnTagCreated) Description ¶
func (t *OnTagCreated) Description() string
func (*OnTagCreated) Documentation ¶
func (t *OnTagCreated) Documentation() string
func (*OnTagCreated) ExampleData ¶
func (t *OnTagCreated) ExampleData() map[string]any
func (*OnTagCreated) HandleHook ¶
func (t *OnTagCreated) HandleHook(ctx core.TriggerHookContext) (map[string]any, error)
func (*OnTagCreated) HandleWebhook ¶
func (t *OnTagCreated) HandleWebhook(ctx core.WebhookRequestContext) (int, *core.WebhookResponseBody, error)
func (*OnTagCreated) Hooks ¶
func (t *OnTagCreated) Hooks() []core.Hook
func (*OnTagCreated) Icon ¶
func (t *OnTagCreated) Icon() string
func (*OnTagCreated) Label ¶
func (t *OnTagCreated) Label() string
func (*OnTagCreated) Name ¶
func (t *OnTagCreated) Name() string
func (*OnTagCreated) Setup ¶
func (t *OnTagCreated) Setup(ctx core.TriggerContext) error
type OnTagCreatedConfiguration ¶
type OnTagCreatedConfiguration struct {
Repository string `json:"repository"`
Tags []configuration.Predicate `json:"tags"`
}
type UpdateRelease ¶
type UpdateRelease struct{}
func (*UpdateRelease) Cancel ¶
func (c *UpdateRelease) Cancel(ctx core.ExecutionContext) error
func (*UpdateRelease) Cleanup ¶
func (c *UpdateRelease) Cleanup(ctx core.SetupContext) error
func (*UpdateRelease) Color ¶
func (c *UpdateRelease) Color() string
func (*UpdateRelease) Configuration ¶
func (c *UpdateRelease) Configuration() []configuration.Field
func (*UpdateRelease) Description ¶
func (c *UpdateRelease) Description() string
func (*UpdateRelease) Documentation ¶
func (c *UpdateRelease) Documentation() string
func (*UpdateRelease) ExampleOutput ¶
func (c *UpdateRelease) ExampleOutput() map[string]any
func (*UpdateRelease) Execute ¶
func (c *UpdateRelease) Execute(ctx core.ExecutionContext) error
func (*UpdateRelease) HandleHook ¶
func (c *UpdateRelease) HandleHook(ctx core.ActionHookContext) error
func (*UpdateRelease) HandleWebhook ¶
func (c *UpdateRelease) HandleWebhook(ctx core.WebhookRequestContext) (int, *core.WebhookResponseBody, error)
func (*UpdateRelease) Hooks ¶
func (c *UpdateRelease) Hooks() []core.Hook
func (*UpdateRelease) Icon ¶
func (c *UpdateRelease) Icon() string
func (*UpdateRelease) Label ¶
func (c *UpdateRelease) Label() string
func (*UpdateRelease) Name ¶
func (c *UpdateRelease) Name() string
func (*UpdateRelease) OutputChannels ¶
func (c *UpdateRelease) OutputChannels(configuration any) []core.OutputChannel
func (*UpdateRelease) ProcessQueueItem ¶
func (c *UpdateRelease) ProcessQueueItem(ctx core.ProcessQueueContext) (*uuid.UUID, error)
func (*UpdateRelease) Setup ¶
func (c *UpdateRelease) Setup(ctx core.SetupContext) error
type UpdateReleaseConfiguration ¶
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"`
}
Click to show internal directories.
Click to hide internal directories.