runs

package
v1.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 27, 2026 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

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 (*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 AppMetadata struct {
	ID   string `json:"id" mapstructure:"id"`
	Name string `json:"name" mapstructure:"name"`
}

type CanvasNodeMetadata

type CanvasNodeMetadata struct {
	ID   string `json:"id" mapstructure:"id"`
	Name string `json:"name" mapstructure:"name"`
}

type RunApp

type RunApp struct{}

func (*RunApp) Cancel

func (c *RunApp) Cancel(ctx core.ExecutionContext) error

func (*RunApp) Cleanup

func (c *RunApp) Cleanup(ctx core.SetupContext) error

func (*RunApp) Color

func (c *RunApp) Color() string

func (*RunApp) Configuration

func (c *RunApp) Configuration() []configuration.Field

func (*RunApp) Description

func (c *RunApp) Description() string

func (*RunApp) Documentation

func (c *RunApp) Documentation() string

func (*RunApp) ExampleOutput

func (c *RunApp) ExampleOutput() map[string]any

func (*RunApp) Execute

func (c *RunApp) Execute(ctx core.ExecutionContext) error

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) Hooks

func (c *RunApp) Hooks() []core.Hook

func (*RunApp) Icon

func (c *RunApp) Icon() string

func (*RunApp) Label

func (c *RunApp) Label() string

func (*RunApp) Name

func (c *RunApp) Name() string

func (*RunApp) OutputChannels

func (c *RunApp) OutputChannels(configuration any) []core.OutputChannel

func (*RunApp) Setup

func (c *RunApp) Setup(ctx core.SetupContext) error

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

type RunMetadata struct {
	ID     string  `json:"id" mapstructure:"id"`
	Result string  `json:"result" mapstructure:"result"`
	Error  *string `json:"error,omitempty" mapstructure:"error,omitempty"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL