Documentation
¶
Index ¶
- Constants
- type AddRunError
- func (c *AddRunError) Cancel(ctx core.ExecutionContext) error
- func (c *AddRunError) Cleanup(ctx core.SetupContext) error
- func (c *AddRunError) Color() string
- func (c *AddRunError) Configuration() []configuration.Field
- func (c *AddRunError) Description() string
- func (c *AddRunError) Documentation() string
- func (c *AddRunError) ExampleOutput() map[string]any
- func (c *AddRunError) Execute(ctx core.ExecutionContext) error
- func (c *AddRunError) HandleHook(ctx core.ActionHookContext) error
- func (c *AddRunError) HandleWebhook(ctx core.WebhookRequestContext) (int, *core.WebhookResponseBody, error)
- func (c *AddRunError) Hooks() []core.Hook
- func (c *AddRunError) Icon() string
- func (c *AddRunError) Label() string
- func (c *AddRunError) Name() string
- func (c *AddRunError) OutputChannels(configuration any) []core.OutputChannel
- func (c *AddRunError) Setup(ctx core.SetupContext) error
- type AppMetadata
- type CanvasNodeMetadata
- type RunApp
- func (c *RunApp) Cancel(ctx core.ExecutionContext) error
- func (c *RunApp) Cleanup(ctx core.SetupContext) error
- func (c *RunApp) Color() string
- func (c *RunApp) Configuration() []configuration.Field
- func (c *RunApp) Description() string
- func (c *RunApp) Documentation() string
- func (c *RunApp) ExampleOutput() map[string]any
- func (c *RunApp) Execute(ctx core.ExecutionContext) error
- func (c *RunApp) HandleHook(ctx core.ActionHookContext) error
- func (c *RunApp) HandleWebhook(ctx core.WebhookRequestContext) (int, *core.WebhookResponseBody, error)
- func (c *RunApp) Hooks() []core.Hook
- func (c *RunApp) Icon() string
- func (c *RunApp) Label() string
- func (c *RunApp) Name() string
- func (c *RunApp) OutputChannels(configuration any) []core.OutputChannel
- func (c *RunApp) Setup(ctx core.SetupContext) error
- type RunAppConfiguration
- type RunAppMetadata
- type RunMetadata
Constants ¶
View Source
const ( RunAppPassedOutputChannel = "passed" RunAppFailedOutputChannel = "failed" RunAppActionRunTimeout = "onRunTimeout" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AddRunError ¶
type AddRunError struct{}
func (*AddRunError) Cancel ¶
func (c *AddRunError) Cancel(ctx core.ExecutionContext) error
func (*AddRunError) Cleanup ¶
func (c *AddRunError) Cleanup(ctx core.SetupContext) error
func (*AddRunError) Color ¶
func (c *AddRunError) Color() string
func (*AddRunError) Configuration ¶
func (c *AddRunError) Configuration() []configuration.Field
func (*AddRunError) Description ¶
func (c *AddRunError) Description() string
func (*AddRunError) Documentation ¶
func (c *AddRunError) Documentation() string
func (*AddRunError) ExampleOutput ¶
func (c *AddRunError) ExampleOutput() map[string]any
func (*AddRunError) Execute ¶
func (c *AddRunError) Execute(ctx core.ExecutionContext) error
func (*AddRunError) HandleHook ¶
func (c *AddRunError) HandleHook(ctx core.ActionHookContext) error
func (*AddRunError) HandleWebhook ¶
func (c *AddRunError) HandleWebhook(ctx core.WebhookRequestContext) (int, *core.WebhookResponseBody, error)
func (*AddRunError) Hooks ¶
func (c *AddRunError) Hooks() []core.Hook
func (*AddRunError) Icon ¶
func (c *AddRunError) Icon() string
func (*AddRunError) Label ¶
func (c *AddRunError) Label() string
func (*AddRunError) Name ¶
func (c *AddRunError) Name() string
func (*AddRunError) OutputChannels ¶
func (c *AddRunError) OutputChannels(configuration any) []core.OutputChannel
func (*AddRunError) Setup ¶
func (c *AddRunError) Setup(ctx core.SetupContext) error
type AppMetadata ¶
type CanvasNodeMetadata ¶
type RunApp ¶
type RunApp struct{}
func (*RunApp) Configuration ¶
func (c *RunApp) Configuration() []configuration.Field
func (*RunApp) Description ¶
func (*RunApp) Documentation ¶
func (*RunApp) ExampleOutput ¶
func (*RunApp) HandleHook ¶
func (c *RunApp) HandleHook(ctx core.ActionHookContext) error
func (*RunApp) HandleWebhook ¶
func (c *RunApp) HandleWebhook(ctx core.WebhookRequestContext) (int, *core.WebhookResponseBody, error)
func (*RunApp) OutputChannels ¶
func (c *RunApp) OutputChannels(configuration any) []core.OutputChannel
type RunAppConfiguration ¶
type RunAppConfiguration struct {
App string `json:"app" mapstructure:"app"`
Node string `json:"node" mapstructure:"node"`
Parameters map[string]any `json:"parameters" mapstructure:"parameters"`
Timeout *int `json:"timeout,omitempty" mapstructure:"timeout,omitempty"`
}
func (*RunAppConfiguration) TimeoutDuration ¶
func (c *RunAppConfiguration) TimeoutDuration() time.Duration
type RunAppMetadata ¶
type RunAppMetadata struct {
App *AppMetadata `json:"app" mapstructure:"app"`
Node *CanvasNodeMetadata `json:"node" mapstructure:"node"`
}
type RunMetadata ¶
Click to show internal directories.
Click to hide internal directories.